Borderou de evaluare (job #2858908)

Utilizator CiuiGinjoveanu Dragos Ciui Data 28 februarie 2022 16:26:08
Problema Paduri de multimi disjuncte Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void findWay(int, int)': main.cpp:30:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 30 | for (int i = 0; i < graph[currentPeak].size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:22:24: warning: iteration 1004 invokes undefined behavior [-Waggressive-loop-optimizations] 22 | goneThrough[i] = 0; | ~~~~~~~~~~~~~~~^~~ main.cpp:21:23: note: within this loop 21 | for (int i = 1; i <= MAX_SIZE; ++i) { | ~~^~~~~~~~~~~ main.cpp:22:24: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [4020, 4023] is out of the bounds [0, 4020] of object 'goneThrough' with type 'int [1005]' [-Warray-bounds] 22 | goneThrough[i] = 0; | ~~~~~~~~~~~~~~~^~~ main.cpp:17:5: note: 'goneThrough' declared here 17 | int goneThrough[MAX_SIZE]; | ^~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms184kbIncorect00
22ms184kbIncorect00
32ms184kbIncorect00
46ms307kbIncorect00
52ms184kbKilled by Signal 1100
62ms184kbKilled by Signal 110
72ms184kbKilled by Signal 110
82ms184kbKilled by Signal 1100
92ms184kbKilled by Signal 1100
102ms184kbKilled by Signal 1100
Punctaj total0

Ceva nu functioneaza?