0_0_39528010_17860.cpp: In function 'void init_arr()':
0_0_39528010_17860.cpp:43:82: error: expected primary-expression before '=' token
43 | w[i] = wt[i] = id[i] = sz[i] = fa[i] = dep[i] = son[i] = top[i] = e[i] = = ne[i] = h1[i] = 0;
| ^
0_0_39528010_17860.cpp:43:98: error: incompatible types in assignment of 'int' to 'int [25]'
43 | w[i] = wt[i] = id[i] = sz[i] = fa[i] = dep[i] = son[i] = top[i] = e[i] = = ne[i] = h1[i] = 0;
| ~~~~~~^~~
0_0_39528010_17860.cpp: In function 'int main()':
0_0_39528010_17860.cpp:243:30: error: reference to 'cin' is ambiguous
243 | ios::sync_with_stdio(0), cin.tie(0), outfile.tie(0);
| ^~~
In file included from 0_0_39528010_17860.cpp:1:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/iostream:62:18: note: candidates are: 'std::istream std::cin'
62 | extern istream cin; ///< Linked to standard input
| ^~~
0_0_39528010_17860.cpp:12:10: note: 'std::ifstream cin'
12 | ifstream cin("1004.in");
| ^~~
0_0_39528010_17860.cpp:245:5: error: reference to 'cin' is ambiguous
245 | cin >> tt;
| ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/iostream:62:18: note: candidates are: 'std::istream std::cin'
62 | extern istream cin; ///< Linked to standard input
| ^~~
0_0_39528010_17860.cpp:12:10: note: 'std::ifstream cin'
12 | ifstream cin("1004.in");
| ^~~
0_0_39528010_17860.cpp:248:9: error: reference to 'cin' is ambiguous
248 | cin >> n;
| ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/iostream:62:18: note: candidates are: 'std::istream std::cin'
62 | extern istream cin; ///< Linked to standard input
| ^~~
0_0_39528010_17860.cpp:12:10: note: 'std::ifstream cin'
12 | ifstream cin("1004.in");
| ^~~
0_0_39528010_17860.cpp:251:13: error: reference to 'cin' is ambiguous
251 | cin >> u >> v;
| ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/iostream:62:18: note: candidates are: 'std::istream std::cin'
62 | extern istream cin; ///< Linked to standard input
| ^~~
0_0_39528010_17860.cpp:12:10: note: 'std::ifstream cin'
12 | ifstream cin("1004.in");
| ^~~
0_0_39528010_17860.cpp:257:9: error: reference to 'cin' is ambiguous
257 | cin >> qq;
| ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/iostream:62:18: note: candidates are: 'std::istream std::cin'
62 | extern istream cin; ///< Linked to standard input
| ^~~
0_0_39528010_17860.cpp:12:10: note: 'std::ifstream cin'
12 | ifstream cin("1004.in");
| ^~~
0_0_39528010_17860.cpp:260:13: error: reference to 'cin' is ambiguous
260 | cin >> r >> x;
| ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/iostream:62:18: note: candidates are: 'std::istream std::cin'
62 | extern istream cin; ///< Linked to standard input
| ^~~
0_0_39528010_17860.cpp:12:10: note: 'std::ifstream cin'
12 | ifstream cin("1004.in");
| ^~~
|