boxes.cpp: In function 'void find1()':
boxes.cpp:14:18: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
int l = 1 , r = n;
^
boxes.cpp: In function 'int delivery(int, int, int, int*)':
boxes.cpp:27:5: error: ambiguating new declaration of 'int delivery(int, int, int, int*)'
int delivery(int n1,int k,int L1,int ps[]){
^~~~~~~~
In file included from boxes.cpp:2:0:
boxes.h:4:11: note: old declaration 'long long int delivery(int, int, int, int*)'
long long delivery(int N, int K, int L, int p[]);
^~~~~~~~
boxes.cpp:53:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^