Borderou de evaluare (job #1484588)

Utilizator akaprosAna Kapros akapros Data 11 septembrie 2015 14:38:42
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:22: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:23: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:64: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:76: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/ccWRdCdU.o: In function `solve()': user.cpp:(.text+0x26a): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms260kbOK1010
20ms260kbOK1010
3Depăşit236kbTime limit exceeded.00
4772ms260kbOK1010
5760ms260kbOK1010
6Depăşit240kbTime limit exceeded.00
7Depăşit236kbTime limit exceeded.00
8Depăşit236kbTime limit exceeded.0
9Depăşit240kbTime limit exceeded.0
10Depăşit240kbTime limit exceeded.00
Punctaj total40

Ceva nu functioneaza?