Borderou de evaluare (job #726973)

Utilizator lianaliana tucar liana Data 27 martie 2012 17:43:59
Problema Shift Status done
Runda Arhiva Monthly Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:12: warning: array subscript has type ‘char’ user.cpp:12: warning: array subscript has type ‘char’ user.cpp:13: warning: array subscript has type ‘char’ user.cpp:13: warning: array subscript has type ‘char’ user.cpp:8: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp:11: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp: In function ‘void rezolvare()’: user.cpp:21: warning: array subscript has type ‘char’ user.cpp:21: warning: array subscript has type ‘char’ user.cpp:21: warning: array subscript has type ‘char’ user.cpp:22: warning: array subscript has type ‘char’ user.cpp:22: warning: array subscript has type ‘char’ user.cpp:22: warning: array subscript has type ‘char’ user.cpp:27: warning: array subscript has type ‘char’ user.cpp:27: warning: array subscript has type ‘char’ user.cpp:27: warning: array subscript has type ‘char’ user.cpp:27: warning: array subscript has type ‘char’ user.cpp:29: warning: array subscript has type ‘char’ user.cpp:29: warning: array subscript has type ‘char’ user.cpp:30: warning: array subscript has type ‘char’ user.cpp:30: warning: array subscript has type ‘char’ user.cpp:31: warning: array subscript has type ‘char’ user.cpp:31: warning: array subscript has type ‘char’ user.cpp:32: warning: array subscript has type ‘char’ user.cpp:32: warning: array subscript has type ‘char’ user.cpp: In function ‘int main()’: user.cpp:55: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:56: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result /tmp/ccVXdDa0.o: In function `citire()': user.cpp:(.text+0x2e8): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms252kbOK10100
20ms248kbOK10
30ms248kbOK10
40ms288kbOK10
54ms876kbOK10
64ms1128kbOK10
74ms1248kbOK10
84ms1496kbOK10
94ms1504kbOK10
104ms1500kbOK10
Punctaj total100

Ceva nu functioneaza?