Borderou de evaluare (job #1335807)

Utilizator RathebaSerbanescu Andrei Victor Ratheba Data 5 februarie 2015 21:45:27
Problema Alge Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:30:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d%d", &n, &m); ^ user.cpp:30:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:27:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("alge.in", "r", stdin); ^ user.cpp:28:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("alge.out", "w", stdout); ^ user.cpp:30:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^ user.cpp:33:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &x, &y, &z); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms232kbRaspuns Gresit00
20ms240kbRaspuns Gresit0
30ms236kbRaspuns Gresit00
40ms244kbRaspuns Gresit0
50ms248kbRaspuns Gresit00
60ms252kbRaspuns Gresit0
70ms256kbRaspuns Gresit00
80ms260kbRaspuns Gresit00
90ms260kbRaspuns Gresit0
100ms264kbRaspuns Gresit0
Punctaj total0

Ceva nu functioneaza?