Borderou de evaluare (job #1842692)

Utilizator giotoPopescu Ioan gioto Data 7 ianuarie 2017 14:17:46
Problema Obmax Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:38:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d", &a[i][j]); ^ user.cpp:33:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("obmax.in", "r", stdin); ^ user.cpp:34:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("obmax.out", "w", stdout); ^ user.cpp:35: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:38:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &a[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms264kbRaspuns gresit00
20ms260kbOK10
30ms264kbRaspuns gresit0
40ms264kbOK100
50ms264kbRaspuns gresit0
60ms264kbOK10
70ms260kbRaspuns gresit0
80ms264kbOK1030
90ms264kbOK10
100ms268kbOK10
Punctaj total30

Ceva nu functioneaza?