Go: package main

import "fmt"

func main() {
	for i := 1; i < 10; i++ {
		for j := 1; j < 10; j++ {
			fmt.Printf("%dx%d=%d\n", i, j, i*j)
		}
	}
}

C++: #include <bits/stdc++.h>
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>

int main(){

	int a=0,i,b;

	for(i=1;i<10;i++){
		a=a+1;
		for(b=1;b<10;b++){
			std::cout<<a<<"x"<<b<<"=";
			std::cout<<a*b<<std::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>
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 << "\n";

  return 0;
}

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

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

C++: #include<cstring>
#include<cstdio>
#include<iostream>
#include<algorithm>
#include<vector>
#include<map>
#include<queue>
#define MAXN 105
using namespace std;

char s[105][105];
pair<int,int> Start, End, snake[10];
int n, m;
int dx[4]={0,1,0,-1};
int dy[4]={1,0,-1,0};
bool vis[105][105][10];

struct State{
    pair<int,int> here;
    int cnt;
    int step;
    State(pair<int,int> here, int cnt, int step): here(here), cnt(cnt), step(step) {}
};
bool judge(int x, int y){
    if(x<0||x>=n||y<0||y>=n) return false;
    if(s[x][y]=='#') return false;
    return true;
}
queue<State> q;
int bfs(){
    memset(vis,0,sizeof vis);
    while(!q.empty()) q.pop();
    q.push(State(Start,0,0));
    vis[Start.first][Start.second][0]=true;
    while(!q.empty()){
        State u = q.front(); q.pop();
        pair<int,int> cc;
        int step=u.step;
        int cnt=u.cnt;
//        cout<<u.here.first<<" "<<u.here.second<<endl;
        if(u.here==End&&cnt==m){
//            cout<<"~~"<<cnt<<" "<<step<<endl;
            return step;
        }
        for(int z=0; z<4; z++){
            cc.first = u.here.first + dx[z];
            cc.second = u.here.second+ dy[z];
            if(judge(cc.first,cc.second)){
                if(isdigit(s[cc.first][cc.second])){
                    if(s[cc.first][cc.second]-'0'<=cnt){
                        if(!vis[cc.first][cc.second][cnt]){
                            q.push(State(cc,step+1,cnt));
                            vis[cc.first][cc.second][cnt]=true;
                        }
                    }
                    else if(s[cc.first][cc.second]-'0'==cnt+1){
                        if(!vis[cc.first][cc.second][cnt+1]){
                            q.push(State(cc,step+1,cnt+1));
                            vis[cc.first][cc.second][cnt+1]=true;
                        }
                    }
                }
                else{
                    if(!vis[cc.first][cc.second][cnt]){
                        q.push(State(cc,step+1,cnt));
                        vis[cc.first][cc.second][cnt]=true;
                    }
                }
            }
        }
    }
    return -1;
}

int main()
{
//freopen("/home/acm/code/input.txt","r", stdin);

    while(~scanf("%d %d",&n,&m),n||m){
        int top=0;
        for(int i=0; i<n; i++){
            scanf("%s",s[i]);
            for(int j=0; j<n; j++){
                if(s[i][j]=='K'){
                    Start=make_pair(i,j);
                    s[i][j]='.';
                }
                if(s[i][j]=='T'){
                    End=make_pair(i,j);
                    s[i][j]='.';
                }
                if(s[i][j]=='S'){
                    snake[top++]=make_pair(i,j);
                }
            }
        }
        cout<<"top="<<top<<endl;
        int ans=0x3f3f3f3f;
        for(int i=0; i<(1<<top); i++){
            int cnt=0;
            for(int j=0; j<top; j++){
                int idxi=snake[j].first;
                int idxj=snake[j].second;
                if((i>>j)&1){
                    s[idxi][idxj]='.';
                    cnt++;
                }
                else{
                    s[idxi][idxj]='#';
                }
            }
            int temp=bfs();
            //cout<<temp<<endl;
            if(temp!=-1){
                cout<<cnt<<endl;
                ans=min(ans,cnt+temp);
            }
        }
        if(ans!=0x3f3f3f3f) printf("%d\n",ans);
        else printf("impossible\n");
    }
    return 0;

}

C++:     #include <tuple>
    #include <iostream>
    #include <type_traits>
     
    template <size_t n, typename... T>
    typename std::enable_if<(n >= sizeof...(T))>::type
    print_tuple(std::ostream&, const std::tuple<T...>&)
    {}
     
    template <size_t n, typename... T>
    typename std::enable_if<(n < sizeof...(T))>::type
    print_tuple(std::ostream& os, const std::tuple<T...>& tup)
    {
    if (n != 0)
    os << ", ";
    os << std::get<n>(tup);
    print_tuple<n+1>(os, tup);
    }
     
    template <typename... T>
    std::ostream& operator<<(std::ostream& os, const std::tuple<T...>& tup)
    {
    os << "[";
    print_tuple<0>(os, tup);
    return os << "]";
    }
     
    int main()
    {
    std::cout << std::make_tuple(2, 3.14159F, 2345.678) << std::endl;
    std::cout << std::make_tuple("hello", 5) << std::endl;
    std::cout << std::make_tuple() << std::endl;
    return 0;
    }

C++: #include<stdio.h>
int main(void)
{
	int i,j;
	
	for(i=1; i<=9; i++){
		for(j=1; j<=9; j++){
			printf("%dx%d=%d\n",i,j,i*j);
		}
	}
	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=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 <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 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 };

#ifdef _DEBUG
#define dump(x) cout << #x << " = " << (x) << "\n"
#define debug(x) cout << #x << " = " << (x) << " (L" << __LINE__ << ")" << " " << __FILE__ << "\n"
#else
#define dump(x)
#define debug(x)
#endif


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