Borderou de evaluare (job #1670501)

Utilizator SilviuIIon Silviu SilviuI Data 31 martie 2016 19:51:38
Problema Redu Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:28:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("redu.in","r",stdin); ^ user.cpp:29:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("redu.out","w",stdout); ^ user.cpp:31:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ",&n); ^ user.cpp:32:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s+1); ^ user.cpp:36:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&v[i][j]); ^ /tmp/cczCB4dO.o: In function `main': user.cpp:(.text.startup+0x6f): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms324kbOK10
20ms368kbOK10
30ms476kbOK10
40ms684kbOK10
536ms1492kbOK10
6Depăşit2272kbTime limit exceeded.0
7Depăşit2272kbTime limit exceeded.0
8Depăşit2272kbTime limit exceeded.0
9Depăşit2272kbTime limit exceeded.0
10Depăşit2272kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?