Pagini recente » Borderou de evaluare (job #2017651) | Borderou de evaluare (job #1593791) | Borderou de evaluare (job #1630290) | Borderou de evaluare (job #389544) | Borderou de evaluare (job #2069977)
Borderou de evaluare (job #2069977)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int)’:
user.cpp:31:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < arb2[nod].size(); ++ i){
^
user.cpp:30:9: warning: variable ‘ok’ set but not used [-Wunused-but-set-variable]
int ok = 0;
^
user.cpp: In function ‘void solve(short int)’:
user.cpp:54:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(short int i = 0; i < arb2[nod].size(); ++ i){
^
user.cpp: In function ‘void dfs_heap(short int)’:
user.cpp:76:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(short int i = 0; i < arb2[nod].size(); ++ i){
^
user.cpp: In function ‘int main()’:
user.cpp:87:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cezar.in", "r", stdin);
^
user.cpp:88:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cezar.out", "w", stdout);
^
user.cpp:90:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd %hd", &n, &k);
^
user.cpp:92:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd %hd", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 412kb | OK | 5 |
2 | 0ms | 412kb | OK | 5 |
3 | 0ms | 412kb | OK | 5 |
4 | 0ms | 408kb | OK | 5 |
5 | 0ms | 416kb | OK | 5 |
6 | 0ms | 412kb | OK | 5 |
7 | 0ms | 428kb | OK | 5 |
8 | 0ms | 444kb | OK | 5 |
9 | 0ms | 436kb | OK | 5 |
10 | 0ms | 444kb | OK | 5 |
11 | 0ms | 480kb | OK | 5 |
12 | 0ms | 472kb | OK | 5 |
13 | 0ms | 504kb | OK | 5 |
14 | 0ms | 504kb | OK | 5 |
15 | 4ms | Depăşit | Memory limit exceeded. | 0 |
16 | 0ms | 496kb | OK | 5 |
17 | 4ms | 524kb | Incorect | 0 |
18 | 4ms | 568kb | Incorect | 0 |
19 | 8ms | 608kb | Incorect | 0 |
20 | 8ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 75 |