Pagini recente » Borderou de evaluare (job #785149) | Borderou de evaluare (job #1487755) | Borderou de evaluare (job #522475) | Borderou de evaluare (job #1785490) | Borderou de evaluare (job #1236401)
Borderou de evaluare (job #1236401)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:86:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(inputFile.c_str(), "r", stdin);
^
user.cpp:87:45: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(outputFile.c_str(), "w", stdout);
^
user.cpp:90:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(S + 1, NMAX, 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:90: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 | 448kb | OK | 5 |
2 | 12ms | 864kb | OK | 5 |
3 | 12ms | 860kb | OK | 5 |
4 | 132ms | 2528kb | OK | 5 |
5 | 152ms | 3212kb | Incorect | 0 |
6 | 240ms | 3212kb | Incorect | 0 |
7 | 116ms | 3216kb | Incorect | 0 |
8 | 212ms | 3216kb | Incorect | 0 |
9 | 156ms | 3904kb | Incorect | 0 |
10 | 288ms | 3904kb | Incorect | 0 |
11 | 208ms | 3908kb | Incorect | 0 |
12 | 0ms | 452kb | OK | 5 |
13 | 0ms | 476kb | OK | 5 |
14 | 0ms | 488kb | OK | 5 |
15 | 0ms | 496kb | OK | 5 |
16 | 20ms | 1144kb | OK | 5 |
17 | 20ms | 1144kb | OK | 5 |
18 | 8ms | 792kb | OK | 5 |
19 | 12ms | 868kb | OK | 5 |
20 | 12ms | 864kb | OK | 5 |
Punctaj total | 65 |