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_37054316_13594\Main.java:1: 错误: 非法字符: '#'
#include<bits/stdc++.h>
^
0_0_37054316_13594\Main.java:1: 错误: 需要class, interface或enum
#include<bits/stdc++.h>
        ^
0_0_37054316_13594\Main.java:2: 错误: 非法字符: '#'
#define ll long long
^
0_0_37054316_13594\Main.java:5: 错误: 需要class, interface或enum
const int maxn = 1 << 10;
^
0_0_37054316_13594\Main.java:6: 错误: 需要class, interface或enum
const int mod = 1e9 + 7;
^
0_0_37054316_13594\Main.java:8: 错误: 需要class, interface或enum
ll dp[maxn];
^
0_0_37054316_13594\Main.java:9: 错误: 需要class, interface或enum
ll ans[12];
^
0_0_37054316_13594\Main.java:10: 错误: 需要class, interface或enum
char op;
^
0_0_37054316_13594\Main.java:12: 错误: 需要class, interface或enum
inline int cal(int n) {
^
0_0_37054316_13594\Main.java:14: 错误: 需要class, interface或enum
	return a.count();
	^
0_0_37054316_13594\Main.java:15: 错误: 需要class, interface或enum
}
^
0_0_37054316_13594\Main.java:18: 错误: 需要class, interface或enum
	for (int s = 0; s < maxn; ++s) {
	                ^
0_0_37054316_13594\Main.java:18: 错误: 需要class, interface或enum
	for (int s = 0; s < maxn; ++s) {
	                          ^
0_0_37054316_13594\Main.java:20: 错误: 需要class, interface或enum
		int S = s | (1 << x) | (1 << y);
		^
0_0_37054316_13594\Main.java:21: 错误: 需要class, interface或enum
		if (op == '+') {
		^
0_0_37054316_13594\Main.java:23: 错误: 需要class, interface或enum
			dp[S] %= mod;
			^
0_0_37054316_13594\Main.java:24: 错误: 需要class, interface或enum
			ans[cal(S)] = (ans[cal(S)] + dp[s]) % mod;
			^
0_0_37054316_13594\Main.java:25: 错误: 需要class, interface或enum
		}
		^
0_0_37054316_13594\Main.java:28: 错误: 需要class, interface或enum
			ans[cal(S)] = (ans[cal(S)] - dp[s] + mod) % mod;
			^
0_0_37054316_13594\Main.java:29: 错误: 需要class, interface或enum
		}
		^
0_0_37054316_13594\Main.java:35: 错误: 需要class, interface或enum
	scanf("%d", &t);
	^
0_0_37054316_13594\Main.java:36: 错误: 需要class, interface或enum
	while (t--) {
	^
0_0_37054316_13594\Main.java:38: 错误: 需要class, interface或enum
		memset(ans, 0, sizeof(ans));
		^
0_0_37054316_13594\Main.java:39: 错误: 需要class, interface或enum
		int n, m;
		^
0_0_37054316_13594\Main.java:40: 错误: 需要class, interface或enum
		dp[0] = 1;
		^
0_0_37054316_13594\Main.java:41: 错误: 需要class, interface或enum
		scanf("%d%d", &n, &m);
		^
0_0_37054316_13594\Main.java:42: 错误: 需要class, interface或enum
		while (m--) {
		^
0_0_37054316_13594\Main.java:44: 错误: 需要class, interface或enum
			getchar();
			^
0_0_37054316_13594\Main.java:45: 错误: 需要class, interface或enum
			scanf("%c %d%d", &op, &x, &y);
			^
0_0_37054316_13594\Main.java:46: 错误: 需要class, interface或enum
			x--; y--;
			^
0_0_37054316_13594\Main.java:46: 错误: 需要class, interface或enum
			x--; y--;
			     ^
0_0_37054316_13594\Main.java:47: 错误: 需要class, interface或enum
			ff(x, y);
			^
0_0_37054316_13594\Main.java:48: 错误: 需要class, interface或enum
			for (int i = 2; i <= n; i+=2) {
			^
0_0_37054316_13594\Main.java:48: 错误: 需要class, interface或enum
			for (int i = 2; i <= n; i+=2) {
			                ^
0_0_37054316_13594\Main.java:48: 错误: 需要class, interface或enum
			for (int i = 2; i <= n; i+=2) {
			                        ^
0_0_37054316_13594\Main.java:50: 错误: 需要class, interface或enum
				printf("%lld", ans[i]);
				^
0_0_37054316_13594\Main.java:51: 错误: 需要class, interface或enum
			}
			^
0_0_37054316_13594\Main.java:53: 错误: 需要class, interface或enum
		}
		^
38 个错误


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