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
2020-08-03 09:02:11
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa its so hard
2020-08-03 06:56:35
lol
2019-12-26 05:55:14
#include<iostream>
using namespace std;
main()
{
int n,m;
cin>>n;
for(int i=1;i<=10;i++)
cout<<n<<"*"<<i<<"="<<n*i<<endl;
}
2019-12-26 05:45:06
#include <iostream>
using namespace std;
int main () {
int n;
cin>>n;
for(int i=1;i<=10;i++)
cout<<n<<"*"<<i<<"="<<n*i<<"\n";
return 0;
}


2019-11-16 08:15:22
#include<bits/stdc++.h>
using namespace std;
int main(){
int n;
cin>>n;
for(int i=1;i<=10;i++){
cout<<n<<"*"<<i<<"="<<n*i<<"\n";
}
}
2019-11-16 07:25:17
#include <cstdio>


int main() {
int i, a;
scanf("%d",&a);
for (i = 1; i <= 10; ++i) {
printf("%d*%d=%d\n",a, i, a*i );
}
}
2019-11-16 07:20:46
#include <bits/stdc++.h>

using namespace std;

int main(){

int n,m;

cin >> n;

for(int i=1; i<=10; i++){
cout << n << "*" << i << "=" << n*i << "\n";
}

}
2019-11-13 09:28:43
xD
2019-10-23 15:48:56
#include <bits/stdc++.h>

using namespace std;

int main(){

int n,m;

cin >> n;

for(int i=1; i<=10; i++){
cout << n << "*" << i << "=" << n*i << "\n";
}

}

Last edit: 2019-10-23 15:51:11
2019-10-17 05:16:09
#include <iostream>
using namespace std;

int main() {
int a ;
scanf("%d",&a);
int s = 1,i;
for(i=1;i <=10;i++){
s=a*i;
printf("%d^%d=%d\n",a,i,s);

}
// your code goes here

}
whahahha
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.