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_22173731_14197\Main.java:1: 错误: 非法字符: '#'
#include <bits/stdc++.h>
^
0_0_22173731_14197\Main.java:1: 错误: 需要class, interface或enum
#include <bits/stdc++.h>
         ^
0_0_22173731_14197\Main.java:3: 错误: 非法字符: '#'
#define debug(...) fprintf(stderr,__VA_ARGS__)
^
0_0_22173731_14197\Main.java:6: 错误: 需要class, interface或enum
typedef long long LL;
^
0_0_22173731_14197\Main.java:8: 错误: 需要class, interface或enum
const int maxn=20+3, maxS = (1<<20) +3;
^
0_0_22173731_14197\Main.java:10: 错误: 需要class, interface或enum
int sg[maxS], mex[maxn] , mexm;
^
0_0_22173731_14197\Main.java:11: 错误: 需要class, interface或enum
bool vis[maxS], fail[maxS];
^
0_0_22173731_14197\Main.java:12: 错误: 需要class, interface或enum
void DP(int S){
^
0_0_22173731_14197\Main.java:14: 错误: 需要class, interface或enum
	vis[S] = true;
	^
0_0_22173731_14197\Main.java:15: 错误: 需要class, interface或enum
	if ( fail[S]){
	^
0_0_22173731_14197\Main.java:17: 错误: 需要class, interface或enum
		return ;
		^
0_0_22173731_14197\Main.java:18: 错误: 需要class, interface或enum
	}
	^
0_0_22173731_14197\Main.java:21: 错误: 需要class, interface或enum
	for (int i=0,tS; i<20; i++)
	^
0_0_22173731_14197\Main.java:21: 错误: 需要class, interface或enum
	for (int i=0,tS; i<20; i++)
	                 ^
0_0_22173731_14197\Main.java:21: 错误: 需要class, interface或enum
	for (int i=0,tS; i<20; i++)
	                       ^
0_0_22173731_14197\Main.java:24: 错误: 需要class, interface或enum
			tS= S;
			^
0_0_22173731_14197\Main.java:25: 错误: 需要class, interface或enum
			tS^= 1<<i; tS^= 1<<emp;
			^
0_0_22173731_14197\Main.java:25: 错误: 需要class, interface或enum
			tS^= 1<<i; tS^= 1<<emp;
			           ^
0_0_22173731_14197\Main.java:26: 错误: 需要class, interface或enum
			DP(tS);
			^
0_0_22173731_14197\Main.java:27: 错误: 需要class, interface或enum
		}	else emp = i;
		^
0_0_22173731_14197\Main.java:29: 错误: 需要class, interface或enum
	emp= -1;
	^
0_0_22173731_14197\Main.java:30: 错误: 需要class, interface或enum
	mexm= 0;
	^
0_0_22173731_14197\Main.java:31: 错误: 需要class, interface或enum
	for (int i=0,tS; i<20; i++)
	^
0_0_22173731_14197\Main.java:31: 错误: 需要class, interface或enum
	for (int i=0,tS; i<20; i++)
	                 ^
0_0_22173731_14197\Main.java:31: 错误: 需要class, interface或enum
	for (int i=0,tS; i<20; i++)
	                       ^
0_0_22173731_14197\Main.java:34: 错误: 需要class, interface或enum
			tS = S;
			^
0_0_22173731_14197\Main.java:35: 错误: 需要class, interface或enum
			tS ^= 1<<i; tS^= 1<<emp;
			^
0_0_22173731_14197\Main.java:35: 错误: 需要class, interface或enum
			tS ^= 1<<i; tS^= 1<<emp;
			            ^
0_0_22173731_14197\Main.java:36: 错误: 非法字符: '#'
			#ifdef che
			^
0_0_22173731_14197\Main.java:36: 错误: 需要class, interface或enum
			#ifdef che
			       ^
0_0_22173731_14197\Main.java:38: 错误: 非法字符: '#'
			#endif
			^
0_0_22173731_14197\Main.java:39: 错误: 需要class, interface或enum
			mex[ mexm++] = sg[tS];
			^
0_0_22173731_14197\Main.java:40: 错误: 需要class, interface或enum
		}	else emp= i ;
		^
0_0_22173731_14197\Main.java:41: 错误: 需要class, interface或enum
	sort(mex, mex+mexm);
	^
0_0_22173731_14197\Main.java:42: 错误: 非法字符: '#'
	#ifdef che
	^
0_0_22173731_14197\Main.java:42: 错误: 需要class, interface或enum
	#ifdef che
	       ^
0_0_22173731_14197\Main.java:45: 错误: 需要class, interface或enum
		for (int i=0; i<mexm; i++) debug("%d\t", mex[i]);
		^
0_0_22173731_14197\Main.java:45: 错误: 需要class, interface或enum
		for (int i=0; i<mexm; i++) debug("%d\t", mex[i]);
		              ^
0_0_22173731_14197\Main.java:45: 错误: 需要class, interface或enum
		for (int i=0; i<mexm; i++) debug("%d\t", mex[i]);
		                      ^
0_0_22173731_14197\Main.java:46: 错误: 需要class, interface或enum
		debug("\n");
		^
