Borderou de evaluare (job #1484576)

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

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/ccbwDWpr.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
20ms280kbOK5
30ms280kbOK5
40ms288kbOK5
50ms280kbOK5
60ms288kbOK5
70ms280kbOK5
80ms284kbOK5
90ms280kbOK5
100ms284kbOK5
110ms284kbOK5
124ms280kbOK5
134ms288kbOK5
1412ms284kbOK5
15344ms284kbOK5
16560ms280kbOK5
17Depăşit276kbTime limit exceeded.0
18Depăşit284kbTime limit exceeded.0
19Depăşit276kbTime limit exceeded.0
20Depăşit280kbTime limit exceeded.0
Punctaj total80

Ceva nu functioneaza?