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_6698646_17794\Main.java:13: cannot find symbol
symbol  : variable N
location: class Main
		for (int i = 0; i <= N; i++) u[i] = true;
		                     ^
0_0_6698646_17794\Main.java:13: cannot find symbol
symbol  : variable u
location: class Main
		for (int i = 0; i <= N; i++) u[i] = true;
		                             ^
0_0_6698646_17794\Main.java:14: cannot find symbol
symbol  : variable N
location: class Main
		for (int i = 2; i <= N; i++) {
		                     ^
0_0_6698646_17794\Main.java:15: cannot find symbol
symbol  : variable u
location: class Main
			if (u[i]) {
			    ^
0_0_6698646_17794\Main.java:16: cannot find symbol
symbol  : variable p
location: class Main
				p[pn++] = i;
				^
0_0_6698646_17794\Main.java:17: cannot find symbol
symbol  : variable N
location: class Main
				for (int j = i + i; j <= N; j += i) {
				                         ^
0_0_6698646_17794\Main.java:18: cannot find symbol
symbol  : variable u
location: class Main
					u[j] = false;
					^
0_0_6698646_17794\Main.java:35: cannot find symbol
symbol  : variable p
location: class Main
				int x = p[i];
				        ^
8 errors


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 01:59:37, Gzip enabled