boxes.cpp: In function 'll delivery(int, int, int, int*)':
boxes.cpp:26:44: warning: declaration of 'll' shadows a global declaration [-Wshadow]
ll delivery(int nn, int kk, int ll, int p[]) {k = kk;l = ll;n = nn;
^
boxes.cpp:16:19: note: shadowed declaration is here
typedef long long ll;
^~
boxes.cpp:29:16: warning: conversion to 'int' from 'll {aka long long int}' may alter its value [-Wconversion]
for(int i = n - 1; i >= 0; i--)
~~^~~
boxes.cpp:36:7: warning: declaration of 'bas' shadows a global declaration [-Wshadow]
int bas = 0, son = (n - i - 1)/n + 1;
^~~
boxes.cpp:19:23: note: shadowed declaration is here
ll n, k, l, cvp, ans, bas[N], son[N];
^~~
boxes.cpp:36:16: warning: declaration of 'son' shadows a global declaration [-Wshadow]
int bas = 0, son = (n - i - 1)/n + 1;
^~~
boxes.cpp:19:31: note: shadowed declaration is here
ll n, k, l, cvp, ans, bas[N], son[N];
^~~
boxes.cpp:36:36: warning: conversion to 'int' from 'll {aka long long int}' may alter its value [-Wconversion]
int bas = 0, son = (n - i - 1)/n + 1;
~~~~~~~~~~~~~~^~~
boxes.cpp:32:6: warning: unused variable 'opt' [-Wunused-variable]
int opt = 0;
^~~