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_38621373_31896.cpp:5:19: error: redefinition of 'long long int ans'
 int t,cnt,ans,a,b,ans,mu[maxn],p[maxn];
                   ^~~
0_0_38621373_31896.cpp:5:11: note: 'long long int ans' previously declared here
 int t,cnt,ans,a,b,ans,mu[maxn],p[maxn];
           ^~~
0_0_38621373_31896.cpp: In function 'int main()':
0_0_38621373_31896.cpp:40:25: error: 'tmp1' was not declared in this scope
         printf("%lld\n",tmp1);
                         ^~~~
0_0_38621373_31896.cpp:40:25: note: suggested alternative: 'tm'
         printf("%lld\n",tmp1);
                         ^~~~
                         tm


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-25 13:35:41, Gzip enabled