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_21937544_15677.cpp: In function 'void CreatePrime()':
0_0_21937544_15677.cpp:44:13: error: 'p' was not declared in this scope
             p[pnum++]=i;  
             ^
0_0_21937544_15677.cpp:47:32: error: 'p' was not declared in this scope
         for(int j=0; j<pnum && p[j]*i<=N; j++){  
                                ^
0_0_21937544_15677.cpp: In function 'int main()':
0_0_21937544_15677.cpp:62:13: error: 'get_prime' was not declared in this scope
   get_prime();  
             ^
0_0_21937544_15677.cpp:66:15: error: 'falg' was not declared in this scope
    if(t%2==1&&falg[t]) cout<<++kase<<": yes"<<endl;
               ^


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-06 11:08:19, Gzip enabled