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_37562416_16058\Main.java:1: 错误: 非法字符: '#'
#include <iostream>
^
0_0_37562416_16058\Main.java:1: 错误: 需要class, interface或enum
#include <iostream>
         ^
0_0_37562416_16058\Main.java:2: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_37562416_16058\Main.java:3: 错误: 非法字符: '#'
#include <string>
^
0_0_37562416_16058\Main.java:6: 错误: 需要class, interface或enum
int mp[5], q[5], tmp[5], cnt, ans;
^
0_0_37562416_16058\Main.java:7: 错误: 需要class, interface或enum
char s[10], t[10], p[10];
^
0_0_37562416_16058\Main.java:9: 错误: 需要class, interface或enum
void dfs(int pos)
^
0_0_37562416_16058\Main.java:13: 错误: 需要class, interface或enum
		for (int i = 0; i < cnt; i++) tmp[i] = q[i];
		                ^
0_0_37562416_16058\Main.java:13: 错误: 需要class, interface或enum
		for (int i = 0; i < cnt; i++) tmp[i] = q[i];
		                         ^
0_0_37562416_16058\Main.java:14: 错误: 需要class, interface或enum
		sort(tmp, tmp + cnt);
		^
0_0_37562416_16058\Main.java:15: 错误: 需要class, interface或enum
		for (int i = 1; i < cnt; i++) if (tmp[i] == tmp[i - 1]) return;
		^
0_0_37562416_16058\Main.java:15: 错误: 需要class, interface或enum
		for (int i = 1; i < cnt; i++) if (tmp[i] == tmp[i - 1]) return;
		                ^
0_0_37562416_16058\Main.java:15: 错误: 需要class, interface或enum
		for (int i = 1; i < cnt; i++) if (tmp[i] == tmp[i - 1]) return;
		                         ^
0_0_37562416_16058\Main.java:17: 错误: 需要class, interface或enum
		int a = 0, b = 0, c = 0;
		^
0_0_37562416_16058\Main.java:18: 错误: 需要class, interface或enum
		for (int i = 0; s[i]; i++) a = a * 10 + q[mp[s[i] - 'A']];
		^
0_0_37562416_16058\Main.java:18: 错误: 需要class, interface或enum
		for (int i = 0; s[i]; i++) a = a * 10 + q[mp[s[i] - 'A']];
		                ^
0_0_37562416_16058\Main.java:18: 错误: 需要class, interface或enum
		for (int i = 0; s[i]; i++) a = a * 10 + q[mp[s[i] - 'A']];
		                      ^
0_0_37562416_16058\Main.java:19: 错误: 需要class, interface或enum
		for (int i = 0; t[i]; i++) b = b * 10 + q[mp[t[i] - 'A']];
		^
0_0_37562416_16058\Main.java:19: 错误: 需要class, interface或enum
		for (int i = 0; t[i]; i++) b = b * 10 + q[mp[t[i] - 'A']];
		                ^
0_0_37562416_16058\Main.java:19: 错误: 需要class, interface或enum
		for (int i = 0; t[i]; i++) b = b * 10 + q[mp[t[i] - 'A']];
		                      ^
0_0_37562416_16058\Main.java:20: 错误: 需要class, interface或enum
		for (int i = 0; p[i]; i++) c = c * 10 + q[mp[q[i] - 'A']];
		^
0_0_37562416_16058\Main.java:20: 错误: 需要class, interface或enum
		for (int i = 0; p[i]; i++) c = c * 10 + q[mp[q[i] - 'A']];
		                ^
0_0_37562416_16058\Main.java:20: 错误: 需要class, interface或enum
		for (int i = 0; p[i]; i++) c = c * 10 + q[mp[q[i] - 'A']];
		                      ^
0_0_37562416_16058\Main.java:21: 错误: 需要class, interface或enum
		if (a + b == c) ans++;
		^
0_0_37562416_16058\Main.java:22: 错误: 需要class, interface或enum
		if (a - b == c) ans++;
		^
