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-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
2023-11-21 07:28:37



































































































































































































































































































































































































































































2023-11-21 07:28:26



































































































































































































































































































































































































































































2023-11-08 15:02:40
#include <iostream>
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;
}
return 0;
}
huul2
2023-10-31 03:32:52
#include <iostream>
using namespace std;
#define ll long long
int main()
{
int a,b,c,d,e,f,g,h,i,j,n;
cin>>a;
cout<<"a*1"<<"="<<a*1<<"\n";
cout<<"a*2"<<"="<<a*2<<"\n";
cout<<"a*3"<<"="<<a*3<<"\n";
cout<<"a*4"<<"="<<a*4<<"\n";
cout<<"a*5"<<"="<<a*5<<"\n";
cout<<"a*6"<<"="<<a*6<<"\n";
cout<<"a*7"<<"="<<a*7<<"\n";
cout<<"a*8"<<"="<<a*8<<"\n";
cout<<"a*9"<<"="<<a*9<<"\n";
cout<<"a*10"<<"="<<a*10<<"\n";
}
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.