Pagini recente » Borderou de evaluare (job #1735582) | Borderou de evaluare (job #1013903) | Borderou de evaluare (job #3275556) | Borderou de evaluare (job #2861419) | Borderou de evaluare (job #2924687)
Borderou de evaluare (job #2924687)
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 | 2ms | 2936kb | Incorect | 0 | 0 |
4 | 44ms | 4136kb | Incorect | 0 | 0 |
5 | 27ms | 4722kb | Incorect | 0 | 0 |
6 | 23ms | 4743kb | Incorect | 0 | 0 |
7 | 43ms | 6438kb | Incorect | 0 | 0 |
8 | 35ms | 4845kb | Incorect | 0 | 0 |
9 | 35ms | 4870kb | Incorect | 0 |
10 | 50ms | 4960kb | Incorect | 0 |
Punctaj total | 0 |