Borderou de evaluare (job #1300796)

Utilizator thinkphpAdrian Statescu thinkphp Data 24 decembrie 2014 23:07:58
Problema Potrivirea sirurilor Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void writeData()’: user.cpp:95:26: error: expected ‘;’ before ‘)’ token for(int i = 0; i < n); i++) { ^ user.cpp:95:29: error: ‘i’ was not declared in this scope for(int i = 0; i < n); i++) { ^ user.cpp:95:32: error: expected ‘;’ before ‘)’ token for(int i = 0; i < n); i++) { ^ user.cpp: In function ‘void readData()’: user.cpp:76:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen(FIN, "r", stdin); ^ user.cpp:78:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s %s", A + 1, B + 1); ^ user.cpp: In function ‘void writeData()’: user.cpp:89:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen(FOUT, "w", stdout); ^

Ceva nu functioneaza?