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_34015428_23100\Main.java:1: 错误: 非法字符: '#'
#include <string.h> //字符串处理
^
0_0_34015428_23100\Main.java:1: 错误: 需要class, interface或enum
#include <string.h> //字符串处理
         ^
0_0_34015428_23100\Main.java:2: 错误: 非法字符: '#'
#include <math.h> //定义数学函数
^
0_0_34015428_23100\Main.java:3: 错误: 非法字符: '#'
#include <stdio.h> //定义输入/输出函数
^
0_0_34015428_23100\Main.java:4: 错误: 非法字符: '#'
#include <iostream>
^
0_0_34015428_23100\Main.java:6: 错误: 非法字符: '#'
#define N 0x3f3f3f
^
0_0_34015428_23100\Main.java:6: 错误: 需要class, interface或enum
#define N 0x3f3f3f
        ^
0_0_34015428_23100\Main.java:10: 错误: 需要class, interface或enum
	cin>>t;
	^
0_0_34015428_23100\Main.java:11: 错误: 需要class, interface或enum
	int sz[105][2];
	^
0_0_34015428_23100\Main.java:12: 错误: 需要class, interface或enum
	while(t--)
	^
0_0_34015428_23100\Main.java:15: 错误: 需要class, interface或enum
		string name[105];
		^
0_0_34015428_23100\Main.java:16: 错误: 需要class, interface或enum
		cin>>n;
		^
0_0_34015428_23100\Main.java:19: 错误: 需要class, interface或enum
		for(int i=0;i<n;i++){
		^
0_0_34015428_23100\Main.java:19: 错误: 需要class, interface或enum
		for(int i=0;i<n;i++){
		            ^
0_0_34015428_23100\Main.java:19: 错误: 需要class, interface或enum
		for(int i=0;i<n;i++){
		                ^
0_0_34015428_23100\Main.java:21: 错误: 需要class, interface或enum
			if(sz[i][1]>1000)
			^
0_0_34015428_23100\Main.java:24: 错误: 需要class, interface或enum
		}
		^
0_0_34015428_23100\Main.java:26: 错误: 需要class, interface或enum
		int ans=0,day=0;
		^
0_0_34015428_23100\Main.java:27: 错误: 需要class, interface或enum
		for(int i=0;i<n;i++){
		^
0_0_34015428_23100\Main.java:27: 错误: 需要class, interface或enum
		for(int i=0;i<n;i++){
		            ^
0_0_34015428_23100\Main.java:27: 错误: 需要class, interface或enum
		for(int i=0;i<n;i++){
		                ^
0_0_34015428_23100\Main.java:30: 错误: 需要class, interface或enum
			}
			^
0_0_34015428_23100\Main.java:32: 错误: 需要class, interface或enum
			if(value>sz[i][0]*1.0/day*1.0){
			^
0_0_34015428_23100\Main.java:34: 错误: 需要class, interface或enum
				value=sz[i][0]*1.0/day*1.0;
				^
0_0_34015428_23100\Main.java:35: 错误: 需要class, interface或enum
			}
			^
0_0_34015428_23100\Main.java:39: 错误: 需要class, interface或enum
					value=sz[i][0]*1.0/day;
					^
0_0_34015428_23100\Main.java:40: 错误: 需要class, interface或enum
				}
				^
0_0_34015428_23100\Main.java:45: 错误: 需要class, interface或enum
	}
	^
0_0_34015428_23100\Main.java:47: 错误: 需要class, interface或enum
 } 
 ^
29 个错误


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 22:38:30, Gzip enabled