0_0_27961769_21705.cpp: In function 'void dfs2(int, int, int)':
0_0_27961769_21705.cpp:53:5: error: reference to 'cin' is ambiguous
cin[u]=dfs_t;
^
0_0_27961769_21705.cpp:14:15: note: candidates are: int cin [100020]
int pre[Maxn],cin[Maxn],rev[Maxn],dfs_t;
^
In file included from 0_0_27961769_21705.cpp:1:0:
GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:60:18: note: std::istream std::cin
extern istream cin; /// Linked to standard input
^
0_0_27961769_21705.cpp: In function 'void modify(int, int)':
0_0_27961769_21705.cpp:158:29: error: reference to 'cin' is ambiguous
int t1=query(pre[u],cin[u],1,n,1,suma);
^
0_0_27961769_21705.cpp:14:15: note: candidates are: int cin [100020]
int pre[Maxn],cin[Maxn],rev[Maxn],dfs_t;
^
In file included from 0_0_27961769_21705.cpp:1:0:
GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:60:18: note: std::istream std::cin
extern istream cin; /// Linked to standard input
^
0_0_27961769_21705.cpp: In function 'int ask(int, int)':
0_0_27961769_21705.cpp:178:25: error: reference to 'cin' is ambiguous
int ta=query(pre[v],cin[v],1,n,1,suma);
^
0_0_27961769_21705.cpp:14:15: note: candidates are: int cin [100020]
int pre[Maxn],cin[Maxn],rev[Maxn],dfs_t;
^
In file included from 0_0_27961769_21705.cpp:1:0:
GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:60:18: note: std::istream std::cin
extern istream cin; /// Linked to standard input
^
|