Borderou de evaluare (job #1716016)

Utilizator akaprosAna Kapros akapros Data 11 iunie 2016 20:35:40
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:65: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:66:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &n); ^ user.cpp:70: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:79:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &m); ^ user.cpp:82: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:95: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/ccxnqsF0.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
228ms9508kbOK10
352ms11188kbOK10
488ms22640kbOK10
5Depăşit75064kbTime limit exceeded.0
6Depăşit79916kbTime limit exceeded.0
7Depăşit133308kbTime limit exceeded.0
8Depăşit134788kbTime limit exceeded.0
9Depăşit129280kbTime limit exceeded.0
10Depăşit133740kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?