kronican.cpp: In function 'long long int solve(long long int)':
kronican.cpp:45:25: warning: suggest parentheses around '-' inside '>>' [-Wparentheses]
45 | if (BIT(mask, i - 1) == 1)
| ~~^~~
kronican.cpp:20:34: note: in definition of macro 'BIT'
20 | #define BIT(mask, i) ((mask >> i) & 1LL)
| ^
kronican.cpp:47:39: warning: suggest parentheses around '-' inside '>>' [-Wparentheses]
47 | if (i != j && BIT(mask, j - 1) == 1) {
| ~~^~~
kronican.cpp:20:34: note: in definition of macro 'BIT'
20 | #define BIT(mask, i) ((mask >> i) & 1LL)
| ^
kronican.cpp:48:46: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
48 | int newmask = OFFBIT(mask, i - 1);
| ~~^~~
kronican.cpp:22:42: note: in definition of macro 'OFFBIT'
22 | #define OFFBIT(mask, i) (mask &~ (1LL << i))
| ^
kronican.cpp:49:44: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
49 | newmask = ONBIT(newmask, j - 1);
| ~~^~~
kronican.cpp:21:40: note: in definition of macro 'ONBIT'
21 | #define ONBIT(mask, i) (mask | (1LL << i))
| ^
kronican.cpp: In function 'int main()':
kronican.cpp:62:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
62 | freopen(task".inp", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
kronican.cpp:63:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
63 | freopen(task".out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~