scales.cpp: In function 'void init(int)':
scales.cpp:13:15: warning: unused parameter 'T' [-Wunused-parameter]
13 | void init(int T){
| ~~~~^
scales.cpp: In instantiation of 'void merge_sort(it, it, t&&) [with it = int*; t = orderCoins()::<lambda(int, int)>]':
scales.cpp:42:6: required from here
scales.cpp:19:14: warning: conversion from 'long int' to 'int' may change value [-Wconversion]
19 | int n = r-l;
| ~^~
scales.cpp: In instantiation of 'void merge_sort(it, it, t&&) [with it = int*; t = orderCoins()::<lambda(int, int)>&]':
scales.cpp:22:15: required from 'void merge_sort(it, it, t&&) [with it = int*; t = orderCoins()::<lambda(int, int)>]'
scales.cpp:42:6: required from here
scales.cpp:19:14: warning: conversion from 'long int' to 'int' may change value [-Wconversion]