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(){
  for(int i=1;i<10;i++){
    for(int j=1;j<10;j++){
    cout<<i<<"x"<<j<<"="<<i*j<<'\n';
    }
  }
    return 0;
}

C++: #include<cstdio>
#include<iostream>

using namespace std;

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

C++: #include <iostream>

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

C++: sa

C++: #include <iostream>

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

	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; i++){
    		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 ;
}
}

return 0

}

C++: #inclde<iostream>
using namespace std;
int main()
{
int a,b
for(a=1;a<=9;a++)
   {for(b=1;b<=9;b++)
        {cout<<a<<"x"<<b<<"="<<a*b<<endl;
}
return 0;
}

C++: #include <iostream>
#include <algorithm>
#include <climits>
#include <string>
#include <vector>
#include <cmath>

using namespace std;

#define str to_string
#define rep(i, n) for (int i=1; i<int(n); i++)
#define all(c) (c).begin(), (c).end()


int main() {
  rep(i, 10) rep(j, 10) cout << i << "x"<<j<<"="<<i*j<<"\n";
  return 0;
}

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 << "=" << i*j << "\n";
        }
    return 0;
}

C++: #include<stdio.h>
int a, b;int main(){for(a=1;a<=9;a++)for(b=1;b<=9;b++)printf("%dx%d=%d\n",a,b,a*b);return 0;}

C++: http://www.cprogramdevelop.com/1099631/
http://www.cprogramdevelop.com/1099631/
http://www.cprogramdevelop.com/1099631/
http://www.cprogramdevelop.com/1099631/
http://www.cprogramdevelop.com/1099631/

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++){
    
    cout << i << "x" << j << "=" << i*j << endl;

    }
    }

    return 0;
}

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

int main(){

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++: #include <iostream>

using namespace std;

int main()
{
    ios::sync_with_stdio(false);
    cin.tie(0);
    for(int i=1; i<=9; i++){
        for(int j=1; j<=9; j++){
            cout<<i<<'x'<<j<<'='<<i*j<<'\n';
        }
    }
    return 0;
}

C++: #include <bits/stdc++.h>
#define rep(i,l,n) for(int i=l;i<n;i++)
#define rer(i,l,n) for(int i=l;i<=n;i++)
#define all(a) a.begin(),a.end()
#define o(a) cout<<a<<endl
#define fi first
#define se second
using namespace std;
typedef long long ll;
typedef vector<int> vint;
typedef pair<int,int> pii;

int main(){
	rep(i,1,10){
		rep(j,1,10){
			cout<<i<<'x'<<j<<'='<<i*j<<endl;
		}
	}
	
}

C++: #include "bits/stdc++.h"
using namespace std;
#define REP(i,m,n) for(long long i=m;i<n;++i)
#define INF 10000000000000000
#define MOD 1000000007
#define ll long long
#define mp make_pair
#define all(v) v.begin(),v.end()

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

C++: #include<iostream>

int main(void) {

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

C++: #include<iostream>

using namespace std;

int main() {
	int a = 0;
	int b = 0;
	int kake;

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

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

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

C++: - submit, private

C++: #include<iostream>
#include<stdio.h>
int main(){
	int a,b;
		for(a=1;a<10;a++){
			for(b=1;b<10;b++){
				std::cout<<a<<"x"<<b<<"="<<a*b<<std::endl;
				}
			}


  
      return 0;
	}

C++: #include <iostream>
#include <cstdio>
#include <cstring>

#include <algorithm>
#include <vector>
using namespace std;

#define MP make_pair
#define LL long long
#define REP(i,a,b) for (int i = a; i <= b; ++i)

struct dice {
    int u, d, l, r, f, b;
    bool operator == (const dice &p) const {
        if (u != p.u) return false;
        if (d != p.d) return false;
        if (l != p.l) return false;
        if (r != p.r) return false;
        if (f != p.f) return false;
        if (b != p.b) return false;
    }
    int input() {
        return scanf( "%d%d%d%d%d%d", &u, &d, &l, &r, &f, &b ) != EOF;
    }
}cur, nxt, S, T;

void L() {
    nxt.f = cur.f, nxt.b = cur.b;
    nxt.l = cur.u, nxt.u = cur.r;
    nxt.r = cur.d, nxt.d = cur.l;
}

void R() {
    nxt.f = cur.f, nxt.b = cur.b;
    nxt.l = cur.d, nxt.d = cur.r;
    nxt.r = cur.u, nxt.u = cur.l;
}

void F() {
    nxt.l = cur.l, nxt.r = cur.r;
    nxt.f = cur.u, nxt.u = cur.b;
    nxt.b = cur.d, nxt.d = cur.f;
}

void B() {
    nxt.l = cur.l, nxt.r = cur.r;
    nxt.f = cur.d, nxt.d = cur.b;
    nxt.b = cur.u, nxt.u = cur.f;
}

int dis[105];
dice Q[105];

int bfs() {
    if (S == T) return 0;
    memset(dis, -1, sizeof(dis));
    int msk = S.u * 10 + S.f, head = 0, tail = 0, goal = T.u * 10 + T.f;
    dis[msk] = 0;
    Q[tail++] = S;
    while (head < tail) {
        cur = Q[head++];
        int now = dis[cur.u * 10 + cur.f];
        L(); msk = nxt.u * 10 + nxt.f;
        if (dis[msk] == -1) {
            dis[msk] = now + 1;
            if (msk == goal && nxt == T) return dis[msk];
            Q[tail++] = nxt;
        }
        R(); msk = nxt.u * 10 + nxt.f;
        if (dis[msk] == -1) {
            dis[msk] = now + 1;
            if (msk == goal && nxt == T) return dis[msk];
            Q[tail++] = nxt;
        }
        F(); msk = nxt.u * 10 + nxt.f;
        if (dis[msk] == -1) {
            dis[msk] = now + 1;
            if (msk == goal && nxt == T) return dis[msk];
            Q[tail++] = nxt;
        }
        B(); msk = nxt.u * 10 + nxt.f;
        if (dis[msk] == -1) {
            dis[msk] = now + 1;
            if (msk == goal && nxt == T) return dis[msk];
            Q[tail++] = nxt;
        }
    }
    return -1;
}

int main()
{
    while (S.input()) {
        T.input();
        printf( "%d\n", bfs() );
    }
    return 0;
}

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

int main(){
	
	for(int i = 1; i <= 9; i++){
		for(int j = 1; j <= 9; j++){
			int ans = i * j;
			cout << i << "??" << j << "=" << ans << "\n"; 
		}
	}
	
    return 0;
}