Pagini recente » Borderou de evaluare (job #3291906) | Borderou de evaluare (job #587727) | Borderou de evaluare (job #1008514) | Borderou de evaluare (job #752751) | Borderou de evaluare (job #2951712)
Borderou de evaluare (job #2951712)
Raport evaluator
Compilare:
main.cpp:21:29: warning: use of 'auto' in parameter declaration only available with '-fconcepts-ts'
21 | int get_root(int val,int x, auto b)
| ^~~~
main.cpp:29:35: warning: use of 'auto' in parameter declaration only available with '-fconcepts-ts'
29 | void union_(int x, int y,int val, auto b)
| ^~~~
main.cpp: In function 'void bfs(int, int, int)':
main.cpp:44:18: warning: narrowing conversion of 'i' from 'int' to 'short int' [-Wnarrowing]
44 | q.push_back({i,j});
| ^
main.cpp:44:20: warning: narrowing conversion of 'j' from 'int' to 'short int' [-Wnarrowing]
44 | q.push_back({i,j});
| ^
main.cpp:58:30: warning: narrowing conversion of 'x1' from 'int' to 'short int' [-Wnarrowing]
58 | q.push_back({x1,y1});
| ^~
main.cpp:58:33: warning: narrowing conversion of 'y1' from 'int' to 'short int' [-Wnarrowing]
58 | q.push_back({x1,y1});
| ^~
main.cpp: In function 'void bfs1(int, int, int)':
main.cpp:66:18: warning: narrowing conversion of 'i' from 'int' to 'short int' [-Wnarrowing]
66 | q.push_back({i,j});
| ^
main.cpp:66:20: warning: narrowing conversion of 'j' from 'int' to 'short int' [-Wnarrowing]
66 | q.push_back({i,j});
| ^
main.cpp:80:30: warning: narrowing conversion of 'x1' from 'int' to 'short int' [-Wnarrowing]
80 | q.push_back({x1,y1});
| ^~
main.cpp:80:33: warning: narrowing conversion of 'y1' from 'int' to 'short int' [-Wnarrowing]
80 | q.push_back({x1,y1});
| ^~
main.cpp: In function 'void solve()':
main.cpp:113:39: warning: array subscript -1 is below array bounds of 'int [63001]' [-Warray-bounds]
113 | fr[a[i][j]]++;
| ~~~~~~~~~~^
main.cpp:9:5: note: while referencing 'fr'
9 | int fr[251*251];
| ^~
main.cpp:113:39: warning: array subscript -1 is below array bounds of 'int [63001]' [-Warray-bounds]
113 | fr[a[i][j]]++;
| ~~~~~~~~~~^
main.cpp:9:5: note: while referencing 'fr'
9 | int fr[251*251];
| ^~
main.cpp:119:41: warning: array subscript -1 is below array bounds of 'int [63001]' [-Warray-bounds]
119 | if(a[i][j]<0&&fr[a[i][j]]>=r)
| ~~~~~~~~~~^
main.cpp:9:5: note: while referencing 'fr'
9 | int fr[251*251];
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 446kb | Killed by Signal 11 | 0 |
Punctaj total | 0 |