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
2021-11-16 07:53:06
int n, a, b=0 ;
Scanner cs = new Scanner(System.in);
n = cs.nextInt();
while( n>=1 )
{
a=n%10;
if(a%2==1)
b=b+1;
n=n/10;
}
System.out.print(b);
2021-10-13 12:18:04
#include <stdio.h>
int main(main) {
int n,d,f,c,a;
scanf("%d",&n);
f=0;
while(0<n){
d=n%10;
n=n/10;
if(d%2==1)
f=f+1;
}

printf("%d",f);
return 0;
}
GL boovnuudaa
2021-04-21 05:15:44
#include<bits/stdc++.h>
using namespace std;


int main (){
int a,b,c,d,n,orts,davhar,haalga,i,niilber=0;
cin>>n;
while(n>0){
if(n%2==1)
niilber=niilber+1;
n=n/10;

}
cout<<niilber;
return 0;
}
copy dis shit
2020-10-18 05:50:34
fuck fuck fuck fuck fuck fuck
2020-08-01 13:41:53
what the hay
2019-12-26 07:09:37
#include <iostream>

using namespace std;

int main(){
int a, b, c, d, e, f;
d = 0;
cin >> a;
while(a > 0){
b = a % 10;
a = a - b;
a = a / 10;
if(b % 2 == 1){
d++;
}
}
cout << d << endl;
return 0;
}
2019-11-21 08:00:37
#include <bits/stdc++.h>
main(){
int a,b,s=0;
scanf("%d",&a);
while(a>0){
if(a%2==0){
s+=a%10;
}
a/=10;
}
printf("%d",s);
}

2019-11-12 08:24:21
Badraa hatuu boroo
2019-10-19 13:41:55
#include <cstdio>
int main()
{
int a, s=0;
scanf ("%d", &a);
while(a > 0){
if(a % 2 ==1) s = s + a % 2;
a /= 10;
}
printf("%d\n", s);
}
2019-10-06 08:26:55
#include <cstdio>

int main(){
int n;
scanf("%d" , &n);
int s = 0;
while(n > 0){
if(n % 10 % 2 == 1) s ++;
n /= 10;
}
printf("%d" , s);
}
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.