Borderou de evaluare (job #1217203)

Utilizator radudurlesteanuDurlesteanu Radu Stefan radudurlesteanu Data 6 august 2014 21:15:31
Problema Pietre Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:9:1: error: expected ‘;’ before ‘for’ for (;t>0;t--) ^ user.cpp:9:8: warning: statement has no effect [-Wunused-value] for (;t>0;t--) ^ user.cpp:9:14: error: expected ‘;’ before ‘)’ token for (;t>0;t--) ^ user.cpp:6:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("pietre.in","r",stdin); ^ user.cpp:7:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("pietre.out","w",stdout); ^ user.cpp:9:6: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for (;t>0;t--) ^

Ceva nu functioneaza?