boxes.cpp: In function 'long long int delivery(int, int, int, int*)':
boxes.cpp:19:17: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
19 | time += dist(place, l);
| ^~~~~
boxes.cpp:22:35: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
22 | time += std::min(abs(pos[i - 1] - place), l - abs(pos[i - 1] - place));
| ~~~~~~~~~~~^~~~~~~
boxes.cpp:22:64: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
22 | time += std::min(abs(pos[i - 1] - place), l - abs(pos[i - 1] - place));
| ~~~~~~~~~~~^~~~~~~
boxes.cpp:24:28: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
24 | right[i] = { time + dist(place, l) };
| ^~~~~
boxes.cpp:32:17: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
32 | time += dist(place, l);
| ^~~~~
boxes.cpp:35:31: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
35 | time += std::min(abs(pos[j] - place), l - abs(pos[j] - place));
| ~~~~~~~^~~~~~~
boxes.cpp:35:56: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
35 | time += std::min(abs(pos[j] - place), l - abs(pos[j] - place));
| ~~~~~~~^~~~~~~
boxes.cpp:37:27: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
37 | left[i] = { time + dist(place, l) };
| ^~~~~