0_0_22892681_30281.cpp:27:2: error: stray '#' in program
}#include <bits/stdc++.h>
^
0_0_22892681_30281.cpp:27:3: error: 'include' does not name a type
}#include <bits/stdc++.h>
^
0_0_22892681_30281.cpp:31:10: error: redefinition of 'const LL p'
const LL p=1000000007;
^
0_0_22892681_30281.cpp:5:10: note: 'const LL p' previously defined here
const LL p=1000000007;
^
0_0_22892681_30281.cpp: In function 'void sim(LL&, LL)':
0_0_22892681_30281.cpp:33:13: error: redefinition of 'void sim(LL&, LL)'
inline void sim(LL &a, LL n){ a%=n; if (a<0) a+=n; }
^
0_0_22892681_30281.cpp:7:13: note: 'void sim(LL&, LL)' previously defined here
inline void sim(LL &a, LL n){ a%=n; if (a<0) a+=n; }
^
0_0_22892681_30281.cpp: In function 'void gcd(LL, LL, LL&, LL&, LL&)':
0_0_22892681_30281.cpp:35:6: error: redefinition of 'void gcd(LL, LL, LL&, LL&, LL&)'
void gcd(LL a, LL b, LL &d, LL &x, LL &y){
^
0_0_22892681_30281.cpp:9:6: note: 'void gcd(LL, LL, LL&, LL&, LL&)' previously defined here
void gcd(LL a, LL b, LL &d, LL &x, LL &y){
^
0_0_22892681_30281.cpp: In function 'LL getinv(LL, LL)':
0_0_22892681_30281.cpp:40:11: error: redefinition of 'LL getinv(LL, LL)'
inline LL getinv(LL a, LL n){
^
0_0_22892681_30281.cpp:14:11: note: 'LL getinv(LL, LL)' previously defined here
inline LL getinv(LL a, LL n){
^
0_0_22892681_30281.cpp: In function 'LL get1(LL)':
0_0_22892681_30281.cpp:47:4: error: redefinition of 'LL get1(LL)'
LL get1(LL x){
^
0_0_22892681_30281.cpp:21:4: note: 'LL get1(LL)' previously defined here
LL get1(LL x){
^
0_0_22892681_30281.cpp: In function 'LL get2(LL)':
0_0_22892681_30281.cpp:50:4: error: redefinition of 'LL get2(LL)'
LL get2(LL x){
^
0_0_22892681_30281.cpp:24:4: note: 'LL get2(LL)' previously defined here
LL get2(LL x){
^
0_0_22892681_30281.cpp: In function 'LL get3(LL)':
0_0_22892681_30281.cpp:81:4: error: redefinition of 'LL get3(LL)'
LL get3(LL x){
^
0_0_22892681_30281.cpp:54:4: note: 'LL get3(LL)' previously defined here
LL get3(LL x){
^
0_0_22892681_30281.cpp: In function 'LL solve()':
0_0_22892681_30281.cpp:86:4: error: redefinition of 'LL solve()'
LL solve(){
^
0_0_22892681_30281.cpp:59:4: note: 'LL solve()' previously defined here
LL solve(){
^
0_0_22892681_30281.cpp: In function 'int main()':
0_0_22892681_30281.cpp:102:5: error: redefinition of 'int main()'
int main(){
^
0_0_22892681_30281.cpp:75:5: note: 'int main()' previously defined here
int main(){
^
|