scales.cpp: In function 'void orderCoins()':
scales.cpp:27:24: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
27 | ll c = getHeaviest(a, b, 2);
| ^
scales.cpp:27:27: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
27 | ll c = getHeaviest(a, b, 2);
| ^
scales.cpp:29:12: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
29 | w[5] = c;
| ^
scales.cpp:35:30: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
35 | a4 = getHeaviest(b, 2, 3);
| ^
scales.cpp:37:30: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
37 | a4 = getHeaviest(b, 1, 3);
| ^
scales.cpp:39:30: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
39 | a4 = getHeaviest(b, 2, 3);
| ^
scales.cpp:43:30: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
43 | a4 = getHeaviest(a, 5, 6);
| ^
scales.cpp:45:30: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
45 | a4 = getHeaviest(a, 4, 6);
| ^
scales.cpp:47:30: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
47 | a4 = getHeaviest(a, 4, 5);
| ^
scales.cpp:50:12: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
50 | w[4] = a4;
| ^~
scales.cpp:62:41: warning: conversion from '__gnu_cxx::__alloc_traits<std::allocator<long long int>, long long int>::value_type' {aka 'long long int'} to 'int' may change value [-Wconversion]
62 | ll a5 = getHeaviest(v[0], v[1], v[2]);
| ^
scales.cpp:62:41: warning: conversion from '__gnu_cxx::__alloc_traits<std::allocator<long long int>, long long int>::value_type' {aka 'long long int'} to 'int' may change value [-Wconversion]
scales.cpp:62:41: warning: conversion from '__gnu_cxx::__alloc_traits<std::allocator<long long int>, long long int>::value_type' {aka 'long long int'} to 'int' may change value [-Wconversion]
scales.cpp:65:27: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
65 | a66 = getHeaviest(a5, v[2], v[3]);
| ^~
scales.cpp:65:41: warning: conversion from '__gnu_cxx::__alloc_traits<std::allocator<long long int>, long long int>::value_type' {aka 'long long int'} to 'int' may change value [-Wconversion]
65 | a66 = getHeaviest(a5, v[2], v[3]);
| ^
scales.cpp:65:41: warning: conversion from '__gnu_cxx::__alloc_traits<std::allocator<long long int>, long long int>::value_type' {aka 'long long int'} to 'int' may change value [-Wconversion]
scales.cpp:67:27: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
67 | a66 = getHeaviest(a5, v[2], v[3]);
| ^~
scales.cpp:67:41: warning: conversion from '__gnu_cxx::__alloc_traits<std::allocator<long long int>, long long int>::value_type' {aka 'long long int'} to 'int' may change value [-Wconversion]
67 | a66 = getHeaviest(a5, v[2], v[3]);
| ^
scales.cpp:67:41: warning: conversion from '__gnu_cxx::__alloc_traits<std::allocator<long long int>, long long int>::value_type' {aka 'long long int'} to 'int' may change value [-Wconversion]
scales.cpp:69:27: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
69 | a66 = getHeaviest(a5, v[1], v[3]);
| ^~
scales.cpp:69:41: warning: conversion from '__gnu_cxx::__alloc_traits<std::allocator<long long int>, long long int>::value_type' {aka 'long long int'} to 'int' may change value [-Wconversion]
69 | a66 = getHeaviest(a5, v[1], v[3]);
| ^
scales.cpp:69:41: warning: conversion from '__gnu_cxx::__alloc_traits<std::allocator<long long int>, long long int>::value_type' {aka 'long long int'} to 'int' may change value [-Wconversion]
scales.cpp:71:12: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
71 | w[3] = a66;
| ^~~
scales.cpp:80:44: warning: conversion from '__gnu_cxx::__alloc_traits<std::allocator<long long int>, long long int>::value_type' {aka 'long long int'} to 'int' may change value [-Wconversion]
80 | ll a7 = getHeaviest(v1[0], v1[1], v1[2]);
| ^
scales.cpp:80:44: warning: conversion from '__gnu_cxx::__alloc_traits<std::allocator<long long int>, long long int>::value_type' {aka 'long long int'} to 'int' may change value [-Wconversion]
scales.cpp:80:44: warning: conversion from '__gnu_cxx::__alloc_traits<std::allocator<long long int>, long long int>::value_type' {aka 'long long int'} to 'int' may change value [-Wconversion]
scales.cpp:81:44: warning: conversion from '__gnu_cxx::__alloc_traits<std::allocator<long long int>, long long int>::value_type' {aka 'long long int'} to 'int' may change value [-Wconversion]
81 | ll a8 = getLightest(v1[0], v1[1], v1[2]);
| ^
scales.cpp:81:44: warning: conversion from '__gnu_cxx::__alloc_traits<std::allocator<long long int>, long long int>::value_type' {aka 'long long int'} to 'int' may change value [-Wconversion]
scales.cpp:81:44: warning: conversion from '__gnu_cxx::__alloc_traits<std::allocator<long long int>, long long int>::value_type' {aka 'long long int'} to 'int' may change value [-Wconversion]
scales.cpp:85:20: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
85 | w[2] = a7;
| ^~
scales.cpp:87:20: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
87 | w[0] = a8;
| ^~
scales.cpp:89:24: warning: conversion from '__gnu_cxx::__alloc_traits<std::allocator<long long int>, long long int>::value_type' {aka 'long long int'} to 'int' may change value [-Wconversion]
89 | w[1] = v1[i];
| ^