Borderou de evaluare (job #3125841)

Utilizator AlexandruabcdeDobleaga Alexandru Alexandruabcde Data 4 mai 2023 17:37:24
Problema Camere Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'bool Fill(int, int)': main.cpp:37:1: warning: no return statement in function returning non-void [-Wreturn-type] 37 | } | ^ main.cpp:30:6: warning: infinite recursion detected [-Winfinite-recursion] 30 | bool Fill (int x, int y) { | ^~~~ main.cpp:33:70: note: recursive call 33 | if (x - 1 > 0 && who[x-1][y] == 0 && ch[x-1][y] == ch[x][y]) Fill(x-1, y); | ~~~~^~~~~~~~ main.cpp:34:70: note: recursive call 34 | if (y - 1 > 0 && who[x][y-1] == 0 && ch[x][y-1] == ch[x][y]) Fill(x, y-1); | ~~~~^~~~~~~~ main.cpp:35:71: note: recursive call 35 | if (x + 1 <= N && who[x+1][y] == 0 && ch[x+1][y] == ch[x][y]) Fill(x+1, y); | ~~~~^~~~~~~~ main.cpp:36:71: note: recursive call 36 | if (y + 1 <= M && who[x][y+1] == 0 && ch[x][y+1] == ch[x][y]) Fill(x, y+1); | ~~~~^~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
1129ms266297kbMemory limit exceeded0
2127ms264929kbMemory limit exceeded0
3128ms266158kbMemory limit exceeded0
4151ms265187kbMemory limit exceeded0
5150ms113229kbKilled by Signal 110
6163ms133898kbKilled by Signal 110
750ms17862kbKilled by Signal 110
861ms26701kbKilled by Signal 110
949ms17502kbKilled by Signal 110
10152ms265142kbMemory limit exceeded0
1150ms18780kbKilled by Signal 110
12152ms264163kbMemory limit exceeded0
13127ms262471kbMemory limit exceeded0
1477ms54005kbKilled by Signal 110
15228ms266338kbMemory limit exceeded0
16228ms266338kbMemory limit exceeded0
17228ms266338kbMemory limit exceeded0
1849ms17362kbKilled by Signal 110
19153ms265134kbMemory limit exceeded0
20153ms266092kbMemory limit exceeded0
21152ms263872kbMemory limit exceeded0
22152ms264306kbMemory limit exceeded0
2350ms18063kbKilled by Signal 110
24153ms266117kbMemory limit exceeded0
25147ms265453kbMemory limit exceeded0
Punctaj total0

Ceva nu functioneaza?