Borderou de evaluare (job #325442)

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

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:90:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if (nrb>1) ^ 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:86: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:87: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
10ms264kbRaman mai multe borcane nevide0
20ms244kbRaman mai multe borcane nevide0
30ms240kbRaman mai multe borcane nevide0
40ms268kbRaman mai multe borcane nevide0
50ms264kbOK!10
64ms260kbOK!10
78ms260kbOK!10
812ms268kbRaman mai multe borcane nevide0
928ms260kbRaman mai multe borcane nevide0
100ms260kbOK!10
Punctaj total40

Ceva nu functioneaza?