Borderou de evaluare (job #692360)

Utilizator avatar CalinHangu HanguCalin CalinHangu IP ascuns
Problemă 2i3j5k (clasele 9-10) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 2 feb. 2023 19:24:15 Scor 0

Raport evaluator

Eroare de compilare: main.cpp:96:5: error: redefinition of 'int main()' 96 | int main() { | ^~~~ main.cpp:9:5: note: 'int main()' previously defined here 9 | int main() { | ^~~~ main.cpp:144:5: error: redefinition of 'int main()' 144 | int main() { | ^~~~ main.cpp:9:5: note: 'int main()' previously defined here 9 | int main() { | ^~~~ main.cpp:189:7: error: redefinition of 'FILE* fin' 189 | FILE *fin, *fout; | ^~~ main.cpp:69:7: note: 'FILE* fin' previously declared here 69 | FILE *fin, *fout; | ^~~ main.cpp:189:13: error: redefinition of 'FILE* fout' 189 | FILE *fin, *fout; | ^~~~ main.cpp:69:13: note: 'FILE* fout' previously declared here 69 | FILE *fin, *fout; | ^~~~ main.cpp:191:5: error: redefinition of 'int rpos' 191 | int rpos; char rbuf[BUFSIZE]; | ^~~~ main.cpp:70:5: note: 'int rpos' previously declared here 70 | int rpos; char rbuf[BUFSIZE]; | ^~~~ main.cpp:191:16: error: redefinition of 'char rbuf [131072]' 191 | int rpos; char rbuf[BUFSIZE]; | ^~~~ main.cpp:70:16: note: 'char rbuf [131072]' previously declared here 70 | int rpos; char rbuf[BUFSIZE]; | ^~~~ main.cpp:194:20: error: redefinition of 'void initRead()' 194 | static inline void initRead() { | ^~~~~~~~ main.cpp:73:20: note: 'void initRead()' previously defined here 73 | static inline void initRead() { | ^~~~~~~~ main.cpp:199:20: error: redefinition of 'char readChar()' 199 | static inline char readChar() { | ^~~~~~~~ main.cpp:78:20: note: 'char readChar()' previously defined here 78 | static inline char readChar() { | ^~~~~~~~ main.cpp:206:5: error: redefinition of 'int readInt()' 206 | int readInt() {