F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_36898771_24488.cpp:75:2: error: stray '#' in program
 }#include<bits/stdc++.h>
  ^
0_0_36898771_24488.cpp:75:3: error: 'include' does not name a type
 }#include<bits/stdc++.h>
   ^
0_0_36898771_24488.cpp:78:13: error: redefinition of 'long long int a [500100]'
 int a[500100],q[500100],sss[500100];int n,m;
             ^
0_0_36898771_24488.cpp:4:5: note: 'long long int a [500100]' previously declared here
 int a[500100],q[500100],sss[500100];int n,m;
     ^
0_0_36898771_24488.cpp:78:23: error: redefinition of 'long long int q [500100]'
 int a[500100],q[500100],sss[500100];int n,m;
                       ^
0_0_36898771_24488.cpp:4:15: note: 'long long int q [500100]' previously declared here
 int a[500100],q[500100],sss[500100];int n,m;
               ^
0_0_36898771_24488.cpp:78:35: error: redefinition of 'long long int sss [500100]'
 int a[500100],q[500100],sss[500100];int n,m;
                                   ^
0_0_36898771_24488.cpp:4:25: note: 'long long int sss [500100]' previously declared here
 int a[500100],q[500100],sss[500100];int n,m;
                         ^
0_0_36898771_24488.cpp:78:41: error: redefinition of 'long long int n'
 int a[500100],q[500100],sss[500100];int n,m;
                                         ^
0_0_36898771_24488.cpp:4:41: note: 'long long int n' previously declared here
 int a[500100],q[500100],sss[500100];int n,m;
                                         ^
0_0_36898771_24488.cpp:78:43: error: redefinition of 'long long int m'
 int a[500100],q[500100],sss[500100];int n,m;
                                           ^
0_0_36898771_24488.cpp:4:43: note: 'long long int m' previously declared here
 int a[500100],q[500100],sss[500100];int n,m;
                                           ^
0_0_36898771_24488.cpp:79:8: error: redefinition of 'struct p'
 struct p{
        ^
0_0_36898771_24488.cpp:5:8: error: previous definition of 'struct p'
 struct p{
        ^
0_0_36898771_24488.cpp:84:11: error: invalid type in declaration before ';' token
 }b[500100];
           ^
0_0_36898771_24488.cpp:84:11: error: conflicting declaration 'int b [500100]'
0_0_36898771_24488.cpp:10:2: note: previous declaration as 'p b [500100]'
 }b[500100];
  ^
0_0_36898771_24488.cpp:85:21: error: redefinition of 'std::map<long long int, std::vector<p> > qq'
 map<int,vector<p> > qq;
                     ^
0_0_36898771_24488.cpp:11:21: note: 'std::map<long long int, std::vector<p> > qq' previously declared here
 map<int,vector<p> > qq;
                     ^
0_0_36898771_24488.cpp:86:31: error: redefinition of 'std::map<long long int, std::vector<p> >::iterator it'
 map<int,vector<p> >::iterator it;
                               ^
0_0_36898771_24488.cpp:12:31: note: 'std::map<long long int, std::vector<p> >::iterator it' previously declared here
 map<int,vector<p> >::iterator it;
                               ^
0_0_36898771_24488.cpp:87:14: error: redefinition of 'std::map<long long int, long long int> minr'
 map<int,int> minr;int piancha=0;
              ^
0_0_36898771_24488.cpp:13:14: note: 'std::map<long long int, long long int> minr' previously declared here
 map<int,int> minr;int piancha=0;
              ^
0_0_36898771_24488.cpp:87:23: error: redefinition of 'long long int piancha'
 map<int,int> minr;int piancha=0;
                       ^
0_0_36898771_24488.cpp:13:23: note: 'long long int piancha' previously defined here
 map<int,int> minr;int piancha=0;
                       ^
0_0_36898771_24488.cpp:88:14: error: redefinition of 'std::map<long long int, long long int> anss'
 map<int,int> anss;
              ^
0_0_36898771_24488.cpp:14:14: note: 'std::map<long long int, long long int> anss' previously declared here
 map<int,int> anss;
              ^
0_0_36898771_24488.cpp: In function 'long long int get(long long int)':
0_0_36898771_24488.cpp:89:5: error: redefinition of 'long long int get(long long int)'
 int get(int x){
     ^
0_0_36898771_24488.cpp:15:5: note: 'long long int get(long long int)' previously defined here
 int get(int x){
     ^
0_0_36898771_24488.cpp: In function 'int main()':
0_0_36898771_24488.cpp:92:8: error: redefinition of 'int main()'
 signed main()
        ^
0_0_36898771_24488.cpp:18:8: note: 'int main()' previously defined here
 signed main()
        ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-16 12:42:09, Gzip enabled