Borderou de evaluare (job #2722608)

Utilizator darkeagleDaniel Popescu darkeagle Data 13 martie 2021 01:10:09
Problema Loto Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:49:5: error: redeclaration of 'int ok' int ok = 0; ^~ main.cpp:36:5: note: 'int ok' previously declared here int ok = 1; ^~ main.cpp:27:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("loto.in", "r", stdin); ^ main.cpp:28:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("loto.out", "w", stdout); ^ Non zero exit status: 1

Ceva nu functioneaza?