Borderou de evaluare (job #3307341)

Utilizator adimiclaus15Miclaus Adrian Stefan adimiclaus15 Data 20 august 2025 12:37:01
Problema Pirati Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void dfs(int, int)': main.cpp:27:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 27 | for(int i=0;i<gr[x].size();i++) | ~^~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:93:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 93 | for(int i=2;i<=n-1;i++) | ^~~ main.cpp:109:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 109 | dfs(1, 0); | ^~~ main.cpp: In function 'void fill(int, int, int)': main.cpp:17:22: warning: iteration 7 invokes undefined behavior [-Waggressive-loop-optimizations] 17 | if(inmat(x + di[i],y + dj[i])&&a[x+di[i]][y+dj[i]]==t&&v[x + di[i]][y + dj[i]]==0) | ~~~~^ main.cpp:16:18: note: within this loop 16 | for(int i=0;i<8;i++) | ~^~
Test Timp executie Memorie folosita Mesaj Punctaj/test
113ms843kbKilled by Signal 110
212ms1363kbKilled by Signal 110
312ms3141kbKilled by Signal 110
412ms5349kbKilled by Signal 110
533ms8331kbKilled by Signal 110
634ms9678kbKilled by Signal 110
736ms10104kbKilled by Signal 110
843ms10625kbKilled by Signal 110
942ms11649kbKilled by Signal 110
1043ms10399kbKilled by Signal 110
111ms303kbRaspuns gresit!0
122ms471kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?