Borderou de evaluare (job #2183974)

Utilizator rares404AlShaytan - Balasescu Rares rares404 Data 23 martie 2018 17:07:54
Problema Cufar Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 2

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:22:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cufar.in","r",stdin) ; ^ user.cpp:23:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cufar.out","w",stdout) ; ^ user.cpp:25:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d" ,&p ,&n) ; ^ user.cpp:27:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d" ,&a ,&k) ; ^ user.cpp: In function ‘void ciur()’: user.cpp:12:16: warning: iteration 4998 invokes undefined behavior [-Waggressive-loop-optimizations] if (b[i] == 0){ ~~~^ user.cpp:11:20: note: within this loop for (i = 2 ; i <= NMAX ; ++ i){ ~~^~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms752kbCorect2
20ms752kbRapuns gresit0
30ms932kbRapuns gresit0
40ms864kbRapuns gresit0
50ms812kbRapuns gresit0
60ms756kbRapuns gresit0
70ms864kbRapuns gresit0
80ms864kbRapuns gresit0
94ms752kbRapuns gresit0
1012ms868kbRapuns gresit0
1168ms816kbRapuns gresit0
12312ms804kbRapuns gresit0
13840ms812kbRapuns gresit0
14Depăşit876kbTime limit exceeded.0
15Depăşit876kbTime limit exceeded.0
16Depăşit752kbTime limit exceeded.0
17Depăşit808kbTime limit exceeded.0
18Depăşit872kbTime limit exceeded.0
19Depăşit796kbTime limit exceeded.0
20Depăşit752kbTime limit exceeded.0
Punctaj total2

Ceva nu functioneaza?