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.|

RGB7109 - Тэнцүү 5

Өгөгдсөн 3 тоон дотроос 5-тай тэнцүү тоонуудын тоог ол.

Input

Нэг мөрөнд Int төрлийн 3 тоо зайгаар тусгаарлагдан өгөгдөнө.

Output

5-тай тэнцүү тоонуудын тоо.

Example

Input:
2 5 5

Output:
2

Нэмсэн:Bataa
Огноо:2011-05-26
Хугацааны хязгаарлалт:0.200s
Эх кодын хэмжээний хязгаарлалт: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
2022-04-07 12:15:57
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int count = 0;
int[] arr = new int[3];
for(int i = 0; i < 3; i++) {
arr[i] = sc.nextInt();
}
for(int i : arr) {
if (i == 5) {
count++;
}
}
System.out.println(count);
}
2022-03-30 12:04:18
eee gulug uassh
2022-03-30 12:03:33
Abdulla bolio bitgii huulaa
2022-03-28 03:54:07
#include<stdio.h>
int main(){
int a,b,c,k=0;
scanf("%d%d%d",&a,&b,&c);
if(a==5) k++;
if(b==5) k++;
if(c==5) k++;
printf("%d",k);
}
jich so ez ahaasn huul main minii duu
2022-03-23 10:09:38
#include<stdio.h>
int main()
{
int a, b, c, k=0, l, p, f;
scanf("%d %d %d", &a, &b, &c);
if(a==5) k++;
if(b==5) k++;
if(c==5) k++;


printf("%d",k);

return 0;
}
2021-12-13 18:48:50
eeezz ym baigaa uugna Jich: JS

var a = [5, 5,5,4];
var num = 0;
for(var i = 0; i<a.length; i++){
if(a[i] === 5){
num = num + 1;
}
}
console.log(num)

Last edit: 2021-12-13 18:49:34
2021-12-04 04:23:22
fuck
2021-10-17 05:42:50
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int count = 0;
int[] arr = new int[3];
for(int i = 0; i < 3; i++) {
arr[i] = sc.nextInt();
}
for(int i : arr) {
if (i == 5) {
count++;
}
}
System.out.println(count);
}
2021-10-12 13:32:41
import statistics
import math
lst=input().split()
integer_list=[]
for x in lst:
integer_list.append(int(x))
mode = statistics.mode(integer_list)
integer_list.count(mode)
2021-09-10 06:37:35
tng barsa
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.