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_34428563_26829\Main.java:55: 错误: 需要class, interface或enum
C++:
^
0_0_34428563_26829\Main.java:57: 错误: 非法字符: '#'
#include<stdio.h>
^
0_0_34428563_26829\Main.java:65: 错误: 需要class, interface或enum
    while(~scanf("%d%d",&n,&m))
    ^
0_0_34428563_26829\Main.java:71: 错误: 需要class, interface或enum
        a=sum=b=0;
        ^
0_0_34428563_26829\Main.java:73: 错误: 需要class, interface或enum
        for(i=1;i<=n;i++)
        ^
0_0_34428563_26829\Main.java:73: 错误: 需要class, interface或enum
        for(i=1;i<=n;i++)
                ^
0_0_34428563_26829\Main.java:73: 错误: 需要class, interface或enum
        for(i=1;i<=n;i++)
                     ^
0_0_34428563_26829\Main.java:79: 错误: 需要class, interface或enum
            b=b+2;
            ^
0_0_34428563_26829\Main.java:81: 错误: 需要class, interface或enum
            sum=sum+b;
            ^
0_0_34428563_26829\Main.java:83: 错误: 需要class, interface或enum
            if(i==n)
            ^
0_0_34428563_26829\Main.java:87: 错误: 需要class, interface或enum
            else if(a==m)
            ^
0_0_34428563_26829\Main.java:93: 错误: 需要class, interface或enum
                a=0;
                ^
0_0_34428563_26829\Main.java:95: 错误: 需要class, interface或enum
                sum=0;
                ^
0_0_34428563_26829\Main.java:97: 错误: 需要class, interface或enum
            }
            ^
0_0_34428563_26829\Main.java:105: 错误: 需要class, interface或enum
}
^
15 个错误


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-23 00:12:58, Gzip enabled