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_13960422_4\Main.java:1: 错误: 非法字符: '#'
#include<iostream>
^
0_0_13960422_4\Main.java:1: 错误: 需要class, interface或enum
#include<iostream>
        ^
0_0_13960422_4\Main.java:4: 错误: 需要class, interface或enum
const int N=35;
^
0_0_13960422_4\Main.java:5: 错误: 需要class, interface或enum
int n, cn;
^
0_0_13960422_4\Main.java:6: 错误: 需要class, interface或enum
int a[N][N], b[N], c[N];
^
0_0_13960422_4\Main.java:8: 错误: 需要class, interface或enum
void cal(int k)
^
0_0_13960422_4\Main.java:12: 错误: 需要class, interface或enum
	for(i=0, cn=0; k>0; i++, k/=2)
	^
0_0_13960422_4\Main.java:12: 错误: 需要class, interface或enum
	for(i=0, cn=0; k>0; i++, k/=2)
	               ^
0_0_13960422_4\Main.java:12: 错误: 需要class, interface或enum
	for(i=0, cn=0; k>0; i++, k/=2)
	                    ^
0_0_13960422_4\Main.java:17: 错误: 需要class, interface或enum
			c[cn++] = i;
			^
0_0_13960422_4\Main.java:18: 错误: 需要class, interface或enum
		}
		^
0_0_13960422_4\Main.java:20: 错误: 需要class, interface或enum
	for(i=0; i<cn; i++)
	         ^
0_0_13960422_4\Main.java:20: 错误: 需要class, interface或enum
	for(i=0; i<cn; i++)
	               ^
0_0_13960422_4\Main.java:21: 错误: 需要class, interface或enum
		for(j=i+1; j<cn; j++)
		           ^
0_0_13960422_4\Main.java:21: 错误: 需要class, interface或enum
		for(j=i+1; j<cn; j++)
		                 ^
0_0_13960422_4\Main.java:24: 错误: 需要class, interface或enum
			a[c[j]][c[i]]++;
			^
0_0_13960422_4\Main.java:25: 错误: 需要class, interface或enum
		}
		^
0_0_13960422_4\Main.java:31: 错误: 需要class, interface或enum
	scanf("%d", &cas);
	^
0_0_13960422_4\Main.java:32: 错误: 需要class, interface或enum
	while(cas--)
	^
0_0_13960422_4\Main.java:35: 错误: 需要class, interface或enum
		memset(b, 0, sizeof(b));
		^
0_0_13960422_4\Main.java:36: 错误: 需要class, interface或enum
		memset(c, 0, sizeof(c));
		^
0_0_13960422_4\Main.java:37: 错误: 需要class, interface或enum
		scanf("%d", &n);
		^
0_0_13960422_4\Main.java:38: 错误: 需要class, interface或enum
		for(i=0; i<n; i++)
		^
0_0_13960422_4\Main.java:38: 错误: 需要class, interface或enum
		for(i=0; i<n; i++)
		         ^
0_0_13960422_4\Main.java:38: 错误: 需要class, interface或enum
		for(i=0; i<n; i++)
		              ^
0_0_13960422_4\Main.java:41: 错误: 需要class, interface或enum
			cal(k);
			^
0_0_13960422_4\Main.java:42: 错误: 需要class, interface或enum
		}
		^
0_0_13960422_4\Main.java:43: 错误: 需要class, interface或enum
		for(i=0; i<32; i++)
		         ^
0_0_13960422_4\Main.java:43: 错误: 需要class, interface或enum
		for(i=0; i<32; i++)
		               ^
0_0_13960422_4\Main.java:45: 错误: 需要class, interface或enum
		for(i=0; i<32; i++)
		^
0_0_13960422_4\Main.java:45: 错误: 需要class, interface或enum
		for(i=0; i<32; i++)
		         ^
0_0_13960422_4\Main.java:45: 错误: 需要class, interface或enum
		for(i=0; i<32; i++)
		               ^
0_0_13960422_4\Main.java:46: 错误: 需要class, interface或enum
			for(j=0; j<32; j++)
			         ^
0_0_13960422_4\Main.java:46: 错误: 需要class, interface或enum
			for(j=0; j<32; j++)
			               ^
0_0_13960422_4\Main.java:48: 错误: 需要class, interface或enum
		x = 0;
		^
0_0_13960422_4\Main.java:49: 错误: 需要class, interface或enum
		flag = -1;
		^
0_0_13960422_4\Main.java:50: 错误: 需要class, interface或enum
		for(i=32; i>=0; i--)
		^
0_0_13960422_4\Main.java:50: 错误: 需要class, interface或enum
		for(i=32; i>=0; i--)
		          ^
0_0_13960422_4\Main.java:50: 错误: 需要class, interface或enum
		for(i=32; i>=0; i--)
		                ^
0_0_13960422_4\Main.java:53: 错误: 需要class, interface或enum
			if(b[i]==2)
			^
0_0_13960422_4\Main.java:56: 错误: 需要class, interface或enum
				b[i]--;
				^
0_0_13960422_4\Main.java:57: 错误: 需要class, interface或enum
			}
			^
0_0_13960422_4\Main.java:63: 错误: 需要class, interface或enum
					b[i]--;
					^
0_0_13960422_4\Main.java:64: 错误: 需要class, interface或enum
					flag = i;
					^
0_0_13960422_4\Main.java:65: 错误: 需要class, interface或enum
				}
				^
0_0_13960422_4\Main.java:69: 错误: 需要class, interface或enum
					b[i]--;
					^
0_0_13960422_4\Main.java:70: 错误: 需要class, interface或enum
				}
				^
0_0_13960422_4\Main.java:74: 错误: 需要class, interface或enum
		for(i=32; i>=0; i--)
		^
0_0_13960422_4\Main.java:74: 错误: 需要class, interface或enum
		for(i=32; i>=0; i--)
		          ^
0_0_13960422_4\Main.java:74: 错误: 需要class, interface或enum
		for(i=32; i>=0; i--)
		                ^
0_0_13960422_4\Main.java:77: 错误: 需要class, interface或enum
			y += b[i];
			^
0_0_13960422_4\Main.java:78: 错误: 需要class, interface或enum
		}
		^
0_0_13960422_4\Main.java:81: 错误: 需要class, interface或enum
		printf("%d %d\n", x, y);
		^
0_0_13960422_4\Main.java:82: 错误: 需要class, interface或enum
	}
	^
0_0_13960422_4\Main.java:85: 错误: 需要class, interface或enum
}
^
55 个错误


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-17 06:36:31, Gzip enabled