scales.cpp: In constructor 'query::query(int, int, int, int, int)':
scales.cpp:15:43: warning: declaration of 'type' shadows a member of 'query' [-Wshadow]
15 | query(int a, int b, int c, int d, int type): a(a), b(b), c(c), d(d), type(type) {};
| ~~~~^~~~
scales.cpp:13:17: note: shadowed declaration is here
13 | int a,b,c,d,type;
| ^~~~
scales.cpp:15:36: warning: declaration of 'd' shadows a member of 'query' [-Wshadow]
15 | query(int a, int b, int c, int d, int type): a(a), b(b), c(c), d(d), type(type) {};
| ~~~~^
scales.cpp:13:15: note: shadowed declaration is here
13 | int a,b,c,d,type;
| ^
scales.cpp:15:29: warning: declaration of 'c' shadows a member of 'query' [-Wshadow]
15 | query(int a, int b, int c, int d, int type): a(a), b(b), c(c), d(d), type(type) {};
| ~~~~^
scales.cpp:13:13: note: shadowed declaration is here
13 | int a,b,c,d,type;
| ^
scales.cpp:15:22: warning: declaration of 'b' shadows a member of 'query' [-Wshadow]
15 | query(int a, int b, int c, int d, int type): a(a), b(b), c(c), d(d), type(type) {};
| ~~~~^
scales.cpp:13:11: note: shadowed declaration is here
13 | int a,b,c,d,type;
| ^
scales.cpp:15:15: warning: declaration of 'a' shadows a member of 'query' [-Wshadow]
15 | query(int a, int b, int c, int d, int type): a(a), b(b), c(c), d(d), type(type) {};
| ~~~~^
scales.cpp:13:9: note: shadowed declaration is here
13 | int a,b,c,d,type;
| ^
scales.cpp: In constructor 'query::query(int, int, int, int, int)':
scales.cpp:15:43: warning: declaration of 'type' shadows a member of 'query' [-Wshadow]
15 | query(int a, int b, int c, int d, int type): a(a), b(b), c(c), d(d), type(type) {};
| ~~~~^~~~
scales.cpp:13:17: note: shadowed declaration is here
13 | int a,b,c,d,type;
| ^~~~
scales.cpp:15:36: warning: declaration of 'd' shadows a member of 'query' [-Wshadow]
15 | query(int a, int b, int c, int d, int type): a(a), b(b), c(c), d(d), type(type) {};
| ~~~~^
scales.cpp:13:15: note: shadowed declaration is here
13 | int a,b,c,d,type;
| ^
scales.cpp:15:29: warning: declaration of 'c' shadows a member of 'query' [-Wshadow]
15 | query(int a, int b, int c, int d, int type): a(a), b(b), c(c), d(d), type(type) {};
| ~~~~^
scales.cpp:13:13: note: shadowed declaration is here
13 | int a,b,c,d,type;
| ^
scales.cpp:15:22: warning: declaration of 'b' shadows a member of 'query' [-Wshadow]
15 | query(int a, int b, int c, int d, int type): a(a), b(b), c(c), d(d), type(type) {};
| ~~~~^
scales.cpp:13:11: note: shadowed declaration is here
13 | int a,b,c,d,type;
| ^
scales.cpp:15:15: warning: declaration of 'a' shadows a member of 'query' [-Wshadow]
15 | query(int a, int b, int c, int d, int type): a(a), b(b), c(c), d(d), type(type) {};
| ~~~~^
scales.cpp:13:9: note: shadowed declaration is here
13 | int a,b,c,d,type;
| ^
scales.cpp: In constructor 'query::query(int, int, int, int, int)':
scales.cpp:15:43: warning: declaration of 'type' shadows a member of 'query' [-Wshadow]
15 | query(int a, int b, int c, int d, int type): a(a), b(b), c(c), d(d), type(type) {};
| ~~~~^~~~
scales.cpp:13:17: note: shadowed declaration is here
13 | int a,b,c,d,type;
| ^~~~
scales.cpp:15:36: warning: declaration of 'd' shadows a member of 'query' [-Wshadow]
15 | query(int a, int b, int c, int d, int type): a(a), b(b), c(c), d(d), type(type) {};
| ~~~~^
scales.cpp:13:15: note: shadowed declaration is here
13 | int a,b,c,d,type;
| ^
scales.cpp:15:29: warning: declaration of 'c' shadows a member of 'query' [-Wshadow]
15 | query(int a, int b, int c, int d, int type): a(a), b(b), c(c), d(d), type(type) {};
| ~~~~^
scales.cpp:13:13: note: shadowed declaration is here
13 | int a,b,c,d,type;
| ^
scales.cpp:15:22: warning: declaration of 'b' shadows a member of 'query' [-Wshadow]
15 | query(int a, int b, int c, int d, int type): a(a), b(b), c(c), d(d), type(type) {};
| ~~~~^
scales.cpp:13:11: note: shadowed declaration is here
13 | int a,b,c,d,type;
| ^
scales.cpp:15:15: warning: declaration of 'a' shadows a member of 'query' [-Wshadow]
15 | query(int a, int b, int c, int d, int type): a(a), b(b), c(c), d(d), type(type) {};
| ~~~~^
scales.cpp:13:9: note: shadowed declaration is here
13 | int a,b,c,d,type;
| ^
scales.cpp: In function 'void init(int)':
scales.cpp:44:15: warning: unused parameter 'T' [-Wunused-parameter]
44 | void init(int T) {
| ~~~~^
scales.cpp: In function 'void orderCoins()':
scales.cpp:72:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
72 | for(int i = 0; i < 6; i++)
| ^~~
scales.cpp:74:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
74 | answer(ans);
| ^~~~~~