Borderou de evaluare (job #2183966)

Utilizator rares404AlShaytan - Balasescu Rares rares404 Data 23 martie 2018 17:04:31
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
10ms864kbCorect2
20ms932kbRapuns gresit0
30ms808kbRapuns gresit0
40ms816kbRapuns gresit0
50ms872kbRapuns gresit0
60ms876kbRapuns gresit0
70ms792kbRapuns gresit0
80ms872kbRapuns gresit0
94ms792kbRapuns gresit0
1012ms792kbRapuns gresit0
1168ms752kbRapuns gresit0
12312ms876kbRapuns gresit0
13840ms868kbRapuns gresit0
14Depăşit872kbTime limit exceeded.0
15Depăşit804kbTime limit exceeded.0
16Depăşit856kbTime limit exceeded.0
17Depăşit752kbTime limit exceeded.0
18Depăşit800kbTime limit exceeded.0
19Depăşit800kbTime limit exceeded.0
20Depăşit796kbTime limit exceeded.0
Punctaj total2

Ceva nu functioneaza?