Pagini recente » Borderou de evaluare (job #419106) | Borderou de evaluare (job #548616) | Borderou de evaluare (job #1097041) | Borderou de evaluare (job #183153) | Borderou de evaluare (job #1443027)
Borderou de evaluare (job #1443027)
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:84: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 | OK | 10 |
2 | 0ms | 536kb | OK | 10 |
3 | 8ms | 720kb | OK | 10 |
4 | 36ms | 592kb | OK | 10 |
5 | 112ms | 544kb | OK | 10 |
6 | 144ms | 968kb | OK | 10 |
7 | 308ms | 1224kb | OK | 10 |
8 | 372ms | 1480kb | OK | 10 |
9 | 536ms | 1736kb | OK | 10 |
10 | 672ms | 1988kb | OK | 10 |
Punctaj total | 100 |