paths.cpp: In function 'bool minimize(T&, const T&)':
paths.cpp:16:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
16 | if(a > b) return a = b, true; return false;
| ^~
paths.cpp:16:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
16 | if(a > b) return a = b, true; return false;
| ^~~~~~
paths.cpp: In function 'bool maximize(T&, const T&)':
paths.cpp:21:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
21 | if(a < b) return a = b, true; return false;
| ^~
paths.cpp:21:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
21 | if(a < b) return a = b, true; return false;
| ^~~~~~
paths.cpp: In instantiation of 'testcase()::<lambda(auto:1, int, int)> [with auto:1 = testcase()::<lambda(auto:1, int, int)>]':
paths.cpp:67:39: required from here
paths.cpp:55:29: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
55 | if(mask >> c[v] & 1 ^ 1){
| ~~~~~~~~~~~~~^~~
paths.cpp: In function 'int main()':
paths.cpp:12:54: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | #define file(name) if(fopen(name".inp", "r")) freopen(name".inp", "r", stdin), freopen(name".out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
paths.cpp:77:5: note: in expansion of macro 'file'
77 | file("task");
| ^~~~
paths.cpp:12:87: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | #define file(name) if(fopen(name".inp", "r")) freopen(name".inp", "r", stdin), freopen(name".out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
paths.cpp:77:5: note: in expansion of macro 'file'
77 | file("task");
| ^~~~