missvita
?>

Drag and drop to train a 3nn model to classify iris and output the predicted probabilities on the testing data set:​

Информатика

Ответы

arturnanda803
Program red;
var a,b:integer;
begin
b:=0;
readln(a);
if a<10 then
begin
if a mod 2=0 then b:=1;
end;
if (a>=10) and (a<100) then
begin
if ((a div 10) mod 2=0) and (a div 10 <>0) then b:=b+1;
if ((a mod 10) mod 2=0) and (a mod 10 <>0) then b:=b+1;
end;
if (a>=100) and (a<1000) then
begin
if ((a div 100) mod 2=0) and (a div 100 <>0) then b:=b+1;
if (((a div 10) mod 10) mod 2=0) and ((a div 10) mod 10 <>0) then b:=b+1;
if ((a mod 10) mod 2=0) and (a mod 10<>0) then b:=b+1;
end;
writeln(b);
end.

Ответить на вопрос

Поделитесь своими знаниями, ответьте на вопрос:

Drag and drop to train a 3nn model to classify iris and output the predicted probabilities on the testing data set:​
Ваше имя (никнейм)*
Email*
Комментарий*

Популярные вопросы в разделе

alukyanov
marinamarinazmeeva2444
kim-1971
Nikolaevna1623
ksyrika
AnzhelikaSlabii1705
Yevgenevich
vitaliy
familumid
bulin2001
mulyugina365
tatiana2676
ValeriyaAleksandr
Yevgenevich_Chipura-Nikolaeva
irinaastapova2011