Borderou de evaluare (job #1707303)

Utilizator Master011Dragos Martac Master011 Data 24 mai 2016 19:46:35
Problema Ratina Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:73:12: warning: unused variable ‘ind’ [-Wunused-variable] int t, ind; ^ user.cpp:55:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d%d\n", &n, &m); ^ user.cpp:58:34: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(sir, lMax + 10, in); ^ user.cpp:75:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d", &t); ^ user.cpp:76:70: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(int j = 0 ; j < t ; ++j) fscanf(in,"%d", &tt[j]), tt[j]--; ^ In file included from /usr/include/stdio.h:934:0, from /usr/include/c++/4.8/cstdio:42, from user.cpp:1: In function ‘char* fgets(char*, int, FILE*)’, inlined from ‘int main()’ at user.cpp:58:34: /usr/include/i386-linux-gnu/bits/stdio2.h:253:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer [enabled by default] return __fgets_chk_warn (__s, __bos (__s), __n, __stream); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms716kbKilled by signal 6(SIGABRT).0
20ms720kbKilled by signal 6(SIGABRT).0
332ms776kbOK5
436ms780kbOK5
532ms780kbOK5
632ms772kbOK5
7Depăşit1628kbTime limit exceeded.0
8Depăşit1624kbTime limit exceeded.0
9Depăşit1628kbTime limit exceeded.0
100ms720kbKilled by signal 6(SIGABRT).0
110ms716kbKilled by signal 6(SIGABRT).0
120ms712kbKilled by signal 6(SIGABRT).0
130ms720kbKilled by signal 6(SIGABRT).0
140ms716kbKilled by signal 6(SIGABRT).0
150ms712kbKilled by signal 6(SIGABRT).0
16Depăşit1660kbTime limit exceeded.0
17Depăşit1732kbTime limit exceeded.0
18Depăşit1736kbTime limit exceeded.0
19Depăşit1728kbTime limit exceeded.0
20Depăşit1728kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?