0_0_37757159_31097.cpp:152:11: error: redefinition of 'const int mod'
const int mod = 998244353;
^
0_0_37757159_31097.cpp:4:11: note: 'const int mod' previously defined here
const int mod = 998244353;
^
0_0_37757159_31097.cpp: In function 'int add(int, int)':
0_0_37757159_31097.cpp:154:5: error: redefinition of 'int add(int, int)'
int add(int a, int b) {
^
0_0_37757159_31097.cpp:6:5: note: 'int add(int, int)' previously defined here
int add(int a, int b) {
^
0_0_37757159_31097.cpp: In function 'void _add(int&, int)':
0_0_37757159_31097.cpp:157:6: error: redefinition of 'void _add(int&, int)'
void _add(int & a, int b) {
^
0_0_37757159_31097.cpp:9:6: note: 'void _add(int&, int)' previously defined here
void _add(int & a, int b) {
^
0_0_37757159_31097.cpp: In function 'int sub(int, int)':
0_0_37757159_31097.cpp:160:5: error: redefinition of 'int sub(int, int)'
int sub(int a, int b) {
^
0_0_37757159_31097.cpp:12:5: note: 'int sub(int, int)' previously defined here
int sub(int a, int b) {
^
0_0_37757159_31097.cpp: In function 'int mul(int, int)':
0_0_37757159_31097.cpp:163:5: error: redefinition of 'int mul(int, int)'
int mul(int a, int b) {
^
0_0_37757159_31097.cpp:15:5: note: 'int mul(int, int)' previously defined here
int mul(int a, int b) {
^
0_0_37757159_31097.cpp: In function 'int power(int, int)':
0_0_37757159_31097.cpp:167:5: error: redefinition of 'int power(int, int)'
int power(int a, int b){
^
0_0_37757159_31097.cpp:19:5: note: 'int power(int, int)' previously defined here
int power(int a, int b){
^
0_0_37757159_31097.cpp: At global scope:
0_0_37757159_31097.cpp:176:16: error: redefinition of 'int INV [1000005]'
int INV[1000005];
^
0_0_37757159_31097.cpp:28:5: note: 'int INV [1000005]' previously declared here
int INV[1000005];
^
0_0_37757159_31097.cpp: In function 'int inv(int)':
0_0_37757159_31097.cpp:177:5: error: redefinition of 'int inv(int)'
int inv(int x) {
^
0_0_37757159_31097.cpp:29:5: note: 'int inv(int)' previously defined here
int inv(int x) {
^
0_0_37757159_31097.cpp: In function 'int Div(int, int)':
0_0_37757159_31097.cpp:182:5: error: redefinition of 'int Div(int, int)'
int Div(int a, int b) {
^
0_0_37757159_31097.cpp:34:5: note: 'int Div(int, int)' previously defined here
int Div(int a, int b) {
^
0_0_37757159_31097.cpp: In function 'void solve()':
0_0_37757159_31097.cpp:186:6: error: redefinition of 'void solve()'
void solve()
^
0_0_37757159_31097.cpp:38:6: note: 'void solve()' previously defined here
void solve()
^
0_0_37757159_31097.cpp: In function 'int main()':
0_0_37757159_31097.cpp:284:8: error: redefinition of 'int main()'
signed main()
^
0_0_37757159_31097.cpp:136:8: note: 'int main()' previously defined here
signed main()
^
|