Ответ:
2. 4
Объяснение:
potomyshto ty sliskom typoj
Program Pr1;
uses crt;
var a,b,c:integer;
f:boolean;
Begin
clrscr;
f:=false;
readln(a,b,c);
if (a mod 2=0) or (b mod 2=0) or (c mod 2=0) then f:=true;
writeln(f);
end.
n = int(input())
m = int(input())
ans = 0
for i in range(m, n-1, -1):
buf = 0
for y in str(i)[1:]:
y = int(y)
if y%2==0 and y != 0:
buf += 1
if (y%4==0 and y!=0) or buf >= 2:
ans = i
break
if ans != 0:
print(i)
break
Если не ошибаюсь способов 2
<h3>PascalABC.NET 3.4.2, сборка 1843 от 24.10.2018</h3>
begin
var s := ReadString;
((s.Count(t -> t in ['a'..'z']) > 0 ? 1 : 0) + (s.Count(t -> t in ['A'..'Z']) > 0 ? 1 : 0) +
(s.Count(t -> t in ['0'..'9']) > 0 ? 1 : 0) + (s.Length >= 8 ? 1 : 0)).Println;
end.