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

RGB7400 - Давхар давталт 0

Өгөгдсөн натурал тоо хүртэлх тоонуудыг дараах хэлбэрээр хэвлэнэ үү.

Input

Натурал тоо өгөгдөнө. 10-аас бага.

Output

Өгөгдсөн тоо болон тоо хүртэлх тоонуудыг жишээн дээрх хэлбэрээр хэвлэ. Мөрөн дэх тоонууд хооронд зай байхгүй.

Example

Input:
5
Output:
12345
12345
12345
12345
12345

Нэмсэн:Bataa
Огноо:2013-01-14
Хугацааны хязгаарлалт: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
2025-07-09 16:38:17
Ta naraas neg asuult asuuya !!!
ta naryg aav eej za bish yma gehed bagsh cn hucheer kod bichuuldeg uu ? oorsdoo sonirholooroo bichdeg uu ????
2025-02-04 02:42:16
z

Last edit: 2025-02-04 02:42:36
2025-02-02 17:05:34
#include<iostream>
#include<cmath>
using namespace std;
int main (){
int a;
cin>>a;
for(int i=a; i>=1;i--){
for(int j=1; j<=a ; j++)
cout<<j;
cout<<endl;
}

return 0;
}//zzo amilt
2025-01-29 03:49:01
ohiduudyg toohgu ignore hiidg huvguud muuxai shuuuuuu!!!!!!!!
2024-12-18 06:25:43
nvm guess i'll touch yall
2024-12-12 15:09:21

irmuun nigger yes you 9e bum i know you would look at the comment section lil bum from barhas


#include <iostream>
using namespace std;

int main()
{
int a,b,c,d,e,h;
cin>>a;
b=1;
h=a;
while(h>0){
h=h-1;
b=1;
cout<<endl;
while(a>=b){
cout<<b;
b=b+1;
}



}
}
2024-12-10 06:43:32
a = int(input())
i = 0
l = 0
while a>i:
i = i+1
print (i, end="")
if i == a:
i = 0
print()
l +=1
if l ==a:
break
2024-12-10 06:41:44
a = int(input())
i = 0
1 = 0
while a>i:
i = i+1
print (i, end="")
if i == a:
i = 0
print()
1 +=1
if 1 ==a:
break
2024-12-03 04:11:13
#include <iostream>
#include <sstream>
#include <string>
#include <cstdlib>
#include <cmath>

using namespace std;

// Headers
string toString (double);
int toInt (string);
double toDouble (string);

int main() {
int n, i, a;

cin >> n;
i = 1;
for (i = 1; i<=n;i++) {
for (a = 1;a<=n;a++) {
cout << a;
}
cout<<""<<endl;
}

return 0;
}

// The following implements type conversion functions.
string toString (double value) { //int also
stringstream temp;
temp << value;
return temp.str();
}

int toInt (string text) {
return atoi(text.c_str());
}

double toDouble (string text) {
return atof(text.c_str());
}
2024-11-30 13:16:53
#include <iostream>
#include <sstream>
#include <string>
#include <cstdlib>
#include <cmath>

using namespace std;

// Headers
string toString (double);
int toInt (string);
double toDouble (string);

int main() {
int n, i, a;

cin >> n;
i = 1;
for (i = 1; i <= n; i++) {
for (a = 1; a <= n; a++) {
cout << a;
}
}

//
return 0;
}

// The following implements type conversion functions.
string toString (double value) { //int also
stringstream temp;
temp << value;
return temp.str();
}

int toInt (string text) {
return atoi(text.c_str());
}

double toDouble (string text) {
return atof(text.c_str());
}
huul huul bur bolon
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.