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
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
2022-11-25 06:29:34
sss
2022-11-18 01:49:40
tetet1


Last edit: 2022-11-18 01:53:46
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.