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_39489808_12317.cpp:60:17: error: redefinition of 'const long long int mod'
   60 | const long long mod = 1;
      |                 ^~~
0_0_39489808_12317.cpp:11:17: note: 'const long long int mod' previously defined here
   11 | const long long mod = 1;
      |                 ^~~
0_0_39489808_12317.cpp:61:11: error: redefinition of 'long long int arr [100005]'
   61 | long long arr[100005]{};
      |           ^~~
0_0_39489808_12317.cpp:12:11: note: 'long long int arr [100005]' previously defined here
   12 | long long arr[100005]{};
      |           ^~~
0_0_39489808_12317.cpp:62:6: error: redefinition of 'void solve()'
   62 | void solve()
      |      ^~~~~
0_0_39489808_12317.cpp:13:6: note: 'void solve()' previously defined here
   13 | void solve()
      |      ^~~~~
0_0_39489808_12317.cpp:89:5: error: redefinition of 'int main()'
   89 | int main()
      |     ^~~~
0_0_39489808_12317.cpp:39:5: note: 'int main()' previously defined here
   39 | 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-09-20 06:02:04, Gzip enabled