Pagini recente » Borderou de evaluare (job #186888) | Borderou de evaluare (job #1981989) | Borderou de evaluare (job #284120) | Borderou de evaluare (job #989449) | Borderou de evaluare (job #1443011)
Borderou de evaluare (job #1443011)
Raport evaluator
Compilare:
user.cpp: In function ‘void Read()’:
user.cpp:36:12: warning: unused variable ‘j’ [-Wunused-variable]
int i, j;
^
user.cpp:38:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf( f, "%d%d\n", &N, &M );
^
user.cpp:39:28: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets( a + 1, MAXN, f );
^
user.cpp: In function ‘void Write()’:
user.cpp:83:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf( f, "%d%d", &x, &y );
^
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 ‘void Read()’ at user.cpp:39:28:
/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 |
1 | 0ms | 484kb | Incorect | 0 |
2 | 0ms | 532kb | Incorect | 0 |
3 | 8ms | 708kb | Incorect | 0 |
4 | 36ms | 584kb | Incorect | 0 |
5 | 112ms | 536kb | Incorect | 0 |
6 | 144ms | 964kb | Incorect | 0 |
7 | 312ms | 1216kb | Incorect | 0 |
8 | 376ms | 1472kb | Incorect | 0 |
9 | 544ms | 1732kb | Incorect | 0 |
10 | 684ms | 1980kb | Incorect | 0 |
Punctaj total | 0 |