Borderou de evaluare (job #3307339)

Utilizator adimiclaus15Miclaus Adrian Stefan adimiclaus15 Data 20 august 2025 12:35:26
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
114ms901kbKilled by Signal 110
214ms1335kbKilled by Signal 110
317ms3166kbKilled by Signal 110
417ms5316kbKilled by Signal 110
535ms8265kbKilled by Signal 110
636ms9637kbKilled by Signal 110
741ms10100kbKilled by Signal 110
846ms10604kbKilled by Signal 110
947ms11653kbKilled by Signal 110
1045ms10436kbKilled by Signal 110
111ms303kbRaspuns gresit!0
124ms462kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?