Problem colour
User bobthebill1
Submission Time 2023-01-23 14:11:24
Score 0
Max Time N/A
Max Memory N/A

Compile Error

colour.cpp:115:5: error: redefinition of ‘long long int N’
115 | int N;
| ^
colour.cpp:40:5: note: ‘long long int N’ previously declared here
40 | int N;
| ^
colour.cpp:116:15: error: redefinition of ‘std::map<long long int, long long int> sm’
116 | map<int, int> sm, em;
| ^~
colour.cpp:42:15: note: ‘std::map<long long int, long long int> sm’ previously declared here
42 | map<int, int> sm, em;
| ^~
colour.cpp:116:19: error: redefinition of ‘std::map<long long int, long long int> em’
116 | map<int, int> sm, em;
| ^~
colour.cpp:42:19: note: ‘std::map<long long int, long long int> em’ previously declared here
42 | map<int, int> sm, em;
| ^~
colour.cpp:117:10: error: redefinition of ‘std::set<long long int> s’
117 | set<int> s, e;
| ^