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_38635579_24148.cpp:2:12: error: 'long long long' is too long for GCC
 #define ll long long
            ^~~~
0_0_38635579_24148.cpp:36:19: note: in expansion of macro 'll'
 typedef long long ll;
                   ^~
0_0_38635579_24148.cpp:2:17: error: 'long long long' is too long for GCC
 #define ll long long
                 ^~~~
0_0_38635579_24148.cpp:36:19: note: in expansion of macro 'll'
 typedef long long ll;
                   ^~
0_0_38635579_24148.cpp:2:17: error: declaration does not declare anything [-fpermissive]
 #define ll long long
                 ^~~~
0_0_38635579_24148.cpp:36:19: note: in expansion of macro 'll'
 typedef long long ll;
                   ^~
0_0_38635579_24148.cpp:49:5: error: redefinition of 'int n'
 int n, a[maxn];
     ^
0_0_38635579_24148.cpp:8:11: note: 'int n' previously declared here
 int a[N], n;
           ^
0_0_38635579_24148.cpp:49:14: error: conflicting declaration 'int a [1000005]'
 int n, a[maxn];
              ^
0_0_38635579_24148.cpp:8:5: note: previous declaration as 'int a [1000010]'
 int a[N], n;
     ^
0_0_38635579_24148.cpp:50:5: error: redefinition of 'int main()'
 int main()
     ^~~~
0_0_38635579_24148.cpp:10:5: note: 'int main()' previously defined here
 int 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-26 16:05:32, Gzip enabled