Borderou de evaluare (job #1484647)

Utilizator akaprosAna Kapros akapros Data 11 septembrie 2015 16:45:26
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:76: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:90: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/cc64K8A3.o: In function `solve()': user.cpp:(.text+0x322): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms1232kbOK1010
24ms1232kbOK1010
3Depăşit1212kbTime limit exceeded.00
4752ms1236kbOK1010
5740ms1236kbOK1010
6Depăşit1212kbTime limit exceeded.00
7Depăşit1212kbTime limit exceeded.00
8Depăşit1208kbTime limit exceeded.0
9Depăşit1208kbTime limit exceeded.0
10Depăşit1216kbTime limit exceeded.00
Punctaj total40

Ceva nu functioneaza?