Borderou de evaluare (job #1484571)

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

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/cckSuUdT.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
120msDepăşitMemory limit exceeded.0
220msDepăşitMemory limit exceeded.0
320msDepăşitMemory limit exceeded.0
420msDepăşitMemory limit exceeded.0
520msDepăşitMemory limit exceeded.0
620msDepăşitMemory limit exceeded.0
720msDepăşitMemory limit exceeded.0
820msDepăşitMemory limit exceeded.0
920msDepăşitMemory limit exceeded.0
1020msDepăşitMemory limit exceeded.0
1120msDepăşitMemory limit exceeded.0
1220msDepăşitMemory limit exceeded.0
1320msDepăşitMemory limit exceeded.0
1420msDepăşitMemory limit exceeded.0
1532msDepăşitMemory limit exceeded.0
1640msDepăşitMemory limit exceeded.0
1748msDepăşitMemory limit exceeded.0
1848msDepăşitMemory limit exceeded.0
1948msDepăşitMemory limit exceeded.0
2048msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?