boxes.cpp: In function 'long long int delivery(int, int, int, int*)':
boxes.cpp:22:15: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
for(int i = k; i < lft.size(); i++)
^
boxes.cpp:22:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = k; i < lft.size(); i++)
~~^~~~~~~~~~~~
boxes.cpp:24:15: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
for(int i = k; i < rgt.size(); i++)
^
boxes.cpp:24:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = k; i < rgt.size(); i++)
~~^~~~~~~~~~~~
boxes.cpp:29:16: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
int y = k-i;
~^~
boxes.cpp:30:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
ans = min(ans, (x < lft.size() ? lft[lft.size() - 1 - x] : 0) + (y < rgt.size() ? rgt[rgt.size() - 1 - y] : 0) + L);
~~^~~~~~~~~~~~
boxes.cpp:30:74: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
ans = min(ans, (x < lft.size() ? lft[lft.size() - 1 - x] : 0) + (y < rgt.size() ? rgt[rgt.size() - 1 - y] : 0) + L);
~~^~~~~~~~~~~~