olympiads.cpp:136:2: error: stray '#' in program
}#include<bits/stdc++.h>
^
olympiads.cpp: In function 'void rec3(int, int, bool)':
olympiads.cpp:69:13: warning: unused variable 'ans' [-Wunused-variable]
int ans = 0;
^~~
olympiads.cpp: At global scope:
olympiads.cpp:136:3: error: 'include' does not name a type
}#include<bits/stdc++.h>
^~~~~~~
olympiads.cpp:153:5: error: redefinition of 'int N'
int N,K,C;
^
olympiads.cpp:18:5: note: 'int N' previously declared here
int N,K,C;
^
olympiads.cpp:153:7: error: redefinition of 'int K'
int N,K,C;
^
olympiads.cpp:18:7: note: 'int K' previously declared here
int N,K,C;
^
olympiads.cpp:153:9: error: redefinition of 'int C'
int N,K,C;
^
olympiads.cpp:18:9: note: 'int C' previously declared here
int N,K,C;
^
olympiads.cpp:154:16: error: redefinition of 'int mem [510][10]'
int mem[510][10];
^
olympiads.cpp:19:5: note: 'int mem [510][10]' previously declared here
int mem[510][10];
^~~
olympiads.cpp:155:4: error: redefinition of 'vi cur'
vi cur;
^~~
olympiads.cpp:20:4: note: 'vi cur' previously declared here
vi cur;
^~~
olympiads.cpp:157:9: error: redefinition of 'std::set<std::pair<int, int> > st'
set<pi> st;
^~
olympiads.cpp:22:9: note: 'std::set<std::pair<int, int> > st' previously declared here
set<pi> st;
^~
olympiads.cpp:158:4: error: redefinition of 'vi out'
vi out;
^~~
olympiads.cpp:23:4: note: 'vi out' previously declared here
vi out;
^~~
olympiads.cpp:159:5: error: redefinition of 'int cntr'
int cntr;
^~~~
olympiads.cpp:24:5: note: 'int cntr' previously declared here
int cntr;
^~~~
olympiads.cpp:160:18: error: redefinition of 'int lefts [2010][4]'
int lefts[2010][4];
^
olympiads.cpp:25:5: note: 'int lefts [2010][4]' previously declared here
int lefts[2010][4];
^~~~~
olympiads.cpp:161:19: error: redefinition of 'int rights [2010][4]'
int rights[2010][4];
^
olympiads.cpp:26:5: note: 'int rights [2010][4]' previously declared here
int rights[2010][4];
^~~~~~
olympiads.cpp:162:18: error: redefinition of 'std::bitset<21000000> safe'
bitset<21000000> safe;
^~~~
olympiads.cpp:27:18: note: 'std::bitset<21000000> safe' previously defined here
bitset<21000000> safe;
^~~~
olympiads.cpp:163:5: error: redefinition of 'int ind'
int ind;
^~~
olympiads.cpp:28:5: note: 'int ind' previously declared here
int ind;
^~~
olympiads.cpp:164:13: error: redefinition of 'std::map<long long int, int> M'
map<ll,int> M;
^
olympiads.cpp:29:13: note: 'std::map<long long int, int> M' previously declared here
map<ll,int> M;
^
olympiads.cpp: In function 'll hh()':
olympiads.cpp:166:4: error: redefinition of 'll hh()'
ll hh(){
^~
olympiads.cpp:31:4: note: 'll hh()' previously defined here
ll hh(){
^~
olympiads.cpp: In function 'void rec2(int, int)':
olympiads.cpp:176:6: error: redefinition of 'void rec2(int, int)'
void rec2(int stt, int en){
^~~~
olympiads.cpp:41:6: note: 'void rec2(int, int)' previously defined here
void rec2(int stt, int en){
^~~~
olympiads.cpp: In function 'void rec3(int, int, bool)':
olympiads.cpp:199:6: error: redefinition of 'void rec3(int, int, bool)'
void rec3(int stt, int en, bool flag){
^~~~
olympiads.cpp:64:6: note: 'void rec3(int, int, bool)' previously defined here
void rec3(int stt, int en, bool flag){
^~~~
olympiads.cpp:204:13: warning: unused variable 'ans' [-Wunused-variable]
int ans = 0;
^~~
olympiads.cpp: In function 'int main()':
olympiads.cpp:222:5: error: redefinition of 'int main()'
int main(){
^~~~
olympiads.cpp:87:5: note: 'int main()' previously defined here
int main(){
^~~~