Borderou de evaluare (job #1716035)

Utilizator akaprosAna Kapros akapros Data 11 iunie 2016 20:49:05
Problema Sub Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:64: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:65: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/ccJyyHVc.o: In function `read()': user.cpp:(.text+0x1d3): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms484kbOK10
20ms896kbOK10
30ms2584kbOK10
416ms14140kbOK10
588ms67060kbOK10
6116ms83748kbOK10
7216msDepăşitMemory limit exceeded.0
8216msDepăşitMemory limit exceeded.0
9216msDepăşitMemory limit exceeded.0
10216msDepăşitMemory limit exceeded.0
Punctaj total60

Ceva nu functioneaza?