In file included from grader.c:2:0:
graderlib.c: In function 'void answer(int*)':
graderlib.c:53:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (_ghksjhdfkae19ga_ > 1)
^~
graderlib.c:56:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
for (i = 0; i < 6; i++) {
^~~
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 'int getLight(std::vector<int>)':
scales.cpp:13:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (u3 >= V.size()) {
~~~^~~~~~~~~~~
scales.cpp:14:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < V.size(); i++) { if (V[u1] != V[i] && V[u2] != V[i]) { u3 = V[i]; break; } }
~~^~~~~~~~~~
scales.cpp: In function 'void orderCoins()':
scales.cpp:28:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
vector<int> LL; for (int j = 0; j < L.size(); j++) { if (L[j] != P) LL.push_back(L[j]); }
~~^~~~~~~~~~
scales.cpp:36:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
bool flag = false; for (int j = 0; j < vec.size(); j++) { if (vec[j] == i) flag = true; }
~~^~~~~~~~~~~~