Borderou de evaluare (job #2805068)

Utilizator VladS23Vlad Seba VladS23 Data 21 noiembrie 2021 13:25:12
Problema Hărți Status done
Runda Baraj - Tudor Vianu + ICHB - Seniori - 2021 Compilator cpp-64 | Vezi sursa
Scor 5

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:53:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 53 | for (int k = 0; k < edges[crt].node.size(); k++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'void reset()': main.cpp:22:14: warning: iteration 9 invokes undefined behavior [-Waggressive-loop-optimizations] 22 | d[i] = 0; | ~~~~~^~~ main.cpp:21:23: note: within this loop 21 | for (int i = 1; i <= 10; i++) | ~~^~~~~ main.cpp:22:14: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [40, 43] is out of the bounds [0, 40] of object 'd' with type 'int [10]' [-Warray-bounds] 22 | d[i] = 0; | ~~~~~^~~ main.cpp:17:5: note: 'd' declared here 17 | int d[10]; | ^ In function 'void reset()', inlined from 'int main()' at main.cpp:51:14: main.cpp:22:14: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [40, 43] is out of the bounds [0, 40] of object 'd' with type 'int [10]' [-Warray-bounds] 22 | d[i] = 0; | ~~~~~^~~ main.cpp: In function 'int main()': main.cpp:17:5: note: 'd' declared here 17 | int d[10]; | ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms184kbOK55
28ms385kbOutput invalid - nod colorat cu culoare prea mare00
341ms503kbOutput invalid - nod colorat cu culoare prea mare00
436ms438kbOutput invalid - nod colorat cu culoare prea mare0
5135ms1028kbOutput invalid - nod colorat cu culoare prea mare0
6186ms1470kbOutput invalid - nod colorat cu culoare prea mare00
7400ms4571kbTime limit exceeded0
8400ms4194kbTime limit exceeded0
9400ms7311kbTime limit exceeded0
10400ms6426kbTime limit exceeded0
11260ms1896kbOutput invalid - nod colorat cu culoare prea mare00
12104ms716kbOutput invalid - nod colorat cu culoare prea mare0
13155ms1454kbOutput invalid - nod colorat cu culoare prea mare0
14344ms2211kbOutput invalid - nod colorat cu culoare prea mare0
1590ms1052kbOutput invalid - nod colorat cu culoare prea mare0
16401ms3874kbTime limit exceeded0
17400ms5201kbTime limit exceeded0
18316ms3047kbOutput invalid - nod colorat cu culoare prea mare0
1969ms667kbOutput invalid - nod colorat cu culoare prea mare0
20403ms13549kbTime limit exceeded0
Punctaj total5

Ceva nu functioneaza?