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_8319024_16534\Main.java:2: 类 Main60 是公共的,应在名为 Main60.java 的文件中声明
public class Main60
       ^
0_0_8319024_16534\Main.java:9: 找不到符号
符号: 类 lang
位置: 类 Main60
			lang n=sc.nextInt();
			^
0_0_8319024_16534\Main.java:10: 找不到符号
符号: 类 lang
位置: 类 Main60
			lang sum=(1+n)*n/2;
			^
0_0_8319024_16534\Main.java:10: 运算符 + 不能应用于 int,lang
			lang sum=(1+n)*n/2;
			          ^
4 错误


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-29 03:10:52, Gzip enabled