Problem 4russians
User yuhong
Submission Time 2023-12-19 21:45:01
Score 0
Max Time N/A
Max Memory N/A

Compile Error

4russians.cpp: In function ‘void solve()’:
4russians.cpp:16:18: error: request for member ‘begin’ in ‘m’, which is of non-class type ‘long long int’
16 | #define all(x) x.begin(),x.end()
| ^~~~~
4russians.cpp:47:8: note: in expansion of macro ‘all’
47 | sort(all(m));
| ^~~
4russians.cpp:16:28: error: request for member ‘end’ in ‘m’, which is of non-class type ‘long long int’
16 | #define all(x) x.begin(),x.end()
| ^~~
4russians.cpp:47:8: note: in expansion of macro ‘all’
47 | sort(all(m));
| ^~~
4russians.cpp:16:18: error: request for member ‘begin’ in ‘m’, which is of non-class type ‘long long int’
16 | #define all(x) x.begin(),x.end()
| ^~~~~
4russians.cpp:48:11: note: in expansion of macro ‘all’
48 | reverse(all(m));
| ^~~
4russians.cpp:16:28: error: request for member ‘end’ in ‘m’, w