Borderou de evaluare (job #2169183)

Utilizator AlexVulpoiuAlexandru Vulpoiu AlexVulpoiu Data 14 martie 2018 13:55:07
Problema 2sah Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 44

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:9:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&c); ^ user.cpp:10:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d",&n,&k); ^ user.cpp:10:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:24:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n",c); ^ user.cpp:49:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n",s); ^ user.cpp:7:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("2sah.in","r",stdin); ^ user.cpp:8:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("2sah.out","w",stdout); ^ user.cpp:9:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&c); ^ user.cpp:10:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&k); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1428kbCorect!2
20ms1356kbCorect!2
30ms1420kbCorect!2
40ms1432kbCorect!2
50ms1420kbCorect!2
60ms1340kbCorect!2
70ms1428kbCorect!2
80ms1420kbCorect!2
90ms1344kbCorect!2
100ms3392kbCorect!8
114ms3408kbCorect!8
128ms3508kbCorect!8
13Depăşit3192kbTime limit exceeded.0
14Depăşit3180kbTime limit exceeded.0
15Depăşit3288kbTime limit exceeded.0
16Depăşit3296kbTime limit exceeded.0
17Depăşit3312kbTime limit exceeded.0
18Depăşit3280kbTime limit exceeded.0
19Depăşit3216kbTime limit exceeded.0
200ms1348kbCorect!2
Punctaj total44

Ceva nu functioneaza?