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

RGB8008 - 3 оронтой тоонууд

Цифрүүд нь ялгаатай 3 оронтой бүх тоонуудыг өсөх эрэмбээр хэвлэ.

 


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

hide comments
2024-02-07 05:28:22
baga tengeriin bn uzhu hureed mar uulzi taksinii mongoo avxhararai 11:40 d belen baigarai novsh gej
2024-02-07 05:27:31
zaitai bn gologoo
2022-11-04 05:44:20
// Online C++ compiler to run C++ program online
#include <iostream>
using namespace std;
int main() {
int a;
cin>>a;
int b=a/100;
int d=(a/10)%10;
int c=a%10;
int dund=(b+d+c)/2;
max=abs(b-d-c);
cout<<dund-max<<" "<<dund<<" "<<dund+max;
return 0;
}
2020-03-31 14:39:28
int a = 101,b,c,v,i = 0;
while (a <= 987)
{
a++;
i = 0;
b = a % 10;
c = a / 10 % 10;
v = a / 10 / 10;
if (b == c)
{
i++;
}
if (c == v)
{
i++;
}
if (v == b)
{
i++;
}
if (i == 0)
{
cout << a << endl;
}
}
2019-12-03 13:24:59
amraa t1


Last edit: 2019-12-03 13:25:51
2019-09-27 10:26:18
segued
2018-03-28 06:56:18
#include<stdio.h>
#include<stdlib.h>
#include<math.h>
main()
{
int a=0,b=0,c=0;
for(int i=102;i<=987;i++)
{
a=i/100;
b=i/10%10;
c=i%10;
if(a!=b && a!=c && b!=c)
{
printf("%d\n",i);
}
}
}
2018-03-17 07:38:07
#include<stdio.h>
int main ()
{
int a=0,b=0,c=0;
for(int i=102;i<=987;i++)
{
a=i/100;
b=i/10%10;
c=i%10;
if(a!=b&&a!=c&&b!=c)

{

printf("%d\n",i);
}
}
}
2018-03-10 04:02:59
//FB:ByamBa//
#include <bits/stdc++.h>

using namespace std;

main ()
{
int a = 0,b = 0, c = 0;
for(int i = 102; i <= 987; i++ )
{
a = i/100;
b = i/10%10;
c = i%10;
if (a!=b&&a!=c&&b!=c)
{
printf("%d\n",i);
}
}
}
2018-01-10 08:42:36
og edr ni dutuu bgam bishuu ymr utga edr ogood bgan
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.