scales.cpp: In function 'void init(int)':
scales.cpp:10:15: warning: unused parameter 'T' [-Wunused-parameter]
10 | 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:39:6: required from here
scales.cpp:15:14: warning: conversion from 'long int' to 'int' may change value [-Wconversion]
15 | 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:18:15: required from 'void merge_sort(it, it, t&&) [with it = int*; t = orderCoins()::<lambda(int, int)>]'
scales.cpp:39:6: required from here
scales.cpp:15:14: warning: conversion from 'long int' to 'int' may change value [-Wconversion]