Borderou de evaluare (job #1484582)

Utilizator akaprosAna Kapros akapros Data 11 septembrie 2015 14:33:28
Problema Dk Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

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/ccoN8vEF.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
10ms260kbIncorect00
20ms260kbOK1010
3Depăşit240kbTime limit exceeded.00
4772ms256kbOK1010
5768ms264kbOK1010
6Depăşit236kbTime limit exceeded.00
7Depăşit236kbTime limit exceeded.00
8Depăşit236kbTime limit exceeded.0
9Depăşit236kbTime limit exceeded.0
10Depăşit236kbTime limit exceeded.00
Punctaj total30

Ceva nu functioneaza?