Go: package main
import "fmt"
func main(){
    for i:=1;i<10;i++{
        for j:=1;j<10;j++{
            fmt.Print(i)
            fmt.Print("x")
            fmt.Print(j)
            fmt.Print("=")
            fmt.Println(i*j)
        }
    }
}

C++: #include <iostream>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <queue>
#include <cmath>
#include <algorithm>
using namespace std;
#define MAXN 1610

#define INF 1000000007
const double EPS = 1e-10;
inline int dcmp(double x)
{
    if(fabs(x)<EPS) return 0;
    return x<0?-1:1;
}
struct Point{
    double x,y;
    Point(){}
    Point(double a,double b):x(a),y(b){}
    Point operator +(const Point &a)const{return Point(x+a.x,y+a.y);}
    Point operator -(const Point &a)const{return Point(x-a.x,y-a.y);}
    Point operator*(double k)const{return Point(x*k,y*k);}
    bool operator <(const Point &a)const
    {
        return dcmp(x-a.x)<0||(dcmp(x-a.x)==0&&dcmp(y-a.y)<0);
    }
    void input(){scanf("%lf%lf",&x,&y);}
}a[MAXN],b[MAXN];
typedef Point Vector;
inline double cross(Vector a,Vector b)
{
    return a.x*b.y+a.y*b.x;
}
inline double dot(Vector a,Vector b)
{
    return a.x*b.x+a.y*b.y;
}
inline double length(Vector a)
{
    return sqrt(dot(a,a));
}
bool getinter(Point a,Vector aa,Point b,Vector bb)
{
    Vector u = a-b;
    double t = cross(bb,u)/cross(aa,bb);
    Point r = a+aa*t;
    int xx = (int)r.x,yy = (int)r.y;
    return dcmp(a.x-xx)==0&&dcmp(a.y-yy)==0;
}
int judge(Point s1,Point e1,Point s2,Point e2)
{
    if(dcmp(dot(s1-e1,s2-e2))==0)
    {
        if(dcmp(dot(s1-s2,e1-e2))==0) return 2;
        else return 0;
    }
    if(min(s1.x,e1.x)<=max(s2.x,e2.x)&&
       min(s1.y,e1.y)<=max(s1.y,e2.y)&&
       min(s2.x,e2.x)<=max(s1.x,e1.x)&&
       min(s2.y,e2.y)<=max(s1.y,e1.y)&&
       dcmp(cross(s2-s1,e2-s1))*dcmp(cross(s2-e1,e2-e1))<=0&&
       dcmp(cross(s1-s2,e1-s2)*dcmp(cross(s1-e2,e1-e2)))<=0)
        return 1;
    return 0;
}
int main()
{
    freopen("/home/moor/Code/input","r",stdin);
    int n;
    int ans;
    while(scanf("%d",&n)!=EOF)
    {
        ans = 0;
        for(int i  = 0; i<n; i++)
        {
            a[i].input();
            b[i].input();
            if(dcmp(a[i].x-b[i].x)&&dcmp(a[i].y-b[i].y))
                ans+=__gcd((int)abs(a[i].x-b[i].x),(int)abs(a[i].y-b[i].y))+1;
            else ans+=abs(a[i].x-b[i].x)+abs(a[i].y-b[i].y)+1;
        }
        for(int i = 0; i < n; i++)
        {
            for(int j = i+1; j<n; j++)
            {
                int tmp = judge(a[i],b[i],a[j],b[j]);
                if(tmp == 1) ans-=getinter(a[i],b[i]-a[i],a[j],b[j]-a[j]);
                else if(tmp==2)
                {
                    if(b[i]<a[i]) swap(a[i],b[i]);
                    if(b[j]<a[j]) swap(a[j],b[j]);
                    Point aa = max(a[i],a[j]), bb = min(b[i],b[j]);
                     if(dcmp(aa.x-bb.x)&&dcmp(aa.y-bb.y))
                        ans-=__gcd((int)fabs(aa.x-bb.x),(int)fabs(aa.y-bb.y))+1;
                    else ans-=abs(aa.x-bb.x)+abs(aa.y-bb.y)+1;
                }
            }
        }
        printf("%d\n",ans);
    }
}

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

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

C++: #include <iostream>
#include <algorithm>
#include <vector>
#include <queue>
#include <map>
#include <cmath>
#include <iomanip>
#include <functional>
using namespace std;
#define REP(i,n) for (int i=0;i<(n);++i)
#define rep(i,a,b) for(int i=a;i<(b);++i)
template<class T> inline bool chmin(T &a, T b){ if(a > b) { a = b; return true;} return false;}
template<class T> inline bool chmax(T &a, T b){ if(a < b) { a = b; return true;} return false;}
using ll = long long;
constexpr long long INF = 1LL << 62;
constexpr int MOD = 1e9 + 7;
constexpr double EPS = 1e-10;

int main() {
    cin.tie(0); ios_base::sync_with_stdio(false);
    rep(i,1,10) 
        rep(j,1,10) 
            cout << i << 'x' << j << '=' << i*j << '\n';
    return 0;
}

C++: #inclde<iostream>
using namespace std;
int main()
{int c,i;
for(i=1;i<10;i++)
{c=1*i;
cout<<"1x"<<i<<"="<<c<<endl;
}
for(i=1;i<;i++)
{c=2*i;
cout<<"2x"<<i<<"="<<c<<endl;
}
for(i=1;i<;i++)
{c=3*i;
cout<<"3x"<<i<<"="<<c<<endl;
}
for(i=1;i<;i++)
{c=4*i;
cout<<"4x"<<i<<"="<<c<<endl;
}
for(i=1;i<;i++)
{c=5*i;
cout<<"5x"<<i<<"="<<c<<endl;
}
for(i=1;i<;i++)
{c=6*i;
cout<<"6x"<<i<<"="<<c<<endl;
}
for(i=1;i<;i++)
{c=7*i;
cout<<"7x"<<i<<"="<<c<<endl;
}
for(i=1;i<;i++)
{c=8*i;
cout<<"8x"<<i<<"="<<c<<endl;
}
for(i=1;i<;i++)
{c=9*i;
cout<<"9x"<<i<<"="<<c<<endl;
}
return 0;
}

C++: using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

class Program
{
    static void Main()
    {
        for(int i = 1; i < 10 ; ++i)
        {
            for(int j = 1; j < 10 ; ++j)
            {
                Console.WriteLine("{0}x{1}={2}",i,j,i*j);
            }
        }
    }
}

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 <bits/stdc++.h>
using namespace std;
using ll = long long;

int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);

  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<stdio.h>

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

C++: #include <iostream>

int main() {
    std::ios::sync_with_stdio(false);

    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++: #include <stdio.h>

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

C++: <?php 

for($i = 1; $i < 10; $i++){
	for($j = 1; $j < 10; $j++){
		$sum = $i*$j;
		echo "{$i}x{$j}={$sum}<br>";
	}
}

 ?>

C++: #include <cstdio>

int main()
{
	for (unsigned int i = 1; i <= 9; i++)
	{
		for (unsigned int j = 1; j <= 9; j++)
		{
			std::printf("%dx%d=%d\n", i, j, i * j);
		}
	}
	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;
????????????????}
????????}
}

C++: #include "iostream"

using namespace std;

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