0_0_37562416_16058\Main.java:23: 错误: 需要class, interface或enum
		if (1ll * a * b == c) ans++;
		^
0_0_37562416_16058\Main.java:24: 错误: 需要class, interface或enum
		if (b && a % b == 0 && a / b == c) ans++;
		^
0_0_37562416_16058\Main.java:25: 错误: 需要class, interface或enum
		return;
		^
0_0_37562416_16058\Main.java:26: 错误: 需要class, interface或enum
	}
	^
0_0_37562416_16058\Main.java:27: 错误: 需要class, interface或enum
	for (int i = 0; i < 10; i++)
	                ^
0_0_37562416_16058\Main.java:27: 错误: 需要class, interface或enum
	for (int i = 0; i < 10; i++)
	                        ^
0_0_37562416_16058\Main.java:29: 错误: 需要class, interface或enum
}
^
0_0_37562416_16058\Main.java:34: 错误: 需要class, interface或enum
	cin >> s >> t >> p;
	^
0_0_37562416_16058\Main.java:35: 错误: 需要class, interface或enum
	bool vis[5] = {0};
	^
0_0_37562416_16058\Main.java:36: 错误: 需要class, interface或enum
	for (int i = 0; s[i]; i++) vis[s[i]-'A'] = 1;
	^
0_0_37562416_16058\Main.java:36: 错误: 需要class, interface或enum
	for (int i = 0; s[i]; i++) vis[s[i]-'A'] = 1;
	                ^
0_0_37562416_16058\Main.java:36: 错误: 需要class, interface或enum
	for (int i = 0; s[i]; i++) vis[s[i]-'A'] = 1;
	                      ^
0_0_37562416_16058\Main.java:37: 错误: 需要class, interface或enum
	for (int i = 0; t[i]; i++) vis[t[i]-'A'] = 1;
	^
0_0_37562416_16058\Main.java:37: 错误: 需要class, interface或enum
	for (int i = 0; t[i]; i++) vis[t[i]-'A'] = 1;
	                ^
0_0_37562416_16058\Main.java:37: 错误: 需要class, interface或enum
	for (int i = 0; t[i]; i++) vis[t[i]-'A'] = 1;
	                      ^
0_0_37562416_16058\Main.java:38: 错误: 需要class, interface或enum
	for (int i = 0; p[i]; i++) vis[p[i]-'A'] = 1;
	^
0_0_37562416_16058\Main.java:38: 错误: 需要class, interface或enum
	for (int i = 0; p[i]; i++) vis[p[i]-'A'] = 1;
	                ^
0_0_37562416_16058\Main.java:38: 错误: 需要class, interface或enum
	for (int i = 0; p[i]; i++) vis[p[i]-'A'] = 1;
	                      ^
0_0_37562416_16058\Main.java:39: 错误: 需要class, interface或enum
	for (int i = 0; i < 5; i++)
	^
0_0_37562416_16058\Main.java:39: 错误: 需要class, interface或enum
	for (int i = 0; i < 5; i++)
	                ^
0_0_37562416_16058\Main.java:39: 错误: 需要class, interface或enum
	for (int i = 0; i < 5; i++)
	                       ^
0_0_37562416_16058\Main.java:41: 错误: 需要class, interface或enum
	dfs(0);
	^
0_0_37562416_16058\Main.java:42: 错误: 需要class, interface或enum
	cout << ans << '\n';
	^
0_0_37562416_16058\Main.java:43: 错误: 需要class, interface或enum
}
^
0_0_37562416_16058\Main.java:48: 错误: 需要class, interface或enum
	int t;
	^
0_0_37562416_16058\Main.java:49: 错误: 需要class, interface或enum
	cin >> t;
	^
0_0_37562416_16058\Main.java:50: 错误: 需要class, interface或enum
	while (t--) solve();
	^
0_0_37562416_16058\Main.java:51: 错误: 需要class, interface或enum
	return 0;
	^
0_0_37562416_16058\Main.java:52: 错误: 需要class, interface或enum
}
^
54 个错误


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-26 13:26:59, Gzip enabled