Borderou de evaluare (job #2259504)

Utilizator DavidDragulinDragulin David DavidDragulin Data 13 octombrie 2018 13:19:39
Problema Sarac Sau Rege Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:20:25: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'short int*' [-Wformat=] scanf("%d%d", &n, &m); ^ main.cpp:20:25: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'short int*' [-Wformat=] main.cpp:22:26: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'short int*' [-Wformat=] scanf("%d", &v[i]); ^ main.cpp:27:29: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'short int*' [-Wformat=] scanf("%d%d", &x, &y); ^ main.cpp:27:29: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'short int*' [-Wformat=] main.cpp:18:43: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("saracsaurege.in", "r", stdin); ^ main.cpp:19:45: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("saracsaurege.out", "w", stdout); ^ main.cpp:20:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^ main.cpp:22:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &v[i]); ^ main.cpp:27:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &x, &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms131kbIncorect0
22ms131kbIncorect0
312ms131kbIncorect0
411ms131kbIncorect0
522ms131kbIncorect0
621ms131kbKilled by Signal 110
713ms131kbIncorect0
811ms131kbIncorect0
913ms131kbIncorect0
1016ms131kbIncorect0
Punctaj total0

Ceva nu functioneaza?