Borderou de evaluare (job #1236450)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:94: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:95: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:98: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:98: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 | 428kb | OK | 5 |
2 | Depăşit | 848kb | Time limit exceeded. | 0 |
3 | Depăşit | 848kb | Time limit exceeded. | 0 |
4 | 220ms | 2752kb | OK | 5 |
5 | Depăşit | 3468kb | Time limit exceeded. | 0 |
6 | Depăşit | 3424kb | Time limit exceeded. | 0 |
7 | Depăşit | 3424kb | Time limit exceeded. | 0 |
8 | Depăşit | 3460kb | Time limit exceeded. | 0 |
9 | Depăşit | 4216kb | Time limit exceeded. | 0 |
10 | Depăşit | 4216kb | Time limit exceeded. | 0 |
11 | Depăşit | 4228kb | Time limit exceeded. | 0 |
12 | 0ms | 440kb | OK | 5 |
13 | 0ms | 460kb | OK | 5 |
14 | 0ms | 480kb | OK | 5 |
15 | 0ms | 492kb | OK | 5 |
16 | Depăşit | 1152kb | Time limit exceeded. | 0 |
17 | Depăşit | 1148kb | Time limit exceeded. | 0 |
18 | Depăşit | 756kb | Time limit exceeded. | 0 |
19 | Depăşit | 848kb | Time limit exceeded. | 0 |
20 | Depăşit | 848kb | Time limit exceeded. | 0 |
Punctaj total | 30 |