Borderou de evaluare (job #1707394)

Utilizator Master011Dragos Martac Master011 Data 24 mai 2016 23:16:01
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: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
1Depăşit2628kbTime limit exceeded.0
2Depăşit2624kbTime limit exceeded.0
332ms780kbOK5
432ms780kbOK5
532ms780kbOK5
636ms784kbOK5
7Depăşit1632kbTime limit exceeded.0
8Depăşit1632kbTime limit exceeded.0
9Depăşit1636kbTime limit exceeded.0
10Depăşit2628kbTime limit exceeded.0
11Depăşit2628kbTime limit exceeded.0
12Depăşit2624kbTime limit exceeded.0
13Depăşit2624kbTime limit exceeded.0
14Depăşit2628kbTime limit exceeded.0
15Depăşit2628kbTime limit exceeded.0
16Depăşit1656kbTime limit exceeded.0
17Depăşit1740kbTime limit exceeded.0
18Depăşit1740kbTime limit exceeded.0
19Depăşit1740kbTime limit exceeded.0
20Depăşit1740kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?