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_32856009_25441.cpp: In function 'void prime()':
0_0_32856009_25441.cpp:3:5: error: 'p' was not declared in this scope
     p[0]=0;
     ^
0_0_32856009_25441.cpp:4:9: error: 'vis' was not declared in this scope
     mem(vis,0);
         ^
0_0_32856009_25441.cpp:4:14: error: 'mem' was not declared in this scope
     mem(vis,0);
              ^
0_0_32856009_25441.cpp:5:9: error: 'num' was not declared in this scope
     mem(num,0);
         ^
0_0_32856009_25441.cpp:6:20: error: 'Max' was not declared in this scope
     for(int i=2;i<=Max;i++)
                    ^
0_0_32856009_25441.cpp:9:31: error: 'll' was not declared in this scope
         for(int j=1;j<=p[0]&&(ll)i*p[j]<=Max;j++)
                               ^
0_0_32856009_25441.cpp:9:34: error: expected ';' before 'i'
         for(int j=1;j<=p[0]&&(ll)i*p[j]<=Max;j++)
                                  ^
0_0_32856009_25441.cpp:9:45: error: expected ')' before ';' token
         for(int j=1;j<=p[0]&&(ll)i*p[j]<=Max;j++)
                                             ^
0_0_32856009_25441.cpp:9:46: error: 'j' was not declared in this scope
         for(int j=1;j<=p[0]&&(ll)i*p[j]<=Max;j++)
                                              ^
0_0_32856009_25441.cpp:21:17: error: 'pf' was not declared in this scope
  pf("%d ",num[i]);
                 ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-01-10 17:33:21, Gzip enabled