0_0_37849173_23205.cpp: In function 'void solve()':
0_0_37849173_23205.cpp:75:9: error: no matching function for call to 'read()'
n=read();
^
0_0_37849173_23205.cpp:75:9: note: candidate is:
0_0_37849173_23205.cpp:45:35: note: template<class T> void read(T&)
template <typename T> inline void read(T &WOW) {
^
0_0_37849173_23205.cpp:45:35: note: template argument deduction/substitution failed:
0_0_37849173_23205.cpp:75:9: note: candidate expects 1 argument, 0 provided
n=read();
^
0_0_37849173_23205.cpp:76:34: error: no matching function for call to 'read()'
for(int i=1;i<=n;i++) a[i]=read(),pos[a[i]]=i;
^
0_0_37849173_23205.cpp:76:34: note: candidate is:
0_0_37849173_23205.cpp:45:35: note: template<class T> void read(T&)
template <typename T> inline void read(T &WOW) {
^
0_0_37849173_23205.cpp:45:35: note: template argument deduction/substitution failed:
0_0_37849173_23205.cpp:76:34: note: candidate expects 1 argument, 0 provided
for(int i=1;i<=n;i++) a[i]=read(),pos[a[i]]=i;
^
0_0_37849173_23205.cpp: In function 'int main()':
0_0_37849173_23205.cpp:114:9: error: no matching function for call to 'read()'
t=read();
^
0_0_37849173_23205.cpp:114:9: note: candidate is:
0_0_37849173_23205.cpp:45:35: note: template<class T> void read(T&)
template <typename T> inline void read(T &WOW) {
^
0_0_37849173_23205.cpp:45:35: note: template argument deduction/substitution failed:
0_0_37849173_23205.cpp:114:9: note: candidate expects 1 argument, 0 provided
t=read();
^
|