Borderou de evaluare (job #2232931)

Utilizator MelacasKorian Ebraahim Melacas Data 21 august 2018 17:40:43
Problema Retea2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:28:32: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%ld %ld\n",&a,&b); ^ user.cpp:28:32: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:37:32: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%ld %ld\n",&a,&b); ^ user.cpp:37:32: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:14:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("retea2.in","r",stdin); ^ user.cpp:15:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("retea2.out","w",stdout); ^ user.cpp:19:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n",&n,&m); ^ user.cpp:28:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld %ld\n",&a,&b); ^ user.cpp:37:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld %ld\n",&a,&b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms800kbRaspuns gresit00
20ms800kbOK5
30ms932kbRaspuns gresit0
40ms880kbRaspuns gresit0
5212ms756kbRaspuns gresit00
6236ms812kbRaspuns gresit00
7276ms756kbRaspuns gresit00
8228ms880kbRaspuns gresit00
9268ms756kbRaspuns gresit00
10292ms756kbRaspuns gresit00
11Depăşit876kbTime limit exceeded.00
12Depăşit876kbTime limit exceeded.00
13Depăşit872kbTime limit exceeded.00
14Depăşit864kbTime limit exceeded.00
15Depăşit804kbTime limit exceeded.00
16Depăşit804kbTime limit exceeded.00
17Depăşit932kbTime limit exceeded.00
18Depăşit868kbTime limit exceeded.00
19Depăşit804kbTime limit exceeded.00
20Depăşit860kbTime limit exceeded.00
Punctaj total0

Ceva nu functioneaza?