Problem hidden
|This problem was hidden by Editorial Board member probably because it has incorrect language|version or invalid test data, or description of the problem is not clear.|

RGB7304 - Сондгой цифрүүдийн тоо

Өгөгдсөн тоон дахь сондгой цифрүүдийн тоог ол.

Input

Бүхэл тоо өгөгдөнө.

Output

Сондгой цифрүүдийн тоо.

Example

Input:
23457

Output:
3

Нэмсэн:Bataa
Огноо:2013-01-09
Хугацааны хязгаарлалт:1s
Эх кодын хэмжээний хязгаарлалт:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Програмчлалын хэлүүд:ADA95 ASM32 BASH BF C NCSHARP CSHARP C++ 4.3.2 CPP C99 CLPS LISP sbcl LISP clisp D ERL FORTRAN HASK ICON ICK JAVA JS-RHINO JULIA LUA NEM NICE OCAML PAS-GPC PAS-FPC PERL PHP PIKE PRLG-swi PYTHON PYPY3 PYTHON3 RUBY SCALA SCM guile ST TCL WHITESPACE

hide comments
2024-04-29 03:56:10
You are my sunshine
My only sunshine
you make me happy
2024-04-29 03:56:10
You are my sunshine
My only sunshine
you make me happy
2024-04-29 03:56:09
You are my sunshine
My only sunshine
you make me happy
2024-04-29 03:56:09
You are my sunshine
My only sunshine
you make me happy
2024-03-13 03:16:19

using namespace std;
int h(int n,int m){
int ans,i,s;
for(i=1;i<=n;i++){
if(n%i==0){
if(m%i==0){
s=i;
}
}
}
ans=s;

}

int main() {
int n,m,s,i;
cin>>n>>m;
s=h(n,m);
cout<<s;
}
2024-02-20 04:46:48
ni.






























































g
























e





























































r











































s

Last edit: 2024-02-20 04:47:40
2023-10-18 02:12:46
#include<stdio.h>
main(){
int a,b,c,d,s,i;
scanf("%d", &a);
d=0;
i=1;
while(i<=a){
s=a/i;
c=s%10;
if(c%2>0){
d=d+1;
i=i*10;
}
else{
d=d+0;
i=i*10;
}
}
printf("%d", d);
}
2023-05-14 07:35:04
#include <iostream>
#include <cmath>
using namespace std;

int main(){
int n,i,t,s;
cin>>n;
t=0;
while(n!=0){
if(n%10%2!=0){
t+=1;
}
n=n/10;

}

cout<<t;

}
2023-04-09 02:21:23
oilgoj hiigeerei #include <iostream>
using namespace std;

int main() {
int a, b, c, d, e, A, n = 0;
cin >> A;
while(A > 0){
a = A % 10;

if(a % 2 == 1){
n = n + 1;
}
A = (A - a)/10;
}
cout << n;
return 0;
}
2023-03-17 04:07:46
......
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.