./Main.java:1: error: class, interface, enum, or record expected
Program P1646_NewVersion;
^
./Main.java:3: error: class, interface, enum, or record expected
Var i,j,k,l,n:Longint;
^
./Main.java:5: error: class, interface, enum, or record expected
a1,a2,a3,x1,x2,x3:Longint;
^
./Main.java:7: error: class, interface, enum, or record expected
a,b:string;
^
./Main.java:9: error: class, interface, enum, or record expected
Procedure PutOut;
^
./Main.java:11: error: class, interface, enum, or record expected
Var delta,ans1,ans2,tmp:real;
^
./Main.java:13: error: class, interface, enum, or record expected
Begin
^
./Main.java:21: error: class, interface, enum, or record expected
if delta>0 then
^
./Main.java:27: error: class, interface, enum, or record expected
ans2:=(-a2-sqrt(delta))/(2*a1);
^
./Main.java:29: error: class, interface, enum, or record expected
if ans1>ans2 then
^
./Main.java:33: error: class, interface, enum, or record expected
tmp:=ans1; ans1:=ans2; ans2:=tmp;
^
./Main.java:33: error: class, interface, enum, or record expected
tmp:=ans1; ans1:=ans2; ans2:=tmp;
^
./Main.java:35: error: class, interface, enum, or record expected
end;
^
./Main.java:37: error: class, interface, enum, or record expected
writeln(2);
^
./Main.java:39: error: class, interface, enum, or record expected
if ans1=0 then ans1:=0;
^
./Main.java:41: error: class, interface, enum, or record expected
write(ans1:0:5,' ');
^
./Main.java:43: error: class, interface, enum, or record expected
if ans2=0 then ans2:=0;
^
./Main.java:45: error: class, interface, enum, or record expected
writeln(ans2:0:5);
^
./Main.java:47: error: class, interface, enum, or record expected
end
^
./Main.java:57: error: class, interface, enum, or record expected
writeln(1);
^
./Main.java:59: error: class, interface, enum, or record expected
if ans1=0 then ans1:=0;
^
./Main.java:61: error: class, interface, enum, or record expected
writeln(ans1:0:5);
^
./Main.java:63: error: class, interface, enum, or record expected
end
^
./Main.java:69: error: class, interface, enum, or record expected
end
^
./Main.java:77: error: class, interface, enum, or record expected
ans1:=-a3/a2;
^
./Main.java:79: error: class, interface, enum, or record expected
if ans1=0 then ans1:=0;
^
./Main.java:81: error: class, interface, enum, or record expected
writeln(ans1:0:5);
^
./Main.java:83: error: class, interface, enum, or record expected
end;
^
./Main.java:85: error: class, interface, enum, or record expected
End;
^
./Main.java:87: error: class, interface, enum, or record expected
Procedure Deal;
^
./Main.java:89: error: class, interface, enum, or record expected
Var s1,s2:string;
^
./Main.java:91: error: class, interface, enum, or record expected
i1,i2,j1,j2:longint;
^
./Main.java:93: error: class, interface, enum, or record expected
Begin
^
./Main.java:95: error: class, interface, enum, or record expected
x1:=0; x2:=0; x3:=0;
^
./Main.java:95: error: class, interface, enum, or record expected
x1:=0; x2:=0; x3:=0;
^
./Main.java:97: error: class, interface, enum, or record expected
if b[1]'-' then b:='+'+b;
^
./Main.java:101: error: class, interface, enum, or record expected
while pos('x^2',b)>0 do
^
./Main.java:101: error: unclosed character literal
while pos('x^2',b)>0 do
^
./Main.java:101: error: unclosed character literal
while pos('x^2',b)>0 do
^
./Main.java:105: error: unclosed character literal
j:=pos('x^2',b);
^
./Main.java:105: error: unclosed character literal
j:=pos('x^2',b);
^
./Main.java:107: error: class, interface, enum, or record expected
if j=0 then break;
^
./Main.java:109: error: class, interface, enum, or record expected
for j1:=j-1 downto 1 do
^
./Main.java:113: error: class, interface, enum, or record expected
s1:=copy(b,j1+1,j-(j1+1));
^
./Main.java:115: error: class, interface, enum, or record expected
if s1='' then i1:=1 else val(s1,i1);
^
./Main.java:115: error: empty character literal
if s1='' then i1:=1 else val(s1,i1);
^
./Main.java:117: error: class, interface, enum, or record expected
if b[j1]='-' then x1:=x1-i1 else x1:=x1+i1;
^
./Main.java:119: error: class, interface, enum, or record expected
delete(b,j1,j+2-j1+1);
^
./Main.java:121: error: class, interface, enum, or record expected
end;
^
./Main.java:125: error: class, interface, enum, or record expected
while pos('x',b)>0 do
^
./Main.java:131: error: class, interface, enum, or record expected
if j=0 then break;
^
./Main.java:133: error: class, interface, enum, or record expected
for j1:=j-1 downto 1 do
^
./Main.java:137: error: class, interface, enum, or record expected
s1:=copy(b,j1+1,j-(j1+1));
^
./Main.java:139: error: class, interface, enum, or record expected
if s1='' then i1:=1 else val(s1,i1);
^
./Main.java:139: error: empty character literal
if s1='' then i1:=1 else val(s1,i1);
^
./Main.java:141: error: class, interface, enum, or record expected
if b[j1]='-' then x2:=x2-i1 else x2:=x2+i1;
^
./Main.java:143: error: class, interface, enum, or record expected
delete(b,j1,j-j1+1);
^
./Main.java:145: error: class, interface, enum, or record expected
end;
^
./Main.java:149: error: class, interface, enum, or record expected
begin
^
./Main.java:153: error: class, interface, enum, or record expected
j:=length(b);
^
./Main.java:155: error: class, interface, enum, or record expected
while j>1 do
^
./Main.java:161: error: class, interface, enum, or record expected
for j1:=2 to j do
^
./Main.java:165: error: class, interface, enum, or record expected
s1:=copy(b,2,j1-2);
^
./Main.java:167: error: class, interface, enum, or record expected
val(s1,i1);
^
./Main.java:169: error: class, interface, enum, or record expected
if b[1]='+' then x3:=x3+i1 else x3:=x3-i1;
^
./Main.java:171: error: class, interface, enum, or record expected
delete(b,1,j1-1);
^
./Main.java:173: error: class, interface, enum, or record expected
end;
^
./Main.java:175: error: class, interface, enum, or record expected
end;
^
./Main.java:177: error: class, interface, enum, or record expected
End;
^
./Main.java:179: error: class, interface, enum, or record expected
Begin
^
./Main.java:183: error: class, interface, enum, or record expected
i:=pos('=',a);
^
./Main.java:185: error: class, interface, enum, or record expected
b:=copy(a,1,i-1);
^
./Main.java:187: error: class, interface, enum, or record expected
delete(a,1,i);
^
./Main.java:189: error: class, interface, enum, or record expected
Deal;
^
./Main.java:191: error: class, interface, enum, or record expected
a1:=x1; a2:=x2; a3:=x3;
^
./Main.java:191: error: class, interface, enum, or record expected
a1:=x1; a2:=x2; a3:=x3;
^
./Main.java:191: error: class, interface, enum, or record expected
a1:=x1; a2:=x2; a3:=x3;
^
./Main.java:193: error: class, interface, enum, or record expected
b:=a;
^
./Main.java:195: error: class, interface, enum, or record expected
deal;
^
./Main.java:197: error: class, interface, enum, or record expected
dec(a1,x1); dec(a2,x2); dec(a3,x3);
^
./Main.java:197: error: class, interface, enum, or record expected
dec(a1,x1); dec(a2,x2); dec(a3,x3);
^
./Main.java:197: error: class, interface, enum, or record expected
dec(a1,x1); dec(a2,x2); dec(a3,x3);
^
./Main.java:199: error: class, interface, enum, or record expected
if ((a1=0) and (a2=0) and (a3=0)) then writeln('181818181818') else
^
./Main.java:199: error: unclosed character literal
if ((a1=0) and (a2=0) and (a3=0)) then writeln('181818181818') else
^
./Main.java:199: error: unclosed character literal
if ((a1=0) and (a2=0) and (a3=0)) then writeln('181818181818') else
^
./Main.java:205: error: class, interface, enum, or record expected
End.
^
86 errors