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_13796378_25068.cpp:2:4: error: stray '#' in program
  2 #include<cstring>
    ^
0_0_13796378_25068.cpp:3:4: error: stray '#' in program
  3 #include<cstdio>
    ^
0_0_13796378_25068.cpp:4:4: error: stray '#' in program
  4 #include<string>
    ^
0_0_13796378_25068.cpp:5:4: error: stray '#' in program
  5 #include<cmath>
    ^
0_0_13796378_25068.cpp:6:4: error: stray '#' in program
  6 #include<algorithm>
    ^
0_0_13796378_25068.cpp:2:2: error: expected unqualified-id before numeric constant
  2 #include<cstring>
  ^
0_0_13796378_25068.cpp:8:2: error: expected unqualified-id before numeric constant
  8 int p[10005];//记录包括自身的完数个数
  ^
0_0_13796378_25068.cpp:9:2: error: expected unqualified-id before numeric constant
  9 bool vis[10005];
  ^
0_0_13796378_25068.cpp:10:1: error: expected unqualified-id before numeric constant
 10 int prime[1229+1];//如何估算比n小的素数的个数??   提前打印即可,小于10000共1229个素数
 ^
0_0_13796378_25068.cpp:11:1: error: expected unqualified-id before numeric constant
 11 void print_prime(){
 ^


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-23 00:40:40, Gzip enabled