garden.cpp: In function 'void count_routes(long long int, long long int, long long int, long long int (*)[2], long long int, long long int*)':
garden.cpp:83:13: warning: variable 'cost' set but not used [-Wunused-but-set-variable]
83 | int cost=adj[i][0].fi;
| ^~~~
garden.cpp:135:25: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
135 | if(el&(1<<i)!=0){
| ~~~~~~^~~
garden.cpp: In function 'void calc()':
garden.cpp:58:45: warning: array subscript 2 is above array bounds of 'long long int [2]' [-Warray-bounds]
58 | suc[nd][k][2]=suc[suc[nd][k-1][2]][k-1][cik[nd][k-1][2]];//min edge i kullan da gel
| ~~~~~~~~~~~~~~^
garden.cpp:58:67: warning: array subscript 2 is above array bounds of 'long long int [2]' [-Warray-bounds]
58 | suc[nd][k][2]=suc[suc[nd][k-1][2]][k-1][cik[nd][k-1][2]];//min edge i kullan da gel
| ~~~~~~~~~~~~~~^
garden.cpp:58:25: warning: array subscript 2 is above array bounds of 'long long int [2]' [-Warray-bounds]
58 | suc[nd][k][2]=suc[suc[nd][k-1][2]][k-1][cik[nd][k-1][2]];//min edge i kullan da gel
| ~~~~~~~~~~~~^
garden.cpp:59:45: warning: array subscript 2 is above array bounds of 'long long int [2]' [-Warray-bounds]
59 | cik[nd][k][2]=cik[suc[nd][k-1][2]][k-1][cik[nd][k-1][2]];
| ~~~~~~~~~~~~~~^
garden.cpp:59:25: warning: array subscript 2 is above array bounds of 'long long int [2]' [-Warray-bounds]
59 | cik[nd][k][2]=cik[suc[nd][k-1][2]][k-1][cik[nd][k-1][2]];
| ~~~~~~~~~~~~^
garden.cpp:60:25: warning: array subscript 2 is above array bounds of 'long long int [2]' [-Warray-bounds]
60 | gir[nd][k][2]=1;
| ~~~~~~~~~~~~^
garden.cpp: In function 'void count_routes(long long int, long long int, long long int, long long int (*)[2], long long int, long long int*)':
garden.cpp:99:24: warning: array subscript 2 is above array bounds of 'long long int [2]' [-Warray-bounds]
99 | suc[i][0][2]=kom; //1-->max edgele cik
| ~~~~~~~~~~~^
garden.cpp:100:24: warning: array subscript 2 is above array bounds of 'long long int [2]' [-Warray-bounds]
100 | gir[i][0][2]=1; //minle gir
| ~~~~~~~~~~~^
garden.cpp:102:28: warning: array subscript 2 is above array bounds of 'long long int [2]' [-Warray-bounds]
102 | cik[i][0][2]=2;//adj[kom][1].fi;
| ~~~~~~~~~~~^
garden.cpp:105:28: warning: array subscript 2 is above array bounds of 'long long int [2]' [-Warray-bounds]
105 | cik[i][0][2]=1;//adj[kom][0].fi;
| ~~~~~~~~~~~^
/usr/bin/ld: /tmp/cc4B9JEY.o: in function `main':
grader.cpp:(.text.startup+0x3f): undefined reference to `count_routes(int, int, int, int (*) [2], int, int*)'
collect2: error: ld returned 1 exit status