Borderou de evaluare (job #2393788)

Utilizator mihneacazCazacu Mihnea mihneacaz Data 1 aprilie 2019 01:11:38
Problema Petrick Status done
Runda Arhiva ICPC Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:586:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("petrick.in","r",stdin); ^ main.cpp:587:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("petrick.out","w",stdout); ^ main.cpp:589:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ main.cpp:593:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s",piece); ^ main.cpp:594:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s",colour); ^ main.cpp:595:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d ",&l,&c); ^ main.cpp: In function 'void movekingb(int, int)': main.cpp:233:29: warning: iteration 8 invokes undefined behavior [-Waggressive-loop-optimizations] int newl=l+diking[k1]; ~~~~~~~~~^ main.cpp:231:21: note: within this loop for(int k1=0; k1<=8; ++k1) ~~^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbOK2100
22ms131kbOK2
33ms131kbOK2
42ms131kbOK2
53ms131kbOK2
62ms131kbOK2
73ms131kbOK2
83ms131kbOK2
92ms131kbOK2
102ms131kbOK2
113ms131kbOK2
122ms131kbOK2
132ms131kbOK2
142ms131kbOK2
152ms131kbOK2
162ms131kbOK2
172ms131kbOK2
182ms131kbOK2
192ms131kbOK2
202ms131kbOK2
212ms131kbOK2
222ms131kbOK2
232ms131kbOK2
242ms131kbOK2
252ms131kbOK2
262ms131kbOK2
272ms131kbOK2
282ms131kbOK2
292ms131kbOK2
302ms131kbOK2
312ms131kbOK2
322ms131kbOK2
332ms131kbOK2
342ms131kbOK2
352ms131kbOK2
362ms131kbOK2
372ms131kbOK2
382ms131kbOK2
392ms131kbOK2
402ms131kbOK2
412ms131kbOK2
422ms131kbOK2
432ms131kbOK2
442ms131kbOK2
452ms131kbOK2
462ms131kbOK2
473ms131kbOK2
483ms131kbOK2
492ms131kbOK2
502ms131kbOK2
Punctaj total100

Ceva nu functioneaza?