Go: // 九九を出すだけ
package main
import (
	"fmt"
	"os"
	"bufio"
)
var out = bufio.NewWriter(os.Stdout)

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

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

 
Compile Error Logs: 


 
 
Status 
Judge: 1/1  C++  CPU: 00.00 sec  Memory: 3036 KB  Length: 193 B  2017-03-15 15:52  2017-03-15 15:52  
Results for testcases 
Case # Verdict CPU Time Memory In Out Case Name 
 Case #1: : Accepted  00.00 sec 3036 KB    



 < prev | 1 /  1 | next >      : Accepted        00.00 sec        3036 KB 

 

Judge Input #1 (  | )  Judge Output #1 (  | ) 


  

 

Comments 
 

 Under Construction. 

 
Categories 
 



 

Add Category:   100: Ordering 110: Searching 200: Brute Force 210: Backtracking 220: Heuristic Search 300: Divide and Conquer 310: Dynamic Programming 320: Greedy Methods 330: Randomized Algorithm 400: Graph Algorithms 410: Flow Algorithms 420: Algorithms with Numbers 430: Numerical Algorithms 440: Geometric Algorithms 450: String Algorithms 500: List 510: Hash 520: Set 530: Tree     
 * Note for the classification

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

C++: http://blog.sina.com.cn/s/blog_6bddecdc0102uzo5.html

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

int main() 
{
	int a,i,j; 
	for(i=1;i<=9;i++) 
	{ 
		for(j=1;j<=9;j++) 
		{ 
			cout<<i<<"*"<<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" << "\n";
	}
	cout << "\n";
	}
	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>
 
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>
#include <math.h>
using namespace std;
 
int main()
{
    int num;
     
    for(int k=1;k<10;k++)
    {
        for (int i=1; i<10; i++)
        {
            num=k*i;
            cout << k << "x" << i << "=" << num << "\n";
        }
    }
    return 0;
}

C++: #include <iostream>

int main(int argc, char const *argv[]){

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

int main(void)
{
  int a,b;
  for(a=1; a<=9; ++a) {
    for(b=1; b<=9; ++b) {
      printf("%dx%d=%d\n", a, b, a*b);
    }
  }
  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=0;i<;i++)
{c=2*i
cout<<"2x"<<i<<"="<<c<<endl;
}
for(i=0;i<;i++)
{c=3*i
cout<<"3x"<<i<<"="<<c<<endl;
}
for(i=0;i<;i++)
{c=4*i
cout<<"4x"<<i<<"="<<c<<endl;
}
for(i=0;i<;i++)
{c=5*i
cout<<"5x"<<i<<"="<<c<<endl;
}
for(i=0;i<;i++)
{c=6*i
cout<<"6x"<<i<<"="<<c<<endl;
}
for(i=0;i<;i++)
{c=7*i
cout<<"7x"<<i<<"="<<c<<endl;
}
for(i=0;i<;i++)
{c=8*i
cout<<"8x"<<i<<"="<<c<<endl;
}
for(i=0;i<;i++)
{c=9*i
cout<<"9x"<<i<<"="<<c<<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<<"*"<<j<<"="<<i*j<<endl;
		}
	}

	system("pause");
    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>

int main(){
	
	//double loop
	//?????????????????§??????
	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(){
    for(int n=1;n<10;n++){
        for(int m=1;m<10;m++){
            cout << n << "x" << m << "=" << n*m <<endl;
        }
    }
}

C++: #include<iostream>
#include<string>
#include<algorithm>
#include<map>
#include<set>
#include<utility>
#include<vector>
#include<cmath>
#include<cstdio>
#define loop(i,a,b) for(int i=a;i<b;i++) 
#define rep(i,a) loop(i,0,a)
#define pb push_back
#define mp make_pair
#define it ::iterator
#define all(in) in.begin(),in.end()
const double PI=acos(-1);
const double EPS=1e-10;
using namespace std;
int main(){loop(i,1,10)loop(j,1,10)cout<<i<<"x"<<j<<"="<<i*j<<endl;}

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

int main(){

int f,s;
for(f=1;f++;f<10){
for(s=1;s++;s<10){
cout<<f<<"x"<<s<<"="<<f*s<<endl;
}
}
return 0;
}

C++: #include<bits/stdc++.h>
#define ll long long 
#define ull unsigned long long 
#define ld long double
#define ui unsigned int 
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;
		}
	}
}

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

C++: #include <stdio.h>

int main(){
	int i, j, ans;

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

	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>
#include <cstdio>
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);

	return 0;
}

C++: #include <stdio.h>

int main() {
	int i, j;

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

	return 0;
}

C++: #include<stdio.h>

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

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

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() {
        int m1, m2;
        m1 = 1;
        m2 = 1;
        for (m1; m1 < 10; m1++) {
                for (m2; m2 < 10; m2++) {
                        cout << m1 << "x" << m2 << "=" << m1*m2 << 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 << " × " << j << " = " << i*j << endl;
    }
  }
  return 0;
}

C++: #include<stdio.h>
i,j,k;main(){for(i=0;i<81;i++)j=i/9+1,k=i%9+1,printf("%dx%d=%d\n",j,k,j*k);}