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_14563243_3396.cpp:4:86: error: conflicting declaration 'int t'
 int prime[100010],p[100010],g[100010],t[100010],f[100010],s[100010],tot,N = 100000,n,t;
                                                                                      ^
0_0_14563243_3396.cpp:4:39: note: previous declaration as 'int t [100010]'
 int prime[100010],p[100010],g[100010],t[100010],f[100010],s[100010],tot,N = 100000,n,t;
                                       ^
0_0_14563243_3396.cpp: In function 'int main()':
0_0_14563243_3396.cpp:40:12: error: lvalue required as decrement operand
     while(t--){scanf("%d",&n);printf("%d\n",s[n]);}
            ^


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-17 14:20:10, Gzip enabled