/ Vijos /

记录详情

Compile Error

/in/Main.java:1: error: class, interface, or enum expected
type arra=array[0..101,0..101]of longint;
^
/in/Main.java:3: error: class, interface, or enum expected
var
^
/in/Main.java:7: error: class, interface, or enum expected
map:array[0..101,0..101]of char;
^
/in/Main.java:9: error: class, interface, or enum expected
f1,f2,f3:arra;
^
/in/Main.java:11: error: class, interface, or enum expected
count:array['A'..'Z']of longint;
^
/in/Main.java:11: error: illegal '.'
count:array['A'..'Z']of longint;
                ^
/in/Main.java:13: error: class, interface, or enum expected
app:array['A'..'Z']of boolean;
^
/in/Main.java:13: error: illegal '.'
app:array['A'..'Z']of boolean;
              ^
/in/Main.java:15: error: class, interface, or enum expected
procedure print(a:arra);
^
/in/Main.java:17: error: class, interface, or enum expected
var
^
/in/Main.java:21: error: class, interface, or enum expected
begin
^
/in/Main.java:29: error: class, interface, or enum expected
writeln;
^
/in/Main.java:31: error: class, interface, or enum expected
end;
^
/in/Main.java:33: error: class, interface, or enum expected
writeln; 
^
/in/Main.java:34: error: class, interface, or enum expected
end;
^
/in/Main.java:36: error: class, interface, or enum expected
procedure init;
^
/in/Main.java:38: error: class, interface, or enum expected
var
^
/in/Main.java:42: error: class, interface, or enum expected
begin 
^
/in/Main.java:45: error: class, interface, or enum expected
fillchar(app,sizeof(app),0);
^
/in/Main.java:47: error: class, interface, or enum expected
for i:=1 to n do
^
/in/Main.java:57: error: class, interface, or enum expected
app[map]:=true;
^
/in/Main.java:59: error: class, interface, or enum expected
end;
^
/in/Main.java:61: error: class, interface, or enum expected
readln;
^
/in/Main.java:63: error: class, interface, or enum expected
end;
^
/in/Main.java:65: error: class, interface, or enum expected
end;
^
/in/Main.java:67: error: class, interface, or enum expected
function min(a,b:longint):longint;
^
/in/Main.java:69: error: class, interface, or enum expected
begin
^
/in/Main.java:75: error: class, interface, or enum expected
f2:=min(f2*ord(map=map),f2*ord(map=map))+1;
^
/in/Main.java:77: error: class, interface, or enum expected
if f2>1 then
^
/in/Main.java:81: error: class, interface, or enum expected
f3:=min(f3*ord(map=map),f3*ord(map=map))+1;
^
/in/Main.java:83: error: class, interface, or enum expected
if f3>1 then
^
/in/Main.java:87: error: class, interface, or enum expected
end;
^
/in/Main.java:89: error: class, interface, or enum expected
fillchar(f1,sizeof(f1),0);
^
/in/Main.java:91: error: class, interface, or enum expected
for i:=n downto 1 do
^
/in/Main.java:99: error: class, interface, or enum expected
if f1>1 then
^
/in/Main.java:103: error: class, interface, or enum expected
end; 
^
/in/Main.java:104: error: class, interface, or enum expected
fillchar(f1,sizeof(f1),0);
^
/in/Main.java:106: error: class, interface, or enum expected
for i:=1 to n do
^
/in/Main.java:114: error: class, interface, or enum expected
if f1>1 then
^
/in/Main.java:118: error: class, interface, or enum expected
end;
^
/in/Main.java:120: error: class, interface, or enum expected
fillchar(f1,sizeof(f1),0);
^
/in/Main.java:122: error: class, interface, or enum expected
for i:=n downto 1 do
^
/in/Main.java:130: error: class, interface, or enum expected
if f1>1 then
^
/in/Main.java:134: error: class, interface, or enum expected
end;
^
/in/Main.java:136: error: class, interface, or enum expected
fillchar(f1,sizeof(f1),0);
^
/in/Main.java:138: error: class, interface, or enum expected
for j:=1 to n do
^
/in/Main.java:146: error: class, interface, or enum expected
if f1>1 then
^
/in/Main.java:150: error: class, interface, or enum expected
end;
^
/in/Main.java:152: error: class, interface, or enum expected
fillchar(f1,sizeof(f1),0);
^
/in/Main.java:154: error: class, interface, or enum expected
for j:=n downto 1 do
^
/in/Main.java:162: error: class, interface, or enum expected
if f1>1 then
^
/in/Main.java:166: error: class, interface, or enum expected
end;
^
/in/Main.java:168: error: class, interface, or enum expected
all:=0;
^
/in/Main.java:170: error: class, interface, or enum expected
for ch:='A' to 'Z' do if app[ch] then all:=all+count[ch];
^
/in/Main.java:172: error: class, interface, or enum expected
writeln(all);
^
/in/Main.java:174: error: class, interface, or enum expected
for ch:='A' to 'Z' do if app[ch] then
^
/in/Main.java:180: error: class, interface, or enum expected
end; 
^
/in/Main.java:181: error: class, interface, or enum expected
end;
^
/in/Main.java:183: error: class, interface, or enum expected
begin
^
/in/Main.java:187: error: class, interface, or enum expected
find;
^
/in/Main.java:189: error: class, interface, or enum expected
end.
^
61 errors

信息

递交者
类型
递交
题目
P1403 三角形
语言
Java
递交时间
2017-12-02 17:57:12
评测时间
2017-12-02 17:57:12
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes