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-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
......
2023-01-18 09:06:36
#include <iostream>
using namespace std;

int main(){
int n , x ,s = 0 ;
cin >> n ;
while( n > 0 ){
x = n % 10 ;
if( x % 2 != 0){
s += 1 ;
}
n /= 10 ;
}
cout << s ;
return 0;
}
2023-01-18 09:06:11
#include <iostream>
using namespace std;

int main(){
int n , x ,s = 0 ;
cin >> n ;
while( n > 0 ){
x = n % 10 ;
if( x % 2 != 0){
s += 1 ;
}
n /= 10 ;
}
cout << s ;
return 0;
}
2023-01-12 09:28:15
snu pororogiin nzuda
2022-12-07 07:33:50
#include <iostream>
using namespace std;
int main()
{
int n,sum=0,m;
cin>>n;
while(n>0)
{
m=n%10;
if (m%2 != 0) {
sum=sum+1; }
n=n/10;
}
cout<<sum<<endl;
return 0;
}
//yummers
2022-11-30 14:01:04
Munkhjinuun huulaa boli KY-2
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.