Borderou de evaluare (job #1483679)

Utilizator akaprosAna Kapros akapros Data 9 septembrie 2015 18:59:09
Problema Ratina Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 65

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:42:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ratina.in", "r", stdin); ^ user.cpp:43:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &n, &m); ^ user.cpp:46:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(v[i].s); ^ user.cpp: In function ‘void write()’: user.cpp:78:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ratina.out", "w", stdout); ^ user.cpp:81:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^ user.cpp:85:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &q[i]); ^ /tmp/ccl0XTzf.o: In function `read()': user.cpp:(.text+0x6a8): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
1232ms540kbOK5
2228ms536kbOK5
324ms780kbOK5
424ms784kbOK5
524ms780kbOK5
620ms776kbOK5
7200ms776kbOK5
8200ms780kbOK5
9188ms780kbOK5
10232ms536kbOK5
11240ms540kbOK5
12216ms536kbOK5
1316ms456kbKilled by signal 11(SIGSEGV).0
14216ms540kbOK5
1516ms460kbKilled by signal 11(SIGSEGV).0
16Depăşit19932kbTime limit exceeded.0
17Depăşit19940kbTime limit exceeded.0
18Depăşit19936kbTime limit exceeded.0
19Depăşit19940kbTime limit exceeded.0
20Depăşit19944kbTime limit exceeded.0
Punctaj total65

Ceva nu functioneaza?