0_0_22140116_17945.cpp: In function 'void init()':
0_0_22140116_17945.cpp:15:32: error: 'memset' was not declared in this scope
memset(father,0,sizeof(father));
^
0_0_22140116_17945.cpp: In function 'bool input()':
0_0_22140116_17945.cpp:19:8: error: 'cin' was not declared in this scope
while(cin>>n>>m>>w) {
^
0_0_22140116_17945.cpp:27:33: error: 'log' was not declared in this scope
else mp[i][j] = log(mp[i][j]);
^
0_0_22140116_17945.cpp:34:33: error: 'log' was not declared in this scope
else pp[i][j] = log(pp[i][j]);
^
0_0_22140116_17945.cpp: In function 'void dfs(int, int)':
0_0_22140116_17945.cpp:43:3: error: 'cout' was not declared in this scope
cout<<pos;
^
0_0_22140116_17945.cpp:47:2: error: 'cout' was not declared in this scope
cout<<" "<<pos;
^
0_0_22140116_17945.cpp: In function 'void cal()':
0_0_22140116_17945.cpp:81:9: error: 'puts' was not declared in this scope
puts("");
^
0_0_22140116_17945.cpp: In function 'int main()':
0_0_22140116_17945.cpp:90:2: error: 'cin' was not declared in this scope
cin>>t;
^
|