Ответ:
var a, b, x:integer;
begin
readln(a, b);
if a > b then x:=b*a+1;
if a = b then x:=3425;
if a < b then x:=(2*a-5)/b;
writeln(x);
end.
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
var a, b, x:integer;
begin
readln(a, b);
if a > b then x:=b*a+1;
if a = b then x:=3425;
if a < b then x:=(2*a-5)/b;
writeln(x);
end.