scales.cpp: In function 'void init(int)':
scales.cpp:5:15: warning: unused parameter 'T' [-Wunused-parameter]
void init(int T) {
^
scales.cpp: In function 'void orderCoins()':
scales.cpp:13:30: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
int tmp=getHeaviest(a,b,c);
^
scales.cpp:13:30: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
scales.cpp:13:30: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
scales.cpp:24:32: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
tmp=getNextLightest(a,b,c,d);
^
scales.cpp:24:32: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
scales.cpp:24:32: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
scales.cpp:24:32: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
scales.cpp:28:30: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
tmp=getLightest(b,c,d);
^
scales.cpp:28:30: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
scales.cpp:28:30: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
scales.cpp:36:30: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
tmp=getHeaviest(b,c,d);
^
scales.cpp:36:30: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
scales.cpp:36:30: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
scales.cpp:52:30: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
tmp=getHeaviest(b,c,d);
^
scales.cpp:52:30: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
scales.cpp:52:30: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
scales.cpp:66:24: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
tmp=getMedian(b,c,e);
^
scales.cpp:66:24: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
scales.cpp:66:24: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
scales.cpp:69:15: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
int t=e;
^
scales.cpp:74:30: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
tmp=getHeaviest(a,b,c);
^
scales.cpp:74:30: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
scales.cpp:74:30: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
scales.cpp:82:15: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
int t=e;
^
scales.cpp:89:30: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
tmp=getLightest(c,d,e);
^
scales.cpp:89:30: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
scales.cpp:89:30: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
scales.cpp:96:32: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
tmp=getNextLightest(a,c,e,f);
^
scales.cpp:96:32: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
scales.cpp:96:32: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
scales.cpp:96:32: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
scales.cpp:99:15: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
int t=f;
^
scales.cpp:104:30: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
tmp=getLightest(a,b,c);
^
scales.cpp:104:30: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
scales.cpp:104:30: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
scales.cpp:112:15: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
int t=f;
^
scales.cpp:115:30: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
tmp=getLightest(c,d,e);
^
scales.cpp:115:30: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
scales.cpp:115:30: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
scales.cpp:123:30: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
tmp=getLightest(d,e,f);
^
scales.cpp:123:30: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
scales.cpp:123:30: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
scales.cpp:126:19: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
int t=f;
^
scales.cpp:136:25: warning: narrowing conversion of 'f' from 'long long int' to 'int' inside { } [-Wnarrowing]
int W[]={f,e,d,c,b,a};
^
scales.cpp:136:25: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
scales.cpp:136:25: warning: narrowing conversion of 'e' from 'long long int' to 'int' inside { } [-Wnarrowing]
scales.cpp:136:25: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
scales.cpp:136:25: warning: narrowing conversion of 'd' from 'long long int' to 'int' inside { } [-Wnarrowing]
scales.cpp:136:25: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
scales.cpp:136:25: warning: narrowing conversion of 'c' from 'long long int' to 'int' inside { } [-Wnarrowing]
scales.cpp:136:25: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
scales.cpp:136:25: warning: narrowing conversion of 'b' from 'long long int' to 'int' inside { } [-Wnarrowing]
scales.cpp:136:25: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
scales.cpp:136:25: warning: narrowing conversion of 'a' from 'long long int' to 'int' inside { } [-Wnarrowing]
scales.cpp:136:25: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]