Borderou de evaluare (job #2791978)

Utilizator amcbnCiobanu Andrei Mihai amcbn Data 31 octombrie 2021 16:20:49
Problema Origami Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:48:12: error: redefinition of 'const char sp' 48 | const char sp = ' ', nl = '\n'; | ^~ main.cpp:5:12: note: 'const char sp' previously defined here 5 | const char sp = ' ', nl = '\n'; | ^~ main.cpp:48:22: error: redefinition of 'const char nl' 48 | const char sp = ' ', nl = '\n'; | ^~ main.cpp:5:22: note: 'const char nl' previously defined here 5 | const char sp = ' ', nl = '\n'; | ^~ main.cpp:49:11: error: redefinition of 'const int MOD' 49 | const int MOD = 1999999973; | ^~~ main.cpp:6:11: note: 'const int MOD' previously defined here 6 | const int MOD = 1999999973; | ^~~ main.cpp:50:10: error: redefinition of 'std::ifstream fin' 50 | ifstream fin("origami1.in"); | ^~~ main.cpp:7:10: note: 'std::ifstream fin' previously declared here 7 | ifstream fin("origami1.in"); | ^~~ main.cpp:51:10: error: redefinition of 'std::ofstream fout' 51 | ofstream fout("origami1.out"); | ^~~~ main.cpp:8:10: note: 'std::ofstream fout' previously declared here 8 | ofstream fout("origami1.out"); | ^~~~ main.cpp:53:5: error: redefinition of 'int main()' 53 | int main() { | ^~~~ main.cpp:10:5: note: 'int main()' previously defined here 10 | int main() { | ^~~~ Non zero exit status: 1

Ceva nu functioneaza?