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_38982515_594.cpp:41:11: error: redefinition of 'const long long int mod'
   41 | const int mod = 1e9 + 7;
      |           ^~~
0_0_38982515_594.cpp:9:11: note: 'const long long int mod' previously defined here
    9 | const int mod = 1e9 + 7;
      |           ^~~
0_0_38982515_594.cpp:42:11: error: redefinition of 'const long long int N'
   42 | const int N = 1e6 + 100;
      |           ^
0_0_38982515_594.cpp:10:11: note: 'const long long int N' previously defined here
   10 | const int N = 1e6 + 100;
      |           ^
0_0_38982515_594.cpp:61:8: error: redefinition of 'int main()'
   61 | signed main()
      |        ^~~~
0_0_38982515_594.cpp:13:8: note: 'int main()' previously defined here
   13 | 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-19 00:42:47, Gzip enabled