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
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
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
2024-11-27 14:52:23
#include <stdio.h>

int main() {
int n;
scanf("%d", &n);
for (int i = 0; i < n; i++) {

for (int j = 1; j <= n; j++) {
printf("%d", j);
}
printf("\n");
}

return 0;
}
huultsgaa kshshsh
2024-10-25 13:48:44
tbh this code is pain in the arse to make
2024-09-17 03:10:12
Pneumonoultramicroscopicsilicovolcanoconiosis
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.