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

493278_0_0_17432\Main.java:1: 需要 "class" 或 "interface"
var n,i,j,t:longint;
^
493278_0_0_17432\Main.java:2: 需要 "class" 或 "interface"
 a,b:array[1..100]of longint;
 ^
493278_0_0_17432\Main.java:3: 需要 "class" 或 "interface"
begin
^
493278_0_0_17432\Main.java:7: 需要 "class" 或 "interface"
        if n=0 then break;
        ^
493278_0_0_17432\Main.java:8: 需要 "class" 或 "interface"
        for i:= 1 to n do
        ^
493278_0_0_17432\Main.java:10: 需要 "class" 或 "interface"
          for i:=1 to n-1 do
          ^
493278_0_0_17432\Main.java:15: 需要 "class" 或 "interface"
                a[i]:=a[j];
                ^
493278_0_0_17432\Main.java:16: 需要 "class" 或 "interface"
                a[j]:=t;
                ^
493278_0_0_17432\Main.java:17: 需要 "class" 或 "interface"
            end;
            ^
493278_0_0_17432\Main.java:18: 需要 "class" 或 "interface"
         for i:=1 to n-1 do
         ^
493278_0_0_17432\Main.java:20: 需要 "class" 或 "interface"
         begin
         ^
493278_0_0_17432\Main.java:22: 需要 "class" 或 "interface"
         end;
         ^
493278_0_0_17432\Main.java:23: 需要 "class" 或 "interface"
      end;
      ^
493278_0_0_17432\Main.java:24: 需要 "class" 或 "interface"
     end.
     ^
14 错误


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-25 07:50:55, Gzip enabled