Borderou de evaluare (job #2183979)

Utilizator rares404AlShaytan - Balasescu Rares rares404 Data 23 martie 2018 17:11:04
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
10ms936kbCorect2
20ms880kbRapuns gresit0
30ms808kbRapuns gresit0
40ms864kbRapuns gresit0
50ms864kbRapuns gresit0
60ms756kbRapuns gresit0
70ms860kbRapuns gresit0
80ms876kbRapuns gresit0
94ms800kbRapuns gresit0
1012ms860kbRapuns gresit0
1168ms872kbRapuns gresit0
12312ms756kbRapuns gresit0
13844ms868kbRapuns gresit0
14Depăşit872kbTime limit exceeded.0
15Depăşit800kbTime limit exceeded.0
16Depăşit860kbTime limit exceeded.0
17Depăşit804kbTime limit exceeded.0
18Depăşit936kbTime limit exceeded.0
19Depăşit756kbTime limit exceeded.0
20Depăşit860kbTime limit exceeded.0
Punctaj total2

Ceva nu functioneaza?