Borderou de evaluare (job #1715980)

Utilizator akaprosAna Kapros akapros Data 11 iunie 2016 19:23:34
Problema Sub Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:62:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sub.in", "r", stdin); ^ user.cpp:63:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &n); ^ user.cpp:67:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(w + 1); ^ user.cpp: In function ‘void solve()’: user.cpp:76:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &m); ^ user.cpp:79:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(w + 1); ^ user.cpp: In function ‘void write()’: user.cpp:88:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sub.out", "w", stdout); ^ /tmp/ccCjTY42.o: In function `read()': user.cpp:(.text+0x1d9): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
120ms9108kbOK10
232ms9512kbOK10
352ms11192kbOK10
492ms22648kbOK10
5Depăşit75072kbTime limit exceeded.0
6Depăşit78940kbTime limit exceeded.0
7Depăşit133316kbTime limit exceeded.0
8Depăşit134780kbTime limit exceeded.0
9Depăşit129280kbTime limit exceeded.0
10Depăşit133744kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?