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_34640391_30599\Main.java:1: 错误: 非法字符: '#'
# include <iostream>
^
0_0_34640391_30599\Main.java:1: 错误: 需要class, interface或enum
# include <iostream>
          ^
0_0_34640391_30599\Main.java:5: 错误: 需要class, interface或enum
bool isPrime(int n)
^
0_0_34640391_30599\Main.java:9: 错误: 需要class, interface或enum
	for ( i = 2; i <= n / 2; i++)
	^
0_0_34640391_30599\Main.java:9: 错误: 需要class, interface或enum
	for ( i = 2; i <= n / 2; i++)
	             ^
0_0_34640391_30599\Main.java:9: 错误: 需要class, interface或enum
	for ( i = 2; i <= n / 2; i++)
	                         ^
0_0_34640391_30599\Main.java:14: 错误: 需要class, interface或enum
		}
		^
0_0_34640391_30599\Main.java:18: 错误: 需要class, interface或enum
	else
	^
0_0_34640391_30599\Main.java:21: 错误: 需要class, interface或enum
}
^
0_0_34640391_30599\Main.java:29: 错误: 需要class, interface或enum
		for (int i = 1; i <= n; i++)
		^
0_0_34640391_30599\Main.java:29: 错误: 需要class, interface或enum
		for (int i = 1; i <= n; i++)
		                ^
0_0_34640391_30599\Main.java:29: 错误: 需要class, interface或enum
		for (int i = 1; i <= n; i++)
		                        ^
0_0_34640391_30599\Main.java:32: 错误: 需要class, interface或enum
			if (i == n)
			^
0_0_34640391_30599\Main.java:34: 错误: 需要class, interface或enum
			else
			^
0_0_34640391_30599\Main.java:36: 错误: 需要class, interface或enum
		}
		^
0_0_34640391_30599\Main.java:38: 错误: 需要class, interface或enum
	for (int i = 2; i <= n; i++)
	                ^
0_0_34640391_30599\Main.java:38: 错误: 需要class, interface或enum
	for (int i = 2; i <= n; i++)
	                        ^
0_0_34640391_30599\Main.java:43: 错误: 需要class, interface或enum
			a[step] = i;
			^
0_0_34640391_30599\Main.java:45: 错误: 需要class, interface或enum
			dfs(step + 1);
			^
0_0_34640391_30599\Main.java:46: 错误: 需要class, interface或enum
			b[i] = 0;
			^
0_0_34640391_30599\Main.java:47: 错误: 需要class, interface或enum
		}
		^
0_0_34640391_30599\Main.java:51: 错误: 需要class, interface或enum
}
^
0_0_34640391_30599\Main.java:56: 错误: 需要class, interface或enum
	while (std::cin >> n&&++i)
	^
0_0_34640391_30599\Main.java:58: 错误: 需要class, interface或enum
		for (int i = 2; i<=n;i++)
		                ^
0_0_34640391_30599\Main.java:58: 错误: 需要class, interface或enum
		for (int i = 2; i<=n;i++)
		                     ^
0_0_34640391_30599\Main.java:61: 错误: 需要class, interface或enum
			a[i] = 0;
			^
0_0_34640391_30599\Main.java:62: 错误: 需要class, interface或enum
		}
		^
0_0_34640391_30599\Main.java:64: 错误: 需要class, interface或enum
		b[1] = 1;
		^
0_0_34640391_30599\Main.java:65: 错误: 需要class, interface或enum
		std::cout << "Case " << i << ":" << std::endl;
		^
0_0_34640391_30599\Main.java:66: 错误: 需要class, interface或enum
		dfs(2);
		^
0_0_34640391_30599\Main.java:67: 错误: 需要class, interface或enum
		std::cout << std::endl;
		^
0_0_34640391_30599\Main.java:68: 错误: 需要class, interface或enum
	}
	^
32 个错误


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-30 06:34:50, Gzip enabled