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_37603851_23954.cpp:14:20: error: conflicting declaration 'long long unsigned int P'
 unsigned long long P = 13331, nP[N], h[N];
                    ^
0_0_37603851_23954.cpp:12:24: note: previous declaration as 'const long long int P'
 const int N = 1e5 + 5, P = 13331, mod = 1e9 + 7;
                        ^
0_0_37603851_23954.cpp:19:10: error: '::main' must return 'int'
 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-29 20:44:38, Gzip enabled