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_23370247_17539.cpp:7:9: error: conflicting declaration 'long long int sum'
 __int64 sum,ans = 1;
         ^
0_0_23370247_17539.cpp:6:27: note: previous declaration as 'int sum'
 int n,m,mod,cnt,tot,ans=1,sum;
                           ^
0_0_23370247_17539.cpp:7:13: error: conflicting declaration 'long long int ans'
 __int64 sum,ans = 1;
             ^
0_0_23370247_17539.cpp:6:21: note: previous declaration as 'int ans'
 int n,m,mod,cnt,tot,ans=1,sum;
                     ^


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-10-03 03:21:25, Gzip enabled