Borderou de evaluare (job #1484677)

Utilizator akaprosAna Kapros akapros Data 11 septembrie 2015 17:20:32
Problema Dk Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:33:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("dk.in", "r", stdin); ^ user.cpp:34:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &n); ^ user.cpp: In function ‘void solve()’: user.cpp:80:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ user.cpp: In function ‘void write()’: user.cpp:94:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("dk.out", "w", stdout); ^ /tmp/cc0o24UO.o: In function `solve()': user.cpp:(.text+0x352): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms356kbOK1010
20ms352kbOK1010
3Depăşit328kbTime limit exceeded.00
4756ms348kbOK1010
5756ms356kbOK1010
6Depăşit328kbTime limit exceeded.00
7Depăşit336kbTime limit exceeded.00
8Depăşit336kbTime limit exceeded.0
9Depăşit332kbTime limit exceeded.0
10Depăşit332kbTime limit exceeded.00
Punctaj total40

Ceva nu functioneaza?