foo.cc:28: warning: "assert" redefined
28 | #define assert(...) 917
|
In file included from /usr/include/c++/9/cassert:44,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:33,
from foo.cc:2:
/usr/include/assert.h:92: note: this is the location of the previous definition
92 | # define assert(expr) \
|
foo.cc: In function 'void solve()':
foo.cc:27:20: warning: statement has no effect [-Wunused-value]
27 | #define debug(...) 917
| ^~~
foo.cc:83:9: note: in expansion of macro 'debug'
83 | debug(now);
| ^~~~~
foo.cc: In function 'int main()':
foo.cc:95:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
95 | for(int i=1;i<=ttt;++i)solve();return 0;
| ^~~
foo.cc:95:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
95 | for(int i=1;i<=ttt;++i)solve();return 0;
| ^~~~~~
foo.cc: In instantiation of 'Z<P> Z<P>::inv() const [with int P = 998244353]':
foo.cc:61:81: required from here
foo.cc:28:21: warning: statement has no effect [-Wunused-value]
28 | #define assert(...) 917
| ^~~
foo.cc:54:19: note: in expansion of macro 'assert'
54 | Z inv() const{assert(x!=0);return (*this)^(P-2);}
| ^~~~~~
[Hydro](https://hydro.ac)提供评测服务