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

RGB7210 - Тооны хүрд

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

Input

n натурал тоо өгөгдөнө. n<=10.

Output

n тооны хүрд нэг нэг мөрөнд хэвлэ.

Example

Input:
3

Output:
3*1=3
3*2=6
3*3=9
3*4=12
3*5=15
3*6=18
3*7=21
3*8=24
3*9=27
3*10=30

Нэмсэн:Bataa
Огноо:2011-06-21
Хугацааны хязгаарлалт: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-04-09 03:23:01
hiii hairudaaaa kkk udvalicecream shu mni ig taniltsii hairlaltsii aimrr huurhn gorl baina unji munji kiss gshasnnnn hahhahahahhaahah
2024-04-05 10:17:53
int n,a,b;
scanf("%d",&n);
for(a=1;a<11;a++)
{
b=n*a;
printf("%d*%d=%d\n",n,a,b);
}
bodoj chdhgu baival endees haraarai
2024-03-14 09:00:46



#include <iostream>
using namespace std;

int main()
{
int a,b,c,d=0;
cin>>a;

while(d<10){
d++;
cout<<a<<"*"<<d<<"="<<a*d<<endl;
}


return 0;
}
2024-03-14 08:49:28
01110011 01101011 01101001 01100010 01101001 01100100 01101001 00100000 01100110 01100001 01101110 01110101 01101101 00100000 01110100 01100001 01111000 00100000 01101111 01101000 01101001 01101111 00100000 01110010 01101001 01111010 01111010 01101100 01100101 01110010 00100000 01101101 01101111 01100111 01100111 01100101 01100100 00100000 01100010 01111001 00100000 01101100 01101001 01110110 01110110 01111001 00100000 01100100 01110101 01101110 01101110 01100101 01110011 00100000 01100111 01111001 01100001 01110100 01110100
2024-02-29 03:43:48
#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;

cin >> n;
for (i = 1; i <= 10; i++) {
cout << n;
cout << "*";
cout << i;
cout << "=";
cout << n * i << 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-02-23 14:44:32
#include <iostream>
using namespace std;

int main() {

int n;
cin>>n;
for(int i=1; i<=10; i++){
cout<<n<<"*"<<i<<"="<<n*i<<endl;
}
}
2024-01-20 06:31:51
#include <stdio.h>
int main (){
int n,i,s;
scanf("%d",&n);
for (int i =1;i<=10;i++) {
s = n * i;
printf("%d*%d=%d\n", n,i,s);
}
return 0;
}
2024-01-17 07:28:52

#include <iostream>
using namespace std;

int main() {
int a,b,c,d,n,s=0,r=1,i;
cin>>a;
for(i=1; i<=10; i ++){
cout<< a<<'*'<<i<<'='<<a*i<<endl;
}
return 0;
}
iim bodlogo shaaj cdahq bl yvj aygaa ugaa
2023-11-29 06:02:27
#include<bits/stdc++.h>
using namespace std;
int main(){
int n,i,s;
cin>>n;
for(i=1;i<=10;i++){
s=n*i;
cout<<n<<"*"<<i<<"="<<s<<endl;
}
}
2023-11-29 05:55:06
i dont know
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.