Pagini recente » Borderou de evaluare (job #1370887) | Borderou de evaluare (job #549361) | Borderou de evaluare (job #2079631) | Borderou de evaluare (job #2884250) | Borderou de evaluare (job #2925963)
Borderou de evaluare (job #2925963)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int, int)':
main.cpp:19:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
19 | for (int i=0;i<g[nod].size ();++i){
| ~^~~~~~~~~~~~~~~
main.cpp:18:9: warning: unused variable 'ok' [-Wunused-variable]
18 | int ok=0;
| ^~
main.cpp: In function 'void _Z3dfsii.part.0(int, int)':
main.cpp:14:19: warning: array subscript 100000 is above array bounds of 'int [100000]' [-Warray-bounds]
14 | if (visit[MAXN]>0)
| ~~~~~~~~~~^
main.cpp:9:54: note: while referencing 'visit'
9 | int timpin[MAXN],timpout[MAXN],timp,n,m,tati[MAXN],l,visit[MAXN];
| ^~~~~
main.cpp: In function 'void dfs(int, int)':
main.cpp:14:19: warning: array subscript 100000 is above array bounds of 'int [100000]' [-Warray-bounds]
14 | if (visit[MAXN]>0)
| ~~~~~~~~~~^
main.cpp:9:54: note: while referencing 'visit'
9 | int timpin[MAXN],timpout[MAXN],timp,n,m,tati[MAXN],l,visit[MAXN];
| ^~~~~
main.cpp: In function 'int main()':
main.cpp:14:19: warning: array subscript 100000 is above array bounds of 'int [100000]' [-Warray-bounds]
14 | if (visit[MAXN]>0)
| ~~~~~~~~~~^
main.cpp:9:54: note: while referencing 'visit'
9 | int timpin[MAXN],timpout[MAXN],timp,n,m,tati[MAXN],l,visit[MAXN];
| ^~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 184kb | Incorect | 0 | 0 |
2 | 0ms | 184kb | Incorect | 0 | 0 |
3 | 5ms | 2936kb | Incorect | 0 | 0 |
4 | 41ms | 4112kb | Incorect | 0 | 0 |
5 | 30ms | 4796kb | Incorect | 0 | 0 |
6 | 21ms | 4804kb | Incorect | 0 | 0 |
7 | 42ms | 6463kb | Incorect | 0 | 0 |
8 | 31ms | 4788kb | Incorect | 0 | 0 |
9 | 32ms | 4759kb | Incorect | 0 |
10 | 47ms | 4837kb | Incorect | 0 |
Punctaj total | 0 |