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_29432059_12964\Main.java:1: 错误: 非法字符: '#'
#include <iostream>
^
0_0_29432059_12964\Main.java:1: 错误: 需要class, interface或enum
#include <iostream>
         ^
0_0_29432059_12964\Main.java:2: 错误: 非法字符: '#'
#include <cstring>
^
0_0_29432059_12964\Main.java:5: 错误: 需要class, interface或enum
int num[500];
^
0_0_29432059_12964\Main.java:7: 错误: 需要class, interface或enum
void count(int m, int n)
^
0_0_29432059_12964\Main.java:10: 错误: 需要class, interface或enum
	memset(num, 0, sizeof(num));
	^
0_0_29432059_12964\Main.java:11: 错误: 需要class, interface或enum
	num[0] = 1;
	^
0_0_29432059_12964\Main.java:12: 错误: 需要class, interface或enum
	for(i = 2; i <= m + n; i++)
	^
0_0_29432059_12964\Main.java:12: 错误: 需要class, interface或enum
	for(i = 2; i <= m + n; i++)
	           ^
0_0_29432059_12964\Main.java:12: 错误: 需要class, interface或enum
	for(i = 2; i <= m + n; i++)
	                       ^
0_0_29432059_12964\Main.java:15: 错误: 需要class, interface或enum
		for(j = 0; j < 500; j++)
		^
0_0_29432059_12964\Main.java:15: 错误: 需要class, interface或enum
		for(j = 0; j < 500; j++)
		           ^
0_0_29432059_12964\Main.java:15: 错误: 需要class, interface或enum
		for(j = 0; j < 500; j++)
		                    ^
0_0_29432059_12964\Main.java:18: 错误: 需要class, interface或enum
			num[j] = k % 10;
			^
0_0_29432059_12964\Main.java:19: 错误: 需要class, interface或enum
			k /= 10;
			^
0_0_29432059_12964\Main.java:20: 错误: 需要class, interface或enum
		}
		^
0_0_29432059_12964\Main.java:23: 错误: 需要class, interface或enum
	for(j = 0; j < 500; j++)
	^
0_0_29432059_12964\Main.java:23: 错误: 需要class, interface或enum
	for(j = 0; j < 500; j++)
	           ^
0_0_29432059_12964\Main.java:23: 错误: 需要class, interface或enum
	for(j = 0; j < 500; j++)
	                    ^
0_0_29432059_12964\Main.java:26: 错误: 需要class, interface或enum
		num[j] = k % 10;
		^
0_0_29432059_12964\Main.java:27: 错误: 需要class, interface或enum
		k /= 10;
		^
0_0_29432059_12964\Main.java:28: 错误: 需要class, interface或enum
	}
	^
0_0_29432059_12964\Main.java:29: 错误: 需要class, interface或enum
	for(i = 499; i >= 0; i--)
	             ^
0_0_29432059_12964\Main.java:29: 错误: 需要class, interface或enum
	for(i = 499; i >= 0; i--)
	                     ^
0_0_29432059_12964\Main.java:32: 错误: 需要class, interface或enum
	int div = 0;
	^
0_0_29432059_12964\Main.java:33: 错误: 需要class, interface或enum
	while(i >= 0)
	^
0_0_29432059_12964\Main.java:36: 错误: 需要class, interface或enum
		num[i] = div / (m + 1);
		^
0_0_29432059_12964\Main.java:37: 错误: 需要class, interface或enum
		div %= (m + 1);
		^
0_0_29432059_12964\Main.java:38: 错误: 需要class, interface或enum
		i--;
		^
0_0_29432059_12964\Main.java:39: 错误: 需要class, interface或enum
	}
	^
0_0_29432059_12964\Main.java:45: 错误: 需要class, interface或enum
	int t = 1;
	^
0_0_29432059_12964\Main.java:46: 错误: 需要class, interface或enum
	while(cin >> m >> n)
	^
0_0_29432059_12964\Main.java:50: 错误: 需要class, interface或enum
		cout << "Test #" << t++ << ":" << endl;
		^
0_0_29432059_12964\Main.java:51: 错误: 需要class, interface或enum
		if(n > m)
		^
0_0_29432059_12964\Main.java:53: 错误: 需要class, interface或enum
		else
		^
0_0_29432059_12964\Main.java:56: 错误: 需要class, interface或enum
			int j;
			^
0_0_29432059_12964\Main.java:57: 错误: 需要class, interface或enum
			for(j = 499; j >= 0; j--)
			^
0_0_29432059_12964\Main.java:57: 错误: 需要class, interface或enum
			for(j = 499; j >= 0; j--)
			             ^
0_0_29432059_12964\Main.java:57: 错误: 需要class, interface或enum
			for(j = 499; j >= 0; j--)
			                     ^
0_0_29432059_12964\Main.java:60: 错误: 需要class, interface或enum
			while(j >= 0)
			^
0_0_29432059_12964\Main.java:62: 错误: 需要class, interface或enum
			cout << endl;
			^
0_0_29432059_12964\Main.java:63: 错误: 需要class, interface或enum
		}
		^
0_0_29432059_12964\Main.java:66: 错误: 需要class, interface或enum
}}
^
43 个错误


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-16 20:23:09, Gzip enabled