0_0_22173731_14197\Main.java:47: 错误: 需要class, interface或enum
	}
	^
0_0_22173731_14197\Main.java:48: 错误: 非法字符: '#'
	#endif
	^
0_0_22173731_14197\Main.java:50: 错误: 需要class, interface或enum
		for (int i=0; i<mexm; i++)
		              ^
0_0_22173731_14197\Main.java:50: 错误: 需要class, interface或enum
		for (int i=0; i<mexm; i++)
		                      ^
0_0_22173731_14197\Main.java:53: 错误: 需要class, interface或enum
				break;
				^
0_0_22173731_14197\Main.java:54: 错误: 需要class, interface或enum
			}
			^
0_0_22173731_14197\Main.java:56: 错误: 需要class, interface或enum
}
^
0_0_22173731_14197\Main.java:60: 错误: 需要class, interface或enum
	for (int i=1; i<=20; i++)  fail[ (1<<i)-1]  = true;
	^
0_0_22173731_14197\Main.java:60: 错误: 需要class, interface或enum
	for (int i=1; i<=20; i++)  fail[ (1<<i)-1]  = true;
	              ^
0_0_22173731_14197\Main.java:60: 错误: 需要class, interface或enum
	for (int i=1; i<=20; i++)  fail[ (1<<i)-1]  = true;
	                     ^
0_0_22173731_14197\Main.java:61: 错误: 需要class, interface或enum
	for (int S=0 ; S<(1<<20) ; S++) 
	^
0_0_22173731_14197\Main.java:61: 错误: 需要class, interface或enum
	for (int S=0 ; S<(1<<20) ; S++) 
	               ^
0_0_22173731_14197\Main.java:61: 错误: 需要class, interface或enum
	for (int S=0 ; S<(1<<20) ; S++) 
	                           ^
0_0_22173731_14197\Main.java:63: 错误: 需要class, interface或enum
	int T, N,M;scanf("%d", &T);
	^
0_0_22173731_14197\Main.java:63: 错误: 需要class, interface或enum
	int T, N,M;scanf("%d", &T);
	           ^
0_0_22173731_14197\Main.java:64: 错误: 需要class, interface或enum
	while ( T--){
	^
0_0_22173731_14197\Main.java:66: 错误: 需要class, interface或enum
		int totsg= 0;
		^
0_0_22173731_14197\Main.java:67: 错误: 需要class, interface或enum
		for (int roun =0,sta =0 ; roun <N; roun++){
		^
0_0_22173731_14197\Main.java:67: 错误: 需要class, interface或enum
		for (int roun =0,sta =0 ; roun <N; roun++){
		                          ^
0_0_22173731_14197\Main.java:67: 错误: 需要class, interface或enum
		for (int roun =0,sta =0 ; roun <N; roun++){
		                                   ^
0_0_22173731_14197\Main.java:69: 错误: 需要class, interface或enum
			sta= 0;
			^
0_0_22173731_14197\Main.java:70: 错误: 需要class, interface或enum
			for (int i=0, id; i <M; i++){
			^
0_0_22173731_14197\Main.java:70: 错误: 需要class, interface或enum
			for (int i=0, id; i <M; i++){
			                  ^
0_0_22173731_14197\Main.java:70: 错误: 需要class, interface或enum
			for (int i=0, id; i <M; i++){
			                        ^
0_0_22173731_14197\Main.java:71: 错误: 需要class, interface或enum
				scanf("%d", &id); id= 20-id+1;
				                  ^
0_0_22173731_14197\Main.java:72: 错误: 需要class, interface或enum
				sta |= 1<<id-1;
				^
0_0_22173731_14197\Main.java:73: 错误: 需要class, interface或enum
			}
			^
0_0_22173731_14197\Main.java:75: 错误: 非法字符: '#'
			#ifdef che
			^
0_0_22173731_14197\Main.java:75: 错误: 需要class, interface或enum
			#ifdef che
			       ^
0_0_22173731_14197\Main.java:77: 错误: 非法字符: '#'
			#endif
			^
0_0_22173731_14197\Main.java:78: 错误: 需要class, interface或enum
		}
		^
0_0_22173731_14197\Main.java:80: 错误: 需要class, interface或enum
			else printf("NO\n");
			^
0_0_22173731_14197\Main.java:81: 错误: 需要class, interface或enum
	}
	^
0_0_22173731_14197\Main.java:83: 错误: 非法字符: '#'
	#ifdef che
	^
0_0_22173731_14197\Main.java:84: 错误: 需要class, interface或enum
	for (int i=0; i<(1<<5); i++) debug("sg[%d] = %d\n", i, sg[i]);
	              ^
0_0_22173731_14197\Main.java:84: 错误: 需要class, interface或enum
	for (int i=0; i<(1<<5); i++) debug("sg[%d] = %d\n", i, sg[i]);
	                        ^
0_0_22173731_14197\Main.java:85: 错误: 非法字符: '#'
	#endif
	^
0_0_22173731_14197\Main.java:86: 错误: 需要class, interface或enum
	return 0;
	^
0_0_22173731_14197\Main.java:87: 错误: 需要class, interface或enum
}
^
79 个错误


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-12-04 22:46:38, Gzip enabled