Pagini recente » Borderou de evaluare (job #2614505) | Borderou de evaluare (job #1978187) | Borderou de evaluare (job #2394412) | Borderou de evaluare (job #2539331) | Borderou de evaluare (job #1236399)
Borderou de evaluare (job #1236399)
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 | 444kb | OK | 5 |
2 | 12ms | 864kb | OK | 5 |
3 | 12ms | 864kb | OK | 5 |
4 | 140ms | 2532kb | OK | 5 |
5 | 156ms | 3216kb | Incorect | 0 |
6 | 240ms | 3212kb | Incorect | 0 |
7 | 112ms | 3220kb | Incorect | 0 |
8 | 216ms | 3212kb | Incorect | 0 |
9 | 156ms | 3904kb | Incorect | 0 |
10 | 288ms | 3904kb | Incorect | 0 |
11 | 204ms | 3900kb | Incorect | 0 |
12 | 0ms | 456kb | OK | 5 |
13 | 0ms | 472kb | OK | 5 |
14 | 0ms | 488kb | OK | 5 |
15 | 0ms | 496kb | OK | 5 |
16 | 20ms | 1140kb | OK | 5 |
17 | 20ms | 1148kb | OK | 5 |
18 | 8ms | 792kb | OK | 5 |
19 | 12ms | 864kb | OK | 5 |
20 | 12ms | 864kb | OK | 5 |
Punctaj total | 65 |