Borderou de evaluare (job #325421)

Utilizator DraStiKDragos Oprica DraStiK Data 20 iunie 2009 15:18:12
Problema Borcane Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:76:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if (nrb==2) ^ user.cpp: In function ‘void read()’: user.cpp:8:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%hd",&n); ^ user.cpp:11:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%hd",&a[i]); ^ user.cpp: In function ‘int main()’: user.cpp:72:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("borcane.in","r",stdin); ^ user.cpp:73:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("borcane.out","w",stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms276kbOK!10
20ms272kbOK!10
30ms276kbOK!10
40ms280kbRaman mai multe borcane nevide0
50ms276kbOK!10
60ms272kbOK!10
78ms272kbOK!10
88ms280kbRaman mai multe borcane nevide0
924ms272kbRaman mai multe borcane nevide0
100ms276kbOK!10
Punctaj total70

Ceva nu functioneaza?