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_20891540_13963\Main.java:1: 错误: 非法字符: '#'
#include<iostream>
^
0_0_20891540_13963\Main.java:1: 错误: 需要class, interface或enum
#include<iostream>
        ^
0_0_20891540_13963\Main.java:2: 错误: 非法字符: '#'
#include<iomanip>
^
0_0_20891540_13963\Main.java:3: 错误: 非法字符: '#'
#include<string>
^
0_0_20891540_13963\Main.java:5: 错误: 需要class, interface或enum
int main()
^
0_0_20891540_13963\Main.java:8: 错误: 需要class, interface或enum
	while (cin >> N >> A >> B >> C)
	^
0_0_20891540_13963\Main.java:11: 错误: 需要class, interface或enum
		int *tick11 = new int[N];
		^
0_0_20891540_13963\Main.java:12: 错误: 需要class, interface或enum
		int *tick22 = new int[N];
		^
0_0_20891540_13963\Main.java:13: 错误: 需要class, interface或enum
		string s;
		^
0_0_20891540_13963\Main.java:14: 错误: 需要class, interface或enum
		for (int i = 0; i < N; i++)
		^
0_0_20891540_13963\Main.java:14: 错误: 需要class, interface或enum
		for (int i = 0; i < N; i++)
		                ^
0_0_20891540_13963\Main.java:14: 错误: 需要class, interface或enum
		for (int i = 0; i < N; i++)
		                       ^
0_0_20891540_13963\Main.java:17: 错误: 需要class, interface或enum
			int length = s.size();
			^
0_0_20891540_13963\Main.java:18: 错误: 需要class, interface或enum
			for (int j = 0; j < length; j++)
			^
0_0_20891540_13963\Main.java:18: 错误: 需要class, interface或enum
			for (int j = 0; j < length; j++)
			                ^
0_0_20891540_13963\Main.java:18: 错误: 需要class, interface或enum
			for (int j = 0; j < length; j++)
			                            ^
0_0_20891540_13963\Main.java:24: 错误: 需要class, interface或enum
					else num[i] = int(s[j - 1]) - 48;
					^
0_0_20891540_13963\Main.java:25: 错误: 需要class, interface或enum
				}
				^
0_0_20891540_13963\Main.java:29: 错误: 需要class, interface或enum
		int f1 = (A*f0 + B) % 6 + 1;
		^
0_0_20891540_13963\Main.java:30: 错误: 需要class, interface或enum
		int tick1, tick2;
		^
0_0_20891540_13963\Main.java:31: 错误: 需要class, interface或enum
			tick1 = tick2 =1;
			^
0_0_20891540_13963\Main.java:32: 错误: 需要class, interface或enum
			for (int i = 0; i < N; i++)
			^
0_0_20891540_13963\Main.java:32: 错误: 需要class, interface或enum
			for (int i = 0; i < N; i++)
			                ^
0_0_20891540_13963\Main.java:32: 错误: 需要class, interface或enum
			for (int i = 0; i < N; i++)
			                       ^
0_0_20891540_13963\Main.java:35: 错误: 需要class, interface或enum
			}
			^
0_0_20891540_13963\Main.java:37: 错误: 需要class, interface或enum
			tick22[f1] = 1;
			^
0_0_20891540_13963\Main.java:38: 错误: 需要class, interface或enum
			if (f0 == N - 1)
			^
0_0_20891540_13963\Main.java:42: 错误: 需要class, interface或enum
			}
			^
0_0_20891540_13963\Main.java:47: 错误: 需要class, interface或enum
			}
			^
0_0_20891540_13963\Main.java:49: 错误: 需要class, interface或enum
			a = b = 0;
			^
0_0_20891540_13963\Main.java:50: 错误: 需要class, interface或enum
		while (f0 != N - 1 || f1 != N - 1)
		^
0_0_20891540_13963\Main.java:53: 错误: 需要class, interface或enum
			f1 = (A*f0 + B) % 6 + 1;
			^
0_0_20891540_13963\Main.java:54: 错误: 需要class, interface或enum
			a += f0;
			^
0_0_20891540_13963\Main.java:55: 错误: 需要class, interface或enum
			b += f1;
			^
0_0_20891540_13963\Main.java:56: 错误: 需要class, interface或enum
			if (a > N - 1)
			^
0_0_20891540_13963\Main.java:59: 错误: 需要class, interface或enum
				if (num[a] > 0)
				^
0_0_20891540_13963\Main.java:61: 错误: 需要class, interface或enum
			}
			^
0_0_20891540_13963\Main.java:65: 错误: 需要class, interface或enum
				if (num[b] > 0)
				^
0_0_20891540_13963\Main.java:67: 错误: 需要class, interface或enum
			}if (a == N - 1)
			^
0_0_20891540_13963\Main.java:70: 错误: 需要class, interface或enum
				break;
				^
0_0_20891540_13963\Main.java:71: 错误: 需要class, interface或enum
			}
			^
0_0_20891540_13963\Main.java:76: 错误: 需要class, interface或enum
				break;
				^
0_0_20891540_13963\Main.java:77: 错误: 需要class, interface或enum
			}
			^
0_0_20891540_13963\Main.java:82: 错误: 需要class, interface或enum
			}
			^
0_0_20891540_13963\Main.java:86: 错误: 需要class, interface或enum
			}
			^
0_0_20891540_13963\Main.java:90: 错误: 需要class, interface或enum
			}
			^
46 个错误


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-18 18:19:22, Gzip enabled