Borderou de evaluare (job #3307344)

Utilizator adimiclaus15Miclaus Adrian Stefan adimiclaus15 Data 20 august 2025 12:39:15
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
112ms843kbKilled by Signal 110
211ms1310kbKilled by Signal 110
310ms3141kbKilled by Signal 110
413ms5304kbKilled by Signal 110
531ms8286kbKilled by Signal 110
630ms9641kbKilled by Signal 110
740ms10092kbKilled by Signal 110
841ms10600kbKilled by Signal 110
941ms11636kbKilled by Signal 110
1043ms10379kbKilled by Signal 110
110ms303kbRaspuns gresit!0
121ms458kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?