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_36487838_26821.cpp: In function 'int main()':
0_0_36487838_26821.cpp:5:20: error: 'N' was not declared in this scope
     for(int i=2;i<=N;i++)
                    ^
0_0_36487838_26821.cpp:6:14: error: 'f' was not declared in this scope
         if (!f[i])
              ^
0_0_36487838_26821.cpp:9:5: error: 'f' was not declared in this scope
     f[1]=1,get_primes3(),st[1]= false;
     ^
0_0_36487838_26821.cpp:9:24: error: 'get_primes3' was not declared in this scope
     f[1]=1,get_primes3(),st[1]= false;
                        ^
0_0_36487838_26821.cpp:9:26: error: 'st' was not declared in this scope
     f[1]=1,get_primes3(),st[1]= false;
                          ^
0_0_36487838_26821.cpp:10:25: error: 'n' was not declared in this scope
     while (~scanf("%d",&n))
                         ^
0_0_36487838_26821.cpp:10:26: error: 'scanf' was not declared in this scope
     while (~scanf("%d",&n))
                          ^
0_0_36487838_26821.cpp:11:6: error: 'res' was not declared in this scope
     {res=0; int ans=0;
      ^
0_0_36487838_26821.cpp:14:25: error: 'm' was not declared in this scope
             scanf("%d",&m);
                         ^
0_0_36487838_26821.cpp:19:26: error: 'printf' was not declared in this scope
         printf("%d\n",ans);
                          ^


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-18 09:26:56, Gzip enabled