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_38834476_1597.cpp:2:2: error: expected unqualified-id before numeric constant
    2 |  2 using namespace std;
      |  ^
0_0_38834476_1597.cpp:3:2: error: expected unqualified-id before numeric constant
    3 |  3 int n,isp[40]={0},vis[20],path[20];//vis数组是保存标记,path是记录
      |  ^
0_0_38834476_1597.cpp:3:21: error: expected unqualified-id before ',' token
    3 |  3 int n,isp[40]={0},vis[20],path[20];//vis数组是保存标记,path是记录
      |                     ^
0_0_38834476_1597.cpp:3:29: error: expected constructor, destructor, or type conversion before ',' token
    3 |  3 int n,isp[40]={0},vis[20],path[20];//vis数组是保存标记,path是记录
      |                             ^
0_0_38834476_1597.cpp:3:38: error: expected constructor, destructor, or type conversion before ';' token
    3 |  3 int n,isp[40]={0},vis[20],path[20];//vis数组是保存标记,path是记录
      |                                      ^
0_0_38834476_1597.cpp:4:2: error: expected unqualified-id before numeric constant
    4 |  4 int is_prime(int t)//判断素数
      |  ^
0_0_38834476_1597.cpp:10:1: error: expected unqualified-id before numeric constant
   10 | 10 void dfs(int cur)
      | ^~
0_0_38834476_1597.cpp:29:1: error: expected unqualified-id before numeric constant
   29 | 29 int main()
      | ^~


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:30:52, Gzip enabled