Borderou de evaluare (job #1927305)

Utilizator rares96cheseliRares Cheseli rares96cheseli Data 15 martie 2017 00:35:29
Problema Drumuri1 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:19:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d%d%d%d", &N, &M, &K, &L); ^ user.cpp:19:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:19:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:19:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=] user.cpp:21:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d%d", &x, &y); ^ user.cpp:21:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:17:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("drumuri1.in", "r", stdin); ^ user.cpp:18:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("drumuri1.out", "w", stdout); ^ user.cpp:19:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d", &N, &M, &K, &L); ^ user.cpp:21: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
10ms2248kbIncorect0
24ms5524kbIncorect0
34ms5528kbIncorect0
44ms5524kbIncorect0
54ms5528kbIncorect0
68ms5528kbIncorect0
74ms3696kbIncorect0
84ms4116kbIncorect0
94ms5036kbIncorect0
1012ms7764kbIncorect0
1120ms11848kbIncorect0
1244msDepăşitMemory limit exceeded.0
1348msDepăşitMemory limit exceeded.0
148ms5536kbIncorect0
1548msDepăşitMemory limit exceeded.0
1648msDepăşitMemory limit exceeded.0
1748msDepăşitMemory limit exceeded.0
1848msDepăşitMemory limit exceeded.0
1948msDepăşitMemory limit exceeded.0
200ms1208kbIncorect0
Punctaj total0

Ceva nu functioneaza?