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_37685519_11413.cpp:61:11: error: redefinition of 'const long long int N'
 const int N = 1e5 + 7;
           ^
0_0_37685519_11413.cpp:7:11: note: 'const long long int N' previously defined here
 const int N = 1e5 + 7;
           ^
0_0_37685519_11413.cpp:62:8: error: redefinition of 'long long int a [100007]'
 int a[N];
        ^
0_0_37685519_11413.cpp:8:5: note: 'long long int a [100007]' previously declared here
 int a[N];
     ^
0_0_37685519_11413.cpp: In function 'int main()':
0_0_37685519_11413.cpp:64:8: error: redefinition of 'int main()'
 signed main() {
        ^
0_0_37685519_11413.cpp:10:8: note: 'int main()' previously defined here
 signed main() {
        ^
0_0_37685519_11413.cpp: At global scope:
0_0_37685519_11413.cpp:115:11: error: redefinition of 'const long long int N'
 const int N = 1e5 + 7;
           ^
0_0_37685519_11413.cpp:7:11: note: 'const long long int N' previously defined here
 const int N = 1e5 + 7;
           ^
0_0_37685519_11413.cpp:116:8: error: redefinition of 'long long int a [100007]'
 int a[N];
        ^
0_0_37685519_11413.cpp:8:5: note: 'long long int a [100007]' previously declared here
 int a[N];
     ^
0_0_37685519_11413.cpp: In function 'int main()':
0_0_37685519_11413.cpp:118:8: error: redefinition of 'int main()'
 signed main() {
        ^
0_0_37685519_11413.cpp:10: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-09-17 16:20:40, Gzip enabled