/ Vijos /

记录详情

Compile Error

/in/Main.java:1: error: class, interface, or enum expected
var
^
/in/Main.java:5: error: class, interface, or enum expected
a,b:array[1..10000] of integer;
^
/in/Main.java:7: error: class, interface, or enum expected
procedure qq;
^
/in/Main.java:9: error: class, interface, or enum expected
var
^
/in/Main.java:13: error: class, interface, or enum expected
q1,q2,i:integer;
^
/in/Main.java:15: error: class, interface, or enum expected
begin
^
/in/Main.java:19: error: class, interface, or enum expected
readln(s1);
^
/in/Main.java:21: error: class, interface, or enum expected
readln(s2);
^
/in/Main.java:22: error: class, interface, or enum expected
p1:=length(s1);
^
/in/Main.java:24: error: class, interface, or enum expected
p2:=length(s2);
^
/in/Main.java:25: error: class, interface, or enum expected
q1:=pos('.',s1);
^
/in/Main.java:27: error: class, interface, or enum expected
q2:=pos('.',s2);
^
/in/Main.java:28: error: class, interface, or enum expected
if q10
^
/in/Main.java:32: error: class, interface, or enum expected
dian:=p1-q1; p1:=p1-1;
             ^
/in/Main.java:34: error: class, interface, or enum expected
delete(s1,q1,1);
^
/in/Main.java:36: error: class, interface, or enum expected
end;
^
/in/Main.java:37: error: class, interface, or enum expected
if q20
^
/in/Main.java:41: error: class, interface, or enum expected
dian:=dian+p2-q2; p2:=p2-1;
                  ^
/in/Main.java:43: error: class, interface, or enum expected
delete(s1,q2,1);
^
/in/Main.java:45: error: class, interface, or enum expected
end;
^
/in/Main.java:46: error: class, interface, or enum expected
for i:=1 to p1 do
^
/in/Main.java:48: error: illegal '.'
if s1[i] in ['A'..'G']
                 ^
/in/Main.java:53: error: class, interface, or enum expected
for i:=1 to p2 do
^
/in/Main.java:55: error: illegal '.'
if s2[i] in ['A'..'G']
                 ^
/in/Main.java:61: error: class, interface, or enum expected
end;
^
/in/Main.java:63: error: class, interface, or enum expected
procedure main;
^
/in/Main.java:65: error: class, interface, or enum expected
var
^
/in/Main.java:69: error: class, interface, or enum expected
i,j,qq,aa:integer;
^
/in/Main.java:71: error: class, interface, or enum expected
c:array[1..10000] of integer;
^
/in/Main.java:73: error: class, interface, or enum expected
begin
^
/in/Main.java:77: error: class, interface, or enum expected
for i:=1 to p1 do
^
/in/Main.java:82: error: class, interface, or enum expected
if c[p1+p2]0
^
/in/Main.java:87: error: class, interface, or enum expected
for i:=1 to qq do
^
/in/Main.java:95: error: class, interface, or enum expected
c[i]:=c[i] mod n;
^
/in/Main.java:97: error: class, interface, or enum expected
end;
^
/in/Main.java:98: error: class, interface, or enum expected
if c[qq+1]0
^
/in/Main.java:101: error: class, interface, or enum expected
s:='';
^
/in/Main.java:101: error: empty character literal
s:='';
   ^
/in/Main.java:101: error: unclosed character literal
s:='';
    ^
/in/Main.java:109: error: class, interface, or enum expected
if dian>0
^
/in/Main.java:115: error: class, interface, or enum expected
qq:=qq+1; aa:=0;
^
/in/Main.java:115: error: class, interface, or enum expected
qq:=qq+1; aa:=0;
          ^
/in/Main.java:116: error: class, interface, or enum expected
for i:=1 to qq do
^
/in/Main.java:123: error: class, interface, or enum expected
if s[aa+1]='.'
^
/in/Main.java:128: error: class, interface, or enum expected
end;
^
/in/Main.java:129: error: class, interface, or enum expected
qq:=length(s);
^
/in/Main.java:131: error: class, interface, or enum expected
for i:=qq downto 1 do
^
/in/Main.java:137: error: class, interface, or enum expected
if s[i]='.'
^
/in/Main.java:143: error: class, interface, or enum expected
i:=i+1;
^
/in/Main.java:145: error: class, interface, or enum expected
end;
^
/in/Main.java:146: error: class, interface, or enum expected
for j:=i downto 1do
^
/in/Main.java:150: error: class, interface, or enum expected
writeln;
^
/in/Main.java:152: error: class, interface, or enum expected
end;
^
/in/Main.java:153: error: class, interface, or enum expected
begin
^
/in/Main.java:157: error: class, interface, or enum expected
main;
^
/in/Main.java:159: error: class, interface, or enum expected
end.
^
56 errors

信息

递交者
类型
递交
题目
P1301 多进制高精度乘法
语言
Java
递交时间
2020-05-19 21:21:07
评测时间
2020-05-19 21:21:07
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes