Go: package main

import (
	"fmt"
	"strconv"
)

func main() {
	for _, leftValue := range MultiplicationTableNum(9) {
		for _, rightValue := range MultiplicationTableNum(9) {
			strLeftVal, strRightVal, strMulti := strconv.Itoa(leftValue), strconv.Itoa(rightValue), strconv.Itoa(Multiplication(leftValue, rightValue))
			fmt.Println(strLeftVal + "x" + strRightVal + "=" + strMulti)
		}
	}
}

func MultiplicationTableNum(num int) []int {
	multiNum := []int{}
	for i := 1; i <= num; i++ {
		multiNum = append(multiNum, i)
	}
	return multiNum
}

func Multiplication(x, y int) int {
	return x * y
}

C++: #include<iostream>
using namespace std;

int main(){

	int i, j;

	for (i = 1; i < 10; i++){
		for (j = 1; j < 10; j++){
			cout << i << "x" << j << "=" << j * i << "\n";
		}
	}
	return 0;
}

C++: #include<iostream>
using namespace std;
int main(){
  int a;
  for(int i=1;i<=9;i++){
    for(int j=1;j<=9;j++){
      a=i*j;
      cout<<i<<"x"<<j<<"="<<a<<endl;
    }
  }
}

C++: #include <cstdio>

int main()
{
	for(int i = 1; i <= 9; i ++)
	{
		for(int j = 1; j <= 9; j ++)
		{
			::printf("%dx%d=%d\n", i, j, i * j);
		}
	}
}

C++: #include  <cstdio>
int main()
{
for(int i=1;i<=9;i++)
for(int j=1;j<=9;j++)
printf("%dx%d=%d\n",i,j,i*j);
}

C++: #include <iostream>
using namespace std;

int main()
{
	for(int i=1;i<=9;i++)
		for(int j=1;j<=9;j++)
			printf("%dx%d\n",i,j);
	return 0;
}

C++: #include <iostream>
#include <cstdio>
using namespace std;
int m,k;
int dfs(int n)
{
    int a=n/k;
    int b=n%k;
    int tmp=0;
    if(n<k)
    {
        for(int i=1;i<n;i++) tmp+=i;
        return tmp;
    }
    else
    {
        for(int i=1;i<k-1;i++) tmp+=i;
        tmp+=(n-k+1)*(k-1);
    }
    for(int i=1;i<=b;i++) tmp+=dfs(a+1);
    for(int i=b+1;i<=k;i++) tmp+=dfs(a);
    return tmp;
}
int main()
{
    int T,kase=1;
    cin>>T;
    while(T--)
    {
        cin>>m>>k;
        cout<<dfs(m)<<endl;
    }
    return 0;
}

C++: #include <iostream>
using namespace std;

int main(){
  for(int i=1;i<=9;i++){
    for(int j=1;j<=9;j++){
      cout <<i<<"x"<<j<<"="<<i*j<<endl;
    }
  }
  return 0;
}

C++: #include <iostream>
using namespace std;
int main(){
for(int i = 1; i < 10; i++)
for(int j = 1; j < 10; j++)
cout << i << "x" << j << i*j << endl;
return 0;
}

C++: #include <iostream>
using namespace std;

int main() {
  int a = 1;
  int b = 1;
  for (???;) {
    cout << a << "x" << b << "=" << a*b << endl;
    ++b;
    if ( b = 10;) {
      ++a;
      int b = 1;
    } else if ( a == 9 && b == 10;) {
      break;
    }

  }

  return 0;
}

C++: #include<iostream>
using namespace std;

int main(){
		int i;
		int j;
		for(i = 1; i < 10; i++){
			for(j = 1; j < 10; j++){
    		cout << i << "x" << j << "=" << i*j << endl;
			}
		}
    return 0;
}

C++: #include <iostream>

using namespace std;

int main()
{
    for (int i = 0; i < 9; ++i) {
        for (int j=0;j<9;j++){
            cout<<(i+1)<<"x"<<(j+1)<<"="<<(i+1)*(j+1)<<endl;
        }
    }
    return 0;
}

C++: #include <cstdio>

#define N	9

int main()
{
	for(int i = 1; i <= N; i ++)
	{
		for(int j = 1; j < N; j ++)
		{
			::printf("%dx%d=%d\n", i, j, i * j);
		}
	}
}

C++: #include <iostream>
#include <vector>
#include <algorithm>
#include <queue>
using namespace std;

int main() {
    clock_t cTimeStart, cTimeEnd;
    cTimeStart = clock();           // 現在時刻
    for(int i=1;i<10;++i){
    	for(int j=1;j<10;++j){
    	    cout<<i<<"x"<<j<<"="<<i*j<<endl;
    	}
    }

    cTimeEnd = clock();           // 現在時刻
//    cout<< "処理時間:" <<(cTimeEnd - cTimeStart)/1000 << "[ms]" << endl;

	return 0;
}

C++: #include<iostream>
using namespace std;

int main(){
  int i,j;
  for(i=1; i<=9; i++){
    for(j=1; j<=9; j++){
      cout<<i<<"x"<<j<<"="<<i*j<<endl;
    }
  }
    return 0;
}

C++: #include <iostream>
using namespace std;

int main(){
	for(int i=1; i<=9; ++i){
		for(int j=1; j<=9; ++j){
			cout << i << "x" << j << "=" << i*j << endl;
		}
	}

	return 0;
}

C++: #include<stdio.h>

int main()
{
	long long i, j;
	for(i = 1; i <= 9; i++)
	{
		for(j = 1; j <= 9; j++)
		{
			printf("%lld*%lld=%lld\n",i,j,i*j);
		}
	}
}

C++: #include <bits/stdc++.h>
using namespace std;
#define FOR(i, s, n) for(int i = s; i < (int)n; i++)
#define per(i, n) for(int i = n; i >= 0; i--)
#define ROF(i, s, n) for(int i = s; i >= (int)n; i--)
#define FORIT(i, A) for (auto i : A)
#define PRINT(x) cout << (x) << "\n"
#define ALL(a) (a).begin(),(a).end()
#define RALL(a) (a).rbegin(), (a).rend()
#define MP make_pair
#define EACH(i, n) for (__typeof((n).begin()) i = (n).begin(); i != (n).end(); ++i)
#define SZ(a) int((a).size())
#define EXIST(s,e) ((s).find(e)!=(s).end())
#define SORT(c) sort((c).begin(),(c).end())
#define CLR(a) memset((a), 0 ,sizeof(a))
#define NCLR(a) memset((a), -1 ,sizeof(a))
#define dump(x) cout << #x << " = " << (x) << "\n";
#define debug(x) cout << #x << " = " << (x) << " (L" << __LINE__ << ")" << " " << __FILE__ << "\n";
#define sq(n) (n) * (n)
typedef vector<int> VI;
typedef vector<VI> VVI;
typedef vector<string> VS;
typedef pair<int, int> PII;
typedef long long LL;
typedef vector<LL> VLL;
typedef vector<VLL> VVLL;
typedef unsigned int uint;
typedef unsigned long long ull;
typedef priority_queue<int> maxpq;
typedef priority_queue< int, vector<int>, greater<int> > minpq;
typedef complex<double> P;
static const double EPS = 1e-10;
static const double PI = acos( -1.0 );
static const int mod = 1000000007;
static const int INF = 1 << 29;
static const LL LL_INF = 1152921504606846976;
static const int dx[] = { -1, 0, 1, 0, 1, -1, 1, -1 };
static const int dy[] = { 0, -1, 0, 1, 1, 1, -1, -1 };


int main() {
#ifdef _DEBUG
	printf( "debug\n" );
#endif
	for ( int i = 1; i < 10; i++ ) {
		for ( int j = 1; j < 10; j++ ) {
			printf( "%dx%d=%d\n ", i, j, i * j );
		}
	}
	return 0;
}

C++: class Main {
	public static void main(String[] args) {
		for (int i = 1; i <= 9; i++)
			for (int j = 1; j <= 9; j++)
				System.out.println(i + "x" + j + "=" + (i * j));
	}
}

C++: #include<iostream>

int main(){
	int a,b;
	for(a=1;a<=9;a++){
		for(b=1;b<=9;b++){
			std::cout<<a<<"x"<<b<<"="<<a*b<<std::endl;
			}
		}
	sys
    return 0;
}

C++: #include<iostream>
#include <fstream>
#include <stdio.h>
#include <stdlib.h>
#define _USE_MATH_DEFINES
#include <math.h>
#include<string>
#include<vector>
#include<cmath>
#include<stack>
#include<queue>
#include<sstream>
#include<algorithm>
#include<map>
#include<complex>
using namespace std;


#define li			long long int
#define rep(i,to)	for(int i=0;i<((int)(to));i++)
#define repp(i,start,to)	for(int i=(int)(start);i<((int)(to));i++)
#define pb			push_back
#define sz(v)		((li)(v).size())
#define bgn(v)		((v).begin())
#define eend(v)		((v).end())
#define allof(v)	((v).begin(), (v).end())
#define dodp(v,n)		memset(v,(li)n,sizeof(v))
#define bit(n)		(1ll<<(li)(n))
#define mp(a,b)		make_pair(a,b)
#define rin	rep(i,n)
#define EPS 1e-10
#define ETOL 1e-8
#define MOD 1000000007
#define p2(a,b)		cout<<a<<"\t"<<b<<endl
#define p3(a,b,c)		cout<<a<<"\t"<<b<<"\t"<<c<<endl


int main(){
	repp(i,1,10)printf("%dx%d=%d\n",i,i,i*i);
	
	return 0;
}

C++: #include<iostream>
using namespace std;

int main()
{
	int i = 0;
	int j = 0;

	for(i=1;i<10;i++){
		for(j=1;j<10;j++){
			printf("%d\n",i*j);
		}
	}
    return 0;
}

C++: #include<iostream>
#include<algorithm>
using namespace std;
int main(){
	int t=73000;
	for(int i=t;i;i--){
		for(int j=max(i,9);j;j--){
			if(i<10&&j<10)cout<<10-i<<"x"<<10-j<<"="<<(10-i)*(10-j)<<endl;
		}
	}
	return 0;
}

C++: #include <iostream>
using namespace std;

int main() {
    for ( int i = 1; i <= 9; ++ i ) {
        for ( int j = 1; j <= 9; ++ j ) {
            cout << i << "x" << j << "=" << i * j << endl;
        }
    }
	return 0;
}

C++: #include <iostream>
using namespace std;

int main() {
  for (int i = 1; i <= 9; i++) {
    for (int j = 1; j <= 9; j++) {
      printf("%dx%d=%d\n", i, j, i * j);
    }
  }
}