0_0_32134752_28240.cpp:86:1: error: stray '\310' in program
Èí¼þÁÖ×ÓÅí 2020/1/14 14:43:23
^
0_0_32134752_28240.cpp:86:1: error: stray '\355' in program
0_0_32134752_28240.cpp:86:1: error: stray '\274' in program
0_0_32134752_28240.cpp:86:1: error: stray '\376' in program
0_0_32134752_28240.cpp:86:1: error: stray '\301' in program
0_0_32134752_28240.cpp:86:1: error: stray '\326' in program
0_0_32134752_28240.cpp:86:1: error: stray '\327' in program
0_0_32134752_28240.cpp:86:1: error: stray '\323' in program
0_0_32134752_28240.cpp:86:1: error: stray '\305' in program
0_0_32134752_28240.cpp:86:1: error: stray '\355' in program
0_0_32134752_28240.cpp:85:1: error: expected unqualified-id before numeric constant
14:43:23
^
0_0_32134752_28240.cpp:116:11: error: redefinition of 'const int inf'
const int inf = 0x3f3f3f3f;
^
0_0_32134752_28240.cpp:29:11: note: 'const int inf' previously defined here
const int inf = 0x3f3f3f3f;
^
0_0_32134752_28240.cpp:117:11: error: redefinition of 'const int mod'
const int mod = 9973;
^
0_0_32134752_28240.cpp:30:11: note: 'const int mod' previously defined here
const int mod = 9973;
^
0_0_32134752_28240.cpp:118:14: error: redefinition of 'const double eps'
const double eps = 1e-8;
^
0_0_32134752_28240.cpp:31:14: note: 'const double eps' previously defined here
const double eps = 1e-8;
^
0_0_32134752_28240.cpp: In function 'long long int gcd(long long int, long long int)':
0_0_32134752_28240.cpp:119:4: error: redefinition of 'long long int gcd(long long int, long long int)'
ll gcd(ll a, ll b) {return b==0?a:gcd(b, a%b);}
^
0_0_32134752_28240.cpp:32:4: note: 'long long int gcd(long long int, long long int)' previously defined here
ll gcd(ll a, ll b) {return b==0?a:gcd(b, a%b);}
^
0_0_32134752_28240.cpp: In function 'long long int lcm(long long int, long long int)':
0_0_32134752_28240.cpp:120:4: error: redefinition of 'long long int lcm(long long int, long long int)'
ll lcm(ll a, ll b) {return a/gcd(a, b)*b;}
^
0_0_32134752_28240.cpp:33:4: note: 'long long int lcm(long long int, long long int)' previously defined here
ll lcm(ll a, ll b) {return a/gcd(a, b)*b;}
^
0_0_32134752_28240.cpp: In function 'long long int powmod(long long int, long long int)':
0_0_32134752_28240.cpp:121:4: error: redefinition of 'long long int powmod(long long int, long long int)'
ll powmod(ll a,ll b){
^
0_0_32134752_28240.cpp:34:4: note: 'long long int powmod(long long int, long long int)' previously defined here
ll powmod(ll a,ll b){
^
0_0_32134752_28240.cpp: In function 'long long int qp(long long int, long long int)':
0_0_32134752_28240.cpp:128:4: error: redefinition of 'long long int qp(long long int, long long int)'
ll qp(ll a,ll b) {ll res=1;a%=mod; assert(b>=0); for(;b;b>>=1){if(b&1)res=res*a%mod;a=a*a%mod;}return res;}
^
0_0_32134752_28240.cpp:41:4: note: 'long long int qp(long long int, long long int)' previously defined here
ll qp(ll a,ll b) {ll res=1;a%=mod; assert(b>=0); for(;b;b>>=1){if(b&1)res=res*a%mod;a=a*a%mod;}return res;}
^
0_0_32134752_28240.cpp: At global scope:
0_0_32134752_28240.cpp:131:5: error: redefinition of 'int n'
int n;
^
0_0_32134752_28240.cpp:44:5: note: 'int n' previously declared here
int n;
^
0_0_32134752_28240.cpp:132:8: error: redefinition of 'struct P'
struct P{
^
0_0_32134752_28240.cpp:45:8: error: previous definition of 'struct P'
struct P{
^
0_0_32134752_28240.cpp:134:3: error: invalid type in declaration before ',' token
}s,p[maxn];
^
0_0_32134752_28240.cpp:134:3: error: conflicting declaration 'int s'
0_0_32134752_28240.cpp:47:2: note: previous declaration as 'P s'
}s,p[maxn];
^
0_0_32134752_28240.cpp:134:10: error: conflicting declaration 'int p [50005]'
}s,p[maxn];
^
0_0_32134752_28240.cpp:47:4: note: previous declaration as 'P p [50005]'
}s,p[maxn];
^
0_0_32134752_28240.cpp:135:8: error: redefinition of 'double delta'
double delta,ans;
^
0_0_32134752_28240.cpp:48:8: note: 'double delta' previously declared here
double delta,ans;
^
0_0_32134752_28240.cpp:135:14: error: redefinition of 'double ans'
double delta,ans;
^
0_0_32134752_28240.cpp:48:14: note: 'double ans' previously declared here
double delta,ans;
^
0_0_32134752_28240.cpp:136:8: error: redefinition of 'double maxx'
double maxx,minn;
^
0_0_32134752_28240.cpp:49:8: note: 'double maxx' previously declared here
double maxx,minn;
^
0_0_32134752_28240.cpp:136:13: error: redefinition of 'double minn'
double maxx,minn;
^
0_0_32134752_28240.cpp:49:13: note: 'double minn' previously declared here
double maxx,minn;
^
0_0_32134752_28240.cpp: In function 'double dis(P, P)':
0_0_32134752_28240.cpp:137:8: error: redefinition of 'double dis(P, P)'
double dis(P a,P b) {
^
0_0_32134752_28240.cpp:50:8: note: 'double dis(P, P)' previously defined here
double dis(P a,P b) {
^
0_0_32134752_28240.cpp: In function 'void sa()':
0_0_32134752_28240.cpp:141:6: error: redefinition of 'void sa()'
void sa() {
^
0_0_32134752_28240.cpp:54:6: note: 'void sa()' previously defined here
void sa() {
^
0_0_32134752_28240.cpp: In function 'int main()':
0_0_32134752_28240.cpp:93:20: error: redefinition of 'int main()'
#define main() int main()
^
0_0_32134752_28240.cpp:158:1: note: in expansion of macro 'main'
main() {
^
0_0_32134752_28240.cpp:6:20: note: 'int main()' previously defined here
#define main() int main()
^
0_0_32134752_28240.cpp:71:1: note: in expansion of macro 'main'
main() {
^
|