Borderou de evaluare (job #1484680)

Utilizator akaprosAna Kapros akapros Data 11 septembrie 2015 17:22:00
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/ccxXiUoE.o: In function `solve()': user.cpp:(.text+0x342): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms352kbOK1010
20ms352kbOK1010
3Depăşit336kbTime limit exceeded.00
4752ms356kbOK1010
5756ms352kbOK1010
6Depăşit332kbTime limit exceeded.00
7Depăşit336kbTime limit exceeded.00
8Depăşit328kbTime limit exceeded.0
9Depăşit328kbTime limit exceeded.0
10Depăşit332kbTime limit exceeded.00
Punctaj total40

Ceva nu functioneaza?