boxes.cpp: In function 'll dis(ll, ll)':
boxes.cpp:18:24: warning: declaration of 'l' shadows a global declaration [-Wshadow]
18 | inline ll dis(ll a, ll l)
| ~~~^
boxes.cpp:17:17: note: shadowed declaration is here
17 | ll ans=0, n, k, l, A[maxn];
| ^
boxes.cpp: In function 'll delivery(ll, ll, ll, ll*)':
boxes.cpp:22:34: warning: declaration of 'A' shadows a global declaration [-Wshadow]
22 | ll delivery(ll n, ll k, ll l, ll A[])
| ~~~^~~
boxes.cpp:17:20: note: shadowed declaration is here
17 | ll ans=0, n, k, l, A[maxn];
| ^
boxes.cpp:22:28: warning: declaration of 'l' shadows a global declaration [-Wshadow]
22 | ll delivery(ll n, ll k, ll l, ll A[])
| ~~~^
boxes.cpp:17:17: note: shadowed declaration is here
17 | ll ans=0, n, k, l, A[maxn];
| ^
boxes.cpp:22:22: warning: declaration of 'k' shadows a global declaration [-Wshadow]
22 | ll delivery(ll n, ll k, ll l, ll A[])
| ~~~^
boxes.cpp:17:14: note: shadowed declaration is here
17 | ll ans=0, n, k, l, A[maxn];
| ^
boxes.cpp:22:16: warning: declaration of 'n' shadows a global declaration [-Wshadow]
22 | ll delivery(ll n, ll k, ll l, ll A[])
| ~~~^
boxes.cpp:17:11: note: shadowed declaration is here
17 | ll ans=0, n, k, l, A[maxn];
| ^
boxes.cpp:24:23: warning: declaration of 'ans' shadows a global declaration [-Wshadow]
24 | ll a = -1, b = n, ans = 0;
| ^~~
boxes.cpp:17:4: note: shadowed declaration is here
17 | ll ans=0, n, k, l, A[maxn];
| ^~~
/usr/bin/ld: /tmp/cc7RHvRS.o: in function `main':
grader.c:(.text.startup+0x1ef): undefined reference to `delivery(int, int, int, int*)'
collect2: error: ld returned 1 exit status