Pagini recente » Borderou de evaluare (job #1674312) | Borderou de evaluare (job #1090875) | Borderou de evaluare (job #1365428) | Borderou de evaluare (job #2604455) | Borderou de evaluare (job #1203835)
Borderou de evaluare (job #1203835)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:88:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("enigma.in", "r", stdin);
^
user.cpp:89:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("enigma.out", "w", stdout);
^
user.cpp:92:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &N, &M);
^
user.cpp:93:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(A + 1, Nmax, stdin);
^
user.cpp:98:32: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(word, 105, stdin);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from /usr/include/c++/4.8/random:39,
from /usr/include/c++/4.8/bits/stl_algo.h:65,
from /usr/include/c++/4.8/algorithm:62,
from user.cpp:1:
In function ‘char* fgets(char*, int, FILE*)’,
inlined from ‘int main()’ at user.cpp:93:30:
/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 | 500kb | OK | 10 |
2 | 0ms | 940kb | OK | 10 |
3 | 24ms | 11300kb | OK | 10 |
4 | 52ms | 19432kb | OK | 10 |
5 | 12ms | 2792kb | OK | 10 |
6 | 24ms | 6124kb | OK | 10 |
7 | 72ms | 15944kb | OK | 10 |
8 | 80ms | 20740kb | OK | 10 |
9 | 180ms | 1748kb | OK | 10 |
10 | 96ms | 33284kb | OK | 10 |
Punctaj total | 100 |