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_26419743_5956.cpp:6:5: error: conflicting declaration 'int N'
 int N,a,b;
     ^
0_0_26419743_5956.cpp:4:21: note: previous declaration as 'const long long int N'
 const long long int N = 2147493647;   
                     ^
0_0_26419743_5956.cpp: In function 'int main()':
0_0_26419743_5956.cpp:61:10: error: assignment of read-only variable 'N'
         N=N-2;
          ^
0_0_26419743_5956.cpp:66:11: error: assignment of read-only variable 'N'
          N=N/2;
           ^
0_0_26419743_5956.cpp:69:34: error: 'mod' was not declared in this scope
         sum=(sum+b*center[0][0])%mod;
                                  ^


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-07-05 17:06:14, Gzip enabled