Borderou de evaluare (job #1484572)

Utilizator paunmatei7FMI Paun Matei paunmatei7 Data 11 septembrie 2015 14:12:25
Problema Doipe Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 85

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:14:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("doipe.in", "r", stdin); ^ user.cpp:15:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("doipe.out", "w", stdout); ^ user.cpp:16:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(scanf("%d", &T); T > 0; --T){ ^ user.cpp:17:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &n); ^ user.cpp:18:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(a + 1); ^ /tmp/ccVN7rrG.o: In function `main': user.cpp:(.text.startup+0x8b): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms284kbOK5
20ms284kbOK5
30ms280kbOK5
40ms280kbOK5
50ms280kbOK5
60ms284kbOK5
70ms280kbOK5
80ms284kbOK5
90ms284kbOK5
100ms288kbOK5
110ms284kbOK5
120ms280kbOK5
134ms284kbOK5
148ms288kbOK5
15252ms284kbOK5
16416ms280kbOK5
17516ms284kbOK5
18Depăşit284kbTime limit exceeded.0
19Depăşit284kbTime limit exceeded.0
20Depăşit276kbTime limit exceeded.0
Punctaj total85

Ceva nu functioneaza?