boxes.cpp: In function 'll delivery(int, int, int, int*)':
boxes.cpp:25:43: warning: declaration of 'll' shadows a global declaration [-Wshadow]
ll delivery(int n, int kk, int ll, int p[]) {k = kk;l = ll;
^
boxes.cpp:16:19: note: shadowed declaration is here
typedef long long ll;
^~
boxes.cpp:35:7: warning: declaration of 'bas' shadows a global declaration [-Wshadow]
int bas = 0, son = (n - i - 1)/n + 1;
^~~
boxes.cpp:19:20: note: shadowed declaration is here
ll k, l, cvp, ans, bas[N], son[N];
^~~
boxes.cpp:35:16: warning: declaration of 'son' shadows a global declaration [-Wshadow]
int bas = 0, son = (n - i - 1)/n + 1;
^~~
boxes.cpp:19:28: note: shadowed declaration is here
ll k, l, cvp, ans, bas[N], son[N];
^~~
boxes.cpp:37:23: warning: conversion to 'int' from 'll {aka long long int}' may alter its value [-Wconversion]
if(ansver(i, i + 1 + orta*k) >= ansver(i, i + 1 + k + orta*k))
~~~~~~^~~~~~~~
boxes.cpp:37:56: warning: conversion to 'int' from 'll {aka long long int}' may alter its value [-Wconversion]
if(ansver(i, i + 1 + orta*k) >= ansver(i, i + 1 + k + orta*k))
~~~~~~~~~~^~~~~~~~
boxes.cpp:51:34: warning: conversion to 'int' from 'll {aka long long int}' may alter its value [-Wconversion]
ans = min(ans, ansver(i, i + 1 + orta*k));
~~~~~~^~~~~~~~
boxes.cpp:31:6: warning: unused variable 'opt' [-Wunused-variable]
int opt = 0;
^~~