Borderou de evaluare (job #1842662)

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

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:36:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d", &a[i][j]); ^ user.cpp:31: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:32: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:33: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:36: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
20ms264kbRaspuns gresit0
30ms260kbRaspuns gresit0
40ms264kbRaspuns gresit00
50ms264kbRaspuns gresit0
60ms264kbRaspuns gresit0
70ms260kbRaspuns gresit0
80ms264kbOK100
90ms260kbOK10
100ms264kbRaspuns gresit0
Punctaj total0

Ceva nu functioneaza?