scales.cpp: In constructor 'node::node(int, int, int, int)':
scales.cpp:37:38: warning: declaration of 'id' shadows a member of 'node' [-Wshadow]
37 | node(int a , int b , int c , int id): a(a), b(b), c(c), id(id) {}
| ~~~~^~
scales.cpp:35:21: note: shadowed declaration is here
35 | int a , b , c , id;
| ^~
scales.cpp:37:30: warning: declaration of 'c' shadows a member of 'node' [-Wshadow]
37 | node(int a , int b , int c , int id): a(a), b(b), c(c), id(id) {}
| ~~~~^
scales.cpp:35:17: note: shadowed declaration is here
35 | int a , b , c , id;
| ^
scales.cpp:37:22: warning: declaration of 'b' shadows a member of 'node' [-Wshadow]
37 | node(int a , int b , int c , int id): a(a), b(b), c(c), id(id) {}
| ~~~~^
scales.cpp:35:13: note: shadowed declaration is here
35 | int a , b , c , id;
| ^
scales.cpp:37:14: warning: declaration of 'a' shadows a member of 'node' [-Wshadow]
37 | node(int a , int b , int c , int id): a(a), b(b), c(c), id(id) {}
| ~~~~^
scales.cpp:35:9: note: shadowed declaration is here
35 | int a , b , c , id;
| ^
scales.cpp: In constructor 'node::node(int, int, int, int)':
scales.cpp:37:38: warning: declaration of 'id' shadows a member of 'node' [-Wshadow]
37 | node(int a , int b , int c , int id): a(a), b(b), c(c), id(id) {}
| ~~~~^~
scales.cpp:35:21: note: shadowed declaration is here
35 | int a , b , c , id;
| ^~
scales.cpp:37:30: warning: declaration of 'c' shadows a member of 'node' [-Wshadow]
37 | node(int a , int b , int c , int id): a(a), b(b), c(c), id(id) {}
| ~~~~^
scales.cpp:35:17: note: shadowed declaration is here
35 | int a , b , c , id;
| ^
scales.cpp:37:22: warning: declaration of 'b' shadows a member of 'node' [-Wshadow]
37 | node(int a , int b , int c , int id): a(a), b(b), c(c), id(id) {}
| ~~~~^
scales.cpp:35:13: note: shadowed declaration is here
35 | int a , b , c , id;
| ^
scales.cpp:37:14: warning: declaration of 'a' shadows a member of 'node' [-Wshadow]
37 | node(int a , int b , int c , int id): a(a), b(b), c(c), id(id) {}
| ~~~~^
scales.cpp:35:9: note: shadowed declaration is here
35 | int a , b , c , id;
| ^
scales.cpp: In constructor 'node::node(int, int, int, int)':
scales.cpp:37:38: warning: declaration of 'id' shadows a member of 'node' [-Wshadow]
37 | node(int a , int b , int c , int id): a(a), b(b), c(c), id(id) {}
| ~~~~^~
scales.cpp:35:21: note: shadowed declaration is here
35 | int a , b , c , id;
| ^~
scales.cpp:37:30: warning: declaration of 'c' shadows a member of 'node' [-Wshadow]
37 | node(int a , int b , int c , int id): a(a), b(b), c(c), id(id) {}
| ~~~~^
scales.cpp:35:17: note: shadowed declaration is here
35 | int a , b , c , id;
| ^
scales.cpp:37:22: warning: declaration of 'b' shadows a member of 'node' [-Wshadow]
37 | node(int a , int b , int c , int id): a(a), b(b), c(c), id(id) {}
| ~~~~^
scales.cpp:35:13: note: shadowed declaration is here
35 | int a , b , c , id;
| ^
scales.cpp:37:14: warning: declaration of 'a' shadows a member of 'node' [-Wshadow]
37 | node(int a , int b , int c , int id): a(a), b(b), c(c), id(id) {}
| ~~~~^
scales.cpp:35:9: note: shadowed declaration is here
35 | int a , b , c , id;
| ^
scales.cpp: In function 'void init(int)':
scales.cpp:78:15: warning: unused parameter 'T' [-Wunused-parameter]
78 | void init(int T) {
| ~~~~^
scales.cpp: In function 'int light(int, int, int, int, int)':
scales.cpp:89:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
89 | for (int i = 0; i < f[id - 1].size() ; i++)
| ~~^~~~~~~~~~~~~~~~~~
scales.cpp: In function 'int Heaviest(int, int, int, int, int)':
scales.cpp:107:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
107 | for (int i = 0; i < f[id - 1].size() ; i++)
| ~~^~~~~~~~~~~~~~~~~~
scales.cpp: In function 'int Median(int, int, int, int, int)':
scales.cpp:125:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
125 | for (int i = 0; i < f[id - 1].size() ; i++)
| ~~^~~~~~~~~~~~~~~~~~
scales.cpp: In function 'void orderCoins()':
scales.cpp:155:13: warning: unused variable 'd' [-Wunused-variable]
155 | int d = 0;
| ^