Borderou de evaluare (job #1555722)

Utilizator akaprosAna Kapros akapros Data 23 decembrie 2015 14:55:02
Problema Per Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:12:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("per.in", "r", stdin); ^ user.cpp:13:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &n, &k); ^ user.cpp:14:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s + 1); ^ user.cpp: In function ‘void write()’: user.cpp:63:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("per.out", "w", stdout); ^ /tmp/ccrXBREQ.o: In function `read()': user.cpp:(.text+0x4c): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms456kbOK100
2Depăşit452kbTime limit exceeded.0
3Depăşit460kbTime limit exceeded.0
424ms496kbOK10
5448ms500kbOK10
6Depăşit460kbTime limit exceeded.0
7Depăşit452kbTime limit exceeded.0
8Depăşit460kbTime limit exceeded.0
9Depăşit460kbTime limit exceeded.0
100ms448kbOK10
Punctaj total0

Ceva nu functioneaza?