submission_id stringlengths 10 10 | problem_id stringlengths 6 6 | language stringclasses 3
values | code stringlengths 1 522k | compiler_output stringlengths 43 10.2k |
|---|---|---|---|---|
s117422256 | p00000 | C++ | #include <iostream>
using namespase std;
int main(void){
for(int i=1;i<=9;i++){
for(int j=1;j<=9;j++){
cout << ixj=i*j
}
}
} | a.cc:2:7: error: expected nested-name-specifier before 'namespase'
2 | using namespase std;
| ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:9:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
9 | cout << ixj=i*j
| ^~~~
| std::cout
In file included from a.cc:1:
/... |
s222472328 | p00000 | C++ | #include <iostream>
using namespase std;
int main(void){
for(int i=1;i<=9;i++){
for(int j=1;j<=9;j++){
cout << ixj=i*j;
}
return 0;
}
} | a.cc:2:7: error: expected nested-name-specifier before 'namespase'
2 | using namespase std;
| ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:9:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
9 | cout << ixj=i*j;
| ^~~~
| std::cout
In file included from a.cc:1:
... |
s116004589 | p00000 | C++ | #include <iostream>
using namespase std;
int main(void){
for(int i=1;i<=9;i++){
for(int j=1;j<=9;j++){
cout << ixj=i*j;
}
return 0;
}
} | a.cc:2:7: error: expected nested-name-specifier before 'namespase'
2 | using namespase std;
| ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:9:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
9 | cout << ixj=i*j;
| ^~~~
| std::cout
In file included from a.cc:1:
... |
s779636666 | p00000 | C++ | #include <iostream>
using namespase std;
int main(void){
for(int i=1;i<=9;i++){
for(int j=1;j<=9;j++){
cout <<ixj=i*j;
}
return 0;
}
} | a.cc:2:7: error: expected nested-name-specifier before 'namespase'
2 | using namespase std;
| ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:9:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
9 | cout <<ixj=i*j;
| ^~~~
| std::cout
In file included from a.cc:1:
/... |
s265362693 | p00000 | C++ | #include <iostream>
using namespase std;
int main(){
for(int i=1;i<=9;i++){
for(int j=1;j<=9;j++){
cout <<ixj=i*j;
}
}
return 0;
} | a.cc:2:7: error: expected nested-name-specifier before 'namespase'
2 | using namespase std;
| ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:9:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
9 | cout <<ixj=i*j;
| ^~~~
| std::cout
In file included from a.cc:1:
/... |
s338434452 | p00000 | C++ | #include <iostream>
using namespase std;
int main{
return 0;
} | a.cc:2:7: error: expected nested-name-specifier before 'namespase'
2 | using namespase std;
| ^~~~~~~~~
a.cc:4:5: error: cannot declare '::main' to be a global variable
4 | int main{
| ^~~~
a.cc:5:1: error: expected primary-expression before 'return'
5 | return 0;
| ^~~~~~
a.cc:5... |
s400846488 | p00000 | C++ | #include <iostream>
using namespace std;
int main{
return 0;
} | a.cc:4:5: error: cannot declare '::main' to be a global variable
4 | int main{
| ^~~~
a.cc:5:1: error: expected primary-expression before 'return'
5 | return 0;
| ^~~~~~
a.cc:5:1: error: expected '}' before 'return'
a.cc:4:9: note: to match this '{'
4 | int main{
| ^
a.cc:6:1: ... |
s735103908 | p00000 | C++ | #include <iostream>
using namespace std;
int main()
{
cout <<;
} | a.cc: In function 'int main()':
a.cc:8:12: error: expected primary-expression before ';' token
8 | cout <<;
| ^
|
s014265493 | p00000 | C++ | #include <iostream>
using namespace std;
int main()
{
cin >>;
cout <<;
} | a.cc: In function 'int main()':
a.cc:7:7: error: expected primary-expression before ';' token
7 | cin >>;
| ^
a.cc:8:12: error: expected primary-expression before ';' token
8 | cout <<;
| ^
|
s778578636 | p00000 | C++ | #include <iostream>
using namespace std;
int main(){
for(int y = 1; y < 10; y++){
for(int x = 1: x < 10; x++){
cout << y << "x" << x << "=" << x*y << endl;
}
}
return 0;
} | a.cc: In function 'int main()':
a.cc:7:13: error: initializer in range-based 'for' loop
7 | for(int x = 1: x < 10; x++){
| ^
a.cc:7:24: error: expected ')' before ';' token
7 | for(int x = 1: x < 10; x++){
| ~ ^
| )
a.cc:7:26: error: ... |
s247793542 | p00000 | C++ |
for i in range(1,10):
for j in range(1,10):
print "%d%s%d%s%d" % (i,"x",j,"=",i*j) | a.cc:2:1: error: expected unqualified-id before 'for'
2 | for i in range(1,10):
| ^~~
|
s537640684 | p00000 | C++ | for i in range(1,10):
for j in range(1,10):
qq=str(i)+"x"+str(j)+"="+str(i*j);
print(qq); | a.cc:1:1: error: expected unqualified-id before 'for'
1 | for i in range(1,10):
| ^~~
a.cc:4:14: error: expected constructor, destructor, or type conversion before '(' token
4 | print(qq);
| ^
|
s492578324 | p00000 | C++ | #include<cstdio>
#include<vector>
#include<algorithm>
#include<iostream>
#include<cassert>
#include<cstring>
#include<queue>
#include<stack>
#include<map>
#include<set>
#include<string>
using namespace std;
typedef pair<int,int>pint;
typedef vector<int>vint;
#define pb push_back
#define mp make_pair
#define rep(i,n) fo... | a.cc: In function 'pint search_centroid(int, int, int)':
a.cc:48:17: error: 'INT_MAX' was not declared in this scope
48 | pint res=mp(INT_MAX,-1);
| ^~~~~~~
a.cc:11:1: note: 'INT_MAX' is defined in header '<climits>'; this is probably fixable by adding '#include <climits>'
10 | #include<... |
s083916081 | p00000 | C++ | #include<iostream>
using namespace std;
int main(){
for(i = 1;i<10;i++)
for(j = 1;j<10;j++)
cout<<i<<"x"<<j<<"="<<i*j<<"\n";
return 0;
} | a.cc: In function 'int main()':
a.cc:6:5: error: 'i' was not declared in this scope
6 | for(i = 1;i<10;i++)
| ^
a.cc:7:9: error: 'j' was not declared in this scope
7 | for(j = 1;j<10;j++)
| ^
|
s536992858 | p00000 | C++ | #include<iostream>
using namespace std;
int main(){
for(i = 1; i < 10; i++) {
for(j = 1; i < 10; j++) {
cout << i << 'x' << j << '=' << i * j;
}
}
return 0;
} | a.cc: In function 'int main()':
a.cc:5:9: error: 'i' was not declared in this scope
5 | for(i = 1; i < 10; i++) {
| ^
a.cc:6:13: error: 'j' was not declared in this scope
6 | for(j = 1; i < 10; j++) {
| ^
|
s413143593 | p00000 | C++ | #include<iosteream>
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;
} | a.cc:1:9: fatal error: iosteream: No such file or directory
1 | #include<iosteream>
| ^~~~~~~~~~~
compilation terminated.
|
s103165538 | p00000 | C++ | #include<iosteream>
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;
} | a.cc:1:9: fatal error: iosteream: No such file or directory
1 | #include<iosteream>
| ^~~~~~~~~~~
compilation terminated.
|
s556219507 | p00000 | C++ | #include<iosteream>
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;
} | a.cc:1:9: fatal error: iosteream: No such file or directory
1 | #include<iosteream>
| ^~~~~~~~~~~
compilation terminated.
|
s457775558 | p00000 | C++ | #include<iostream>
int main(void){
for(int a=1;a>=9;a++){
cout<<a<<"??";
for(int b=1;b>=9;b++){
cout<<b<<"="<<endl;
}
}
return 0;
} | a.cc: In function 'int main()':
a.cc:4:17: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
4 | cout<<a<<"??";
| ^~~~
| std::cout
In file included from a.cc:1:
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
63... |
s165299508 | p00000 | C++ | #include<iostream>
using namespace std;
int main(void){
for(int a=1;a<=9;a++){
for(int b=1;b<=9;b++){
cout<<a<<"??"<<b<<"="<<a*b<<endl;
}
}
return 0;
}
~ ... | a.cc:13:1: error: expected class-name before '~' token
13 | ~
| ^
|
s269447079 | p00000 | C++ | <?php
for($i = 1; $i < 10; $i++){
for($j = 1; $j < 10; $j++){
$sum = $i*$j;
echo "{$i}x{$j}={$sum}<br>";
}
}
?> | a.cc:1:1: error: expected unqualified-id before '<' token
1 | <?php
| ^
a.cc:3:13: error: '$i' does not name a type
3 | for($i = 1; $i < 10; $i++){
| ^~
a.cc:3:22: error: '$i' does not name a type
3 | for($i = 1; $i < 10; $i++){
| ^~
a.cc:11:2: error: expec... |
s637680768 | p00000 | C++ | <?php
for($i = 1; $i < 10; $i++){
for($j = 1; $j < 10; $j++){
$sum = $i*$j;
echo "{$i}x{$j}={$sum}<br>";
}
}
?> | a.cc:1:1: error: expected unqualified-id before '<' token
1 | <?php
| ^
a.cc:3:13: error: '$i' does not name a type
3 | for($i = 1; $i < 10; $i++){
| ^~
a.cc:3:22: error: '$i' does not name a type
3 | for($i = 1; $i < 10; $i++){
| ^~
a.cc:10:2: error: expec... |
s360522354 | p00000 | C++ | <?php
for($i = 1; $i < 10; $i++){
for($j = 1; $j < 10; $j++){
$sum = $i*$j;
echo "{$i}x{$j}={$sum}<br>";
}
}
?> | a.cc:1:1: error: expected unqualified-id before '<' token
1 | <?php
| ^
a.cc:3:13: error: '$i' does not name a type
3 | for($i = 1; $i < 10; $i++){
| ^~
a.cc:3:22: error: '$i' does not name a type
3 | for($i = 1; $i < 10; $i++){
| ^~
a.cc:10:2: error: expec... |
s745297653 | p00000 | C++ | <?php
for($i = 1; $i < 10; $i++){
for($j = 1; $j < 10; $j++){
$sum = $i*$j;
echo "{$i}x{$j}={$sum}\n";
}
}
?> | a.cc:1:1: error: expected unqualified-id before '<' token
1 | <?php
| ^
a.cc:3:13: error: '$i' does not name a type
3 | for($i = 1; $i < 10; $i++){
| ^~
a.cc:3:22: error: '$i' does not name a type
3 | for($i = 1; $i < 10; $i++){
| ^~
a.cc:10:1: error: expec... |
s164011494 | p00000 | C++ | <?php
for($i = 1; $i < 10; $i++){
for($j = 1; $j < 10; $j++){
$sum = $i*$j;
print "$i.x$j.=$sum.\n";
}
}
?> | a.cc:1:1: error: expected unqualified-id before '<' token
1 | <?php
| ^
a.cc:3:13: error: '$i' does not name a type
3 | for($i = 1; $i < 10; $i++){
| ^~
a.cc:3:22: error: '$i' does not name a type
3 | for($i = 1; $i < 10; $i++){
| ^~
a.cc:10:1: error: expec... |
s474585990 | p00000 | C++ | <?php
for($i = 1; $i < 10; $i++){
for($j = 1; $j < 10; $j++){
$sum = $i*$j;
print "{$i}x{$j}={$sum}\n";
}
}
?> | a.cc:1:1: error: expected unqualified-id before '<' token
1 | <?php
| ^
a.cc:3:13: error: '$i' does not name a type
3 | for($i = 1; $i < 10; $i++){
| ^~
a.cc:3:22: error: '$i' does not name a type
3 | for($i = 1; $i < 10; $i++){
| ^~
a.cc:10:1: error: expec... |
s707724980 | p00000 | C++ | <?php
for($i = 1; $i < 10; $i++) {
for($j = 1; $j < 10; $j++) {
print $i . "x" . $j . "=" . ($i * $j) . "\n";
}
}
?> | a.cc:1:1: error: expected unqualified-id before '<' token
1 | <?php
| ^
a.cc:2:17: error: '$i' does not name a type
2 | for($i = 1; $i < 10; $i++) {
| ^~
a.cc:2:26: error: '$i' does not name a type
2 | for($i = 1; $i < 10; $i++) {
| ^~
a.cc:... |
s461910884 | p00000 | C++ | main = putStr $ unlines [(show x) ++ "x" ++ (show y) ++ "=" ++ (show (x*y)) | x <- [1..9], y <- [1..9]] | a.cc:1:89: error: too many decimal points in number
1 | main = putStr $ unlines [(show x) ++ "x" ++ (show y) ++ "=" ++ (show (x*y)) | x <- [1..9], y <- [1..9]]
| ^~~~
a.cc:1:102: error: too many decimal points in numbe... |
s805569335 | p00000 | C++ | for i in 1..9 do
for j in 1..9 do
print(i,"x",j,"=",i*j,"\n")
end
end | a.cc:1:10: error: too many decimal points in number
1 | for i in 1..9 do
| ^~~~
a.cc:2:18: error: too many decimal points in number
2 | for j in 1..9 do
| ^~~~
a.cc:1:1: error: expected unqualified-id before 'for'
1 | for i in 1..9 do
| ^~~
|
s564749702 | p00000 | C++ | /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
| |
s961576676 | p00000 | C++ | /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
| |
s785069640 | p00000 | C++ | /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
| |
s157364837 | p00000 | C++ | /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
| |
s488543612 | p00000 | C++ | k | a.cc:1:1: error: 'k' does not name a type
1 | k
| ^
|
s874641479 | p00000 | C++ | gs | a.cc:1:1: error: 'gs' does not name a type
1 | gs
| ^~
|
s620389493 | p00000 | C++ | /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
| |
s036147281 | p00000 | C++ | tsurai | a.cc:1:1: error: 'tsurai' does not name a type
1 | tsurai
| ^~~~~~
|
s824821516 | p00000 | C++ | tsurai | a.cc:1:1: error: 'tsurai' does not name a type
1 | tsurai
| ^~~~~~
|
s090029926 | p00000 | C++ | tsurai | a.cc:1:1: error: 'tsurai' does not name a type
1 | tsurai
| ^~~~~~
|
s150139137 | p00000 | C++ | fa | a.cc:1:1: error: 'fa' does not name a type
1 | fa
| ^~
|
s455594642 | p00000 | C++ | for(var i=1;i<=9;i++){
for(var j=1;j<=9;j++){
console.log(i+"x"+j+=+i*j\n);
}
} | a.cc:3:34: error: stray '\' in program
3 | console.log(i+"x"+j+=+i*j\n);
| ^
a.cc:1:1: error: expected unqualified-id before 'for'
1 | for(var i=1;i<=9;i++){
| ^~~
a.cc:1:13: error: 'i' does not name a type
1 | for(var i=1;i<=9;i++){
| ^... |
s623413575 | p00000 | C++ | #include<iostream>
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;
} | a.cc: In function 'int main()':
a.cc:7:25: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
7 | cout << i << "x" << j << "=" << i*j << endl;
| ^~~~
| std::cout
In file included from a.cc:1:
/usr/include/c++/14... |
s057661284 | p00000 | C++ | j;main(i){for(;i<=9;i++)for(j=0;j++<9;)printf("%dx%d=%d\n",i,j,i*j);j=0;} | a.cc:1:1: error: 'j' does not name a type
1 | j;main(i){for(;i<=9;i++)for(j=0;j++<9;)printf("%dx%d=%d\n",i,j,i*j);j=0;}
| ^
a.cc:1:7: error: expected constructor, destructor, or type conversion before '(' token
1 | j;main(i){for(;i<=9;i++)for(j=0;j++<9;)printf("%dx%d=%d\n",i,j,i*j);j=0;}
| ^
|
s336438430 | p00000 | 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;
}
}
| a.cc: In function 'int main()':
a.cc:10:10: error: expected '}' at end of input
10 | }
| ^
a.cc:5:1: note: to match this '{'
5 | {
| ^
|
s320503338 | p00000 | C++ | let _ =
for i = 1 to 9 do
for j = 1 to 9 do
Printf.printf "%dx%d=%d\n" i j (i * j)
done
done | a.cc:1:1: error: 'let' does not name a type
1 | let _ =
| ^~~
|
s701471769 | p00000 | C++ | #include <iostream>
using namespace stg;
int main(){
for{i=1;i<=9;i++}{
for(j=1;j<=9;j++){
cout << i << 'x' << j << '=' << i*j << endl;
}
}
return 0;
} | a.cc:2:17: error: 'stg' is not a namespace-name
2 | using namespace stg;
| ^~~
a.cc: In function 'int main()':
a.cc:5:8: error: expected '(' before '{' token
5 | for{i=1;i<=9;i++}{
| ^
| (
a.cc:5:8: error: expected primary-expression before '{' token
a.cc:5:22... |
s693300339 | p00000 | C++ | #include<iostream
using namespace std;
int main() {
for(int i = 1; i < 10; i++){
for(int j = 1; j < 10; j++){
cont << i + "x" + j + "=" (i*j) << endl;
}
}
return 0;
} | a.cc:1:18: error: missing terminating > character
1 | #include<iostream
| ^
a.cc: In function 'int main()':
a.cc:9:25: error: 'cont' was not declared in this scope; did you mean 'const'?
9 | cont << i + "x" + j + "=" (i*j) << endl;
| ... |
s859389541 | p00000 | C++ | # -*-coding: utf8 -*-
for i in xrange(1, 10):
for j in xrange(1, 10):
print "%d??%d=%d" % (i, j, i * j) | a.cc:1:3: error: invalid preprocessing directive #-
1 | # -*-coding: utf8 -*-
| ^
a.cc:2:1: error: expected unqualified-id before 'for'
2 | for i in xrange(1, 10):
| ^~~
|
s732620103 | p00000 | C++ | #include<iostream>
int main(void)
{
for(int i = 1; i <= 9; i++){
for(int j = 1; j <= 9; j++){
cout << i << "x" << j << "=" << i*j; << endl;
}
}
return 0;
} | a.cc: In function 'int main()':
a.cc:8:25: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
8 | cout << i << "x" << j << "=" << i*j; << endl;
| ^~~~
| std::cout
In file included from a.cc:1:
/usr/include/c++/1... |
s031035786 | p00000 | C++ | #include<stdio.h>
int main(){
int i ,j;
for(i = 1;i<10;i++){
for(j = 1;j<10;j++){
printf("%d*%d=%d",i,j(i*j));
}
}
return 0;
} | a.cc: In function 'int main()':
a.cc:7:22: error: 'j' cannot be used as a function
7 | printf("%d*%d=%d",i,j(i*j));
| ~^~~~~
|
s310992585 | p00000 | 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:
} | a.cc: In function 'int main()':
a.cc:13:17: error: expected ';' before ':' token
13 | return 0:
| ^
| ;
a.cc:13:17: error: expected primary-expression before ':' token
|
s609871708 | p00000 | C++ | #include <iostream>
using nameplate std;
int main(){
int i, j;
for (i = 1; i < 9; i++){
for (j = 1; i < 9; i++){
cout << i << "??" << j << "=" << i * j;
}
}
return 0;
} | a.cc:3:7: error: expected nested-name-specifier before 'nameplate'
3 | using nameplate std;
| ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:13:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
13 | cout << i << "??" << j << "=" << i * j;
| ^~~~
| std::cout
In fil... |
s617525642 | p00000 | C++ | #include <iostream>
int main(){
int i, j;
for (i = 1; i < 9; i++){
for (j = 1; i < 9; i++){
cout << i << "??" << j << "=" << i * j;
}
}
return 0;
} | a.cc: In function 'int main()':
a.cc:12:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
12 | cout << i << "??" << j << "=" << i * j;
| ^~~~
| std::cout
In file included from a.cc:1:
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
63 | extern ostream cou... |
s495653729 | p00000 | C++ | #include <stdafx.h>
#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 << "\n";
}
}
rewind(stdin);
getchar();
return 0;
} | a.cc:1:10: fatal error: stdafx.h: No such file or directory
1 | #include <stdafx.h>
| ^~~~~~~~~~
compilation terminated.
|
s938302296 | p00000 | C++ | class Main{
public static void main(String[] a){
for(int i=1;i<10;i++) {
for(int j=1;j<10;j++) {
System.out.println(" "+i+" * "+j+" = "+i*j);
}
}
}
} | a.cc:2:11: error: expected ':' before 'static'
2 | public static void main(String[] a){
| ^~~~~~~
| :
a.cc:2:29: error: 'String' has not been declared
2 | public static void main(String[] a){
| ^~~~~~
a.cc:2:38: error: expected ',' or '..... |
s513024220 | p00000 | C++ | #indlude<stdio.h>
int main(){
1x1=1
1x2=2
1x3=3
1x4=4
1x5=5
1x6=6
1x7=7
1x8=8
1x9=9
2x1=1
2x2=4
2x3=6
2x4=8
2x5=10
2x6=12
2x7=14
2x8=16
2x9=18
3x1=3
3x2=6
3x3=9
3x4=12
3x5=15
3x6=18
3x7=21
3x8=24
3x9=27
4x1=4
4x2=8
4x3=12
4x4=16
4x5=20
4x6=24
4x7=28
4x8=32
4x9=36
5x1=5... | a.cc:1:2: error: invalid preprocessing directive #indlude; did you mean #include?
1 | #indlude<stdio.h>
| ^~~~~~~
| include
a.cc: In function 'int main()':
a.cc:4:9: error: unable to find numeric literal operator 'operator""x1'
4 | 1x1=1
| ^~~
|
s923870250 | p00000 | C++ | class Main{
public static void main(String[] a){
for(int i = 1;i<10;i++){
for(int j = 1; j < 10; j++){
System.out.println(i+"x"+j+"="+j*j);
}
}
}
} | a.cc:2:11: error: expected ':' before 'static'
2 | public static void main(String[] a){
| ^~~~~~~
| :
a.cc:2:29: error: 'String' has not been declared
2 | public static void main(String[] a){
| ^~~~~~
a.cc:2:38: error: expected ',' or '..... |
s738577260 | p00000 | C++ | class Main{
public static void main(String[] a){
for(int i=1; i<=9; i++ ) {
for( int n=1; n<=9; n++ ){
System.out.println(i + "x"+ n + "=" + i*n );
}
}
}
} | a.cc:2:7: error: expected ':' before 'static'
2 | public static void main(String[] a){
| ^~~~~~~
| :
a.cc:2:25: error: 'String' has not been declared
2 | public static void main(String[] a){
| ^~~~~~
a.cc:2:34: error: expected ',' or '...' before 'a'
2 |... |
s952811081 | p00000 | C++ | #include<iostream>
using namespace std;
int main(){
int i,j,k[9][9];
for(i=i;i<=9;i++){
for(j=1;j<=9;j++){
cout<<j<<"*"<<i<<"="<<j*i<<endl;
}
}
retur 0;
} | a.cc: In function 'int main()':
a.cc:12:5: error: 'retur' was not declared in this scope
12 | retur 0;
| ^~~~~
|
s652939385 | p00000 | C++ | #include <iostream>
int main()
{
for(int i = 1; i<10; i++) {
for(int j = 1; j < 10;j++) {
std::cout << i << * << j << = << i*J << std::endl;
}
}
return 0;
} | a.cc: In function 'int main()':
a.cc:7:33: error: expected primary-expression before '<<' token
7 | std::cout << i << * << j << = << i*J << std::endl;
| ^~
a.cc:7:41: error: expected primary-expression before '=' token
7 | std::cout << i << * << j <<... |
s120944977 | p00000 | C++ | #include <iostream>
int main()
{
for(int i = 1; i<10; i++) {
for(int j = 1; j < 10;j++) {
std::cout << i << "*" << j << = << i*J << std::endl;
}
}
return 0;
} | a.cc: In function 'int main()':
a.cc:7:43: error: expected primary-expression before '=' token
7 | std::cout << i << "*" << j << = << i*J << std::endl;
| ^
a.cc:7:45: error: expected primary-expression before '<<' token
7 | std::cout << i <... |
s172104195 | p00000 | C++ | #include <iostream>
int main()
{
for(int i = 1; i<10; i++) {
for(int j = 1; j < 10;j++) {
std::cout << i << "*" << j << = << i*j << std::endl;
}
}
return 0;
} | a.cc: In function 'int main()':
a.cc:7:43: error: expected primary-expression before '=' token
7 | std::cout << i << "*" << j << = << i*j << std::endl;
| ^
a.cc:7:45: error: expected primary-expression before '<<' token
7 | std::cout << i <... |
s811416417 | p00000 | C++ | hello! | a.cc:1:1: error: 'hello' does not name a type
1 | hello!
| ^~~~~
|
s152161689 | p00000 | C++ | class Main{
public static void main(String[] a){
for(int i = 1;i <= 9;i++) {
for(j =1; j <= 9; j++) {
int ans = i*j;
System.out.println(i + "*" + j + "=" + ans);
}
}
}
} | a.cc:2:11: error: expected ':' before 'static'
2 | public static void main(String[] a){
| ^~~~~~~
| :
a.cc:2:29: error: 'String' has not been declared
2 | public static void main(String[] a){
| ^~~~~~
a.cc:2:38: error: expected ',' or '..... |
s644073639 | p00000 | C++ | class Main{
public static void main(String[] a){
for(int i =1;i <= 9; i++) {
for(int j =1;j <= 9; j++) {
System.out.printf("%dx%d=%d\n",i,j,i*j);
}
}
}
} | a.cc:2:11: error: expected ':' before 'static'
2 | public static void main(String[] a){
| ^~~~~~~
| :
a.cc:2:29: error: 'String' has not been declared
2 | public static void main(String[] a){
| ^~~~~~
a.cc:2:38: error: expected ',' or '..... |
s324064312 | p00000 | C++ | #inclde<iostream>
using namespace std;
int main()
{int a,b,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<<"... | a.cc:1:2: error: invalid preprocessing directive #inclde; did you mean #include?
1 | #inclde<iostream>
| ^~~~~~
| include
a.cc: In function 'int main()':
a.cc:5:1: error: expected initializer before 'for'
5 | for(i=1;i<10;i++)
| ^~~
a.cc:5:9: error: 'i' was not declared in this scope
5 |... |
s430428262 | p00000 | 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<<"="<<... | a.cc:1:2: error: invalid preprocessing directive #inclde; did you mean #include?
1 | #inclde<iostream>
| ^~~~~~
| include
a.cc: In function 'int main()':
a.cc:5:1: error: expected initializer before 'for'
5 | for(i=1;i<10;i++)
| ^~~
a.cc:5:9: error: 'i' was not declared in this scope
5 |... |
s996053261 | p00000 | 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<<"="<... | a.cc:1:2: error: invalid preprocessing directive #inclde; did you mean #include?
1 | #inclde<iostream>
| ^~~~~~
| include
a.cc: In function 'int main()':
a.cc:6:7: error: expected ';' before 'cout'
6 | {c=1*i
| ^
| ;
7 | cout<<"1x"<<i<<"="<<c<<endl;
| ~~~~
a.cc... |
s559727714 | p00000 | 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<<"="<... | a.cc:1:2: error: invalid preprocessing directive #inclde; did you mean #include?
1 | #inclde<iostream>
| ^~~~~~
| include
a.cc: In function 'int main()':
a.cc:6:7: error: expected ';' before 'cout'
6 | {c=1*i
| ^
| ;
7 | cout<<"1x"<<i<<"="<<c<<endl;
| ~~~~
a.cc... |
s636187240 | p00000 | 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<... | a.cc:1:2: error: invalid preprocessing directive #inclde; did you mean #include?
1 | #inclde<iostream>
| ^~~~~~
| include
a.cc: In function 'int main()':
a.cc:7:1: error: 'cout' was not declared in this scope
7 | cout<<"1x"<<i<<"="<<c<<endl;
| ^~~~
a.cc:1:1: note: 'std::cout' is defined in h... |
s004339585 | p00000 | 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<... | a.cc:1:2: error: invalid preprocessing directive #inclde; did you mean #include?
1 | #inclde<iostream>
| ^~~~~~
| include
a.cc: In function 'int main()':
a.cc:7:1: error: 'cout' was not declared in this scope
7 | cout<<"1x"<<i<<"="<<c<<endl;
| ^~~~
a.cc:1:1: note: 'std::cout' is defined in h... |
s828658423 | p00000 | 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
} | a.cc:1:2: error: invalid preprocessing directive #inclde; did you mean #include?
1 | #inclde<iostream>
| ^~~~~~
| include
a.cc: In function 'int main()':
a.cc:6:1: error: expected initializer before 'for'
6 | for(a=1;a<9;a++)
| ^~~
a.cc:6:16: error: expected ';' before ')' token
6 | for(... |
s950919114 | p00000 | 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
} | a.cc:1:2: error: invalid preprocessing directive #inclde; did you mean #include?
1 | #inclde<iostream>
| ^~~~~~
| include
a.cc: In function 'int main()':
a.cc:6:1: error: expected initializer before 'for'
6 | for(a=1;a<9;a++)
| ^~~
a.cc:6:16: error: expected ';' before ')' token
6 | for(... |
s909231703 | p00000 | 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
} | a.cc:1:2: error: invalid preprocessing directive #inclde; did you mean #include?
1 | #inclde<iostream>
| ^~~~~~
| include
a.cc: In function 'int main()':
a.cc:6:1: error: expected initializer before 'for'
6 | for(a=1;a<=9;a++)
| ^~~
a.cc:6:17: error: expected ';' before ')' token
6 | for... |
s364675225 | p00000 | 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;
} | a.cc:1:2: error: invalid preprocessing directive #inclde; did you mean #include?
1 | #inclde<iostream>
| ^~~~~~
| include
a.cc: In function 'int main()':
a.cc:6:1: error: expected initializer before 'for'
6 | for(a=1;a<=9;a++)
| ^~~
a.cc:6:17: error: expected ';' before ')' token
6 | for... |
s857198048 | p00000 | 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;
} | a.cc:1:2: error: invalid preprocessing directive #inclde; did you mean #include?
1 | #inclde<iostream>
| ^~~~~~
| include
a.cc: In function 'int main()':
a.cc:6:1: error: expected initializer before 'for'
6 | for(a=1;a<=9;a++)
| ^~~
a.cc:6:17: error: expected ';' before ')' token
6 | for... |
s855913855 | p00000 | 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;
} | a.cc:1:2: error: invalid preprocessing directive #inclde; did you mean #include?
1 | #inclde<iostream>
| ^~~~~~
| include
a.cc: In function 'int main()':
a.cc:6:1: error: expected initializer before 'for'
6 | for(a=1;a<=9;a++)
| ^~~
a.cc:6:17: error: expected ';' before ')' token
6 | for... |
s776767167 | p00000 | 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;
} | a.cc:1:2: error: invalid preprocessing directive #inclde; did you mean #include?
1 | #inclde<iostream>
| ^~~~~~
| include
a.cc: In function 'int main()':
a.cc:6:1: error: expected initializer before 'for'
6 | for(a=1;a<=9;a++)
| ^~~
a.cc:6:17: error: expected ';' before ')' token
6 | for... |
s714833374 | p00000 | C++ | #include<iostream>
using namespace std;
const int max = 9 + 1;
int main() {
int a, b;
for (a = 1; a < max; a++) {
for (b = 1; b < max; b++) {
cout << a << "x" << b << "=" << (a*b) << endl;
}
}
return 0;
} | a.cc: In function 'int main()':
a.cc:10:25: error: reference to 'max' is ambiguous
10 | for (a = 1; a < max; a++) {
| ^~~
In file included from /usr/include/c++/14/string:51,
from /usr/include/c++/14/bits/locale_classes.h:40,
from /usr/include/c... |
s270506786 | p00000 | C++ | <?php
for($a=1; $a<10; $a++){
for($b=1; $b<10; $b++){
echo $a."x".$b."=".$a*$b."
";
}
} | a.cc:1:1: error: expected unqualified-id before '<' token
1 | <?php
| ^
a.cc:2:11: error: '$a' does not name a type
2 | for($a=1; $a<10; $a++){
| ^~
a.cc:2:18: error: '$a' does not name a type
2 | for($a=1; $a<10; $a++){
| ^~
|
s511231886 | p00000 | C++ | for i in range(1,10):
for j in range(1,10):
ans = "%dx%d=%d"%(i,j,i*j)
print(ans) | a.cc:1:1: error: expected unqualified-id before 'for'
1 | for i in range(1,10):
| ^~~
|
s135699733 | p00000 | C++ | for i in range(1,10):
for j in range(1,10):
print "%d x %d = %d" % (i,j,(i*j)) | a.cc:1:1: error: expected unqualified-id before 'for'
1 | for i in range(1,10):
| ^~~
|
s732443995 | p00000 | C++ | #include<stdio.h>
int main()
{
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;
} | a.cc: In function 'int main()':
a.cc:7:14: error: unable to find string literal operator 'operator""i' with 'const char [10]', 'long unsigned int' arguments
7 | printf("%dx%d=%d\n"i,j,i*j);
| ^~~~~~~~~~~~~
|
s637770810 | p00000 | 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;
????????????????}
????????}
} | a.cc:3:1: error: expected unqualified-id before '?' token
3 | ??
| ^
|
s481727883 | p00000 | 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;
????????????????}
????????}
} | a.cc:3:1: error: expected unqualified-id before '?' token
3 | ??
| ^
|
s858963103 | p00000 | C++ | #include <stdio.h>
#include <iostream>
#include <algorithm>
#include <vector>
#include <math.h>
#include <string>
#include <string.h>
#include <queue>
#include <map>
#define FOR(i,a,b) for (int i=(a);i<(b);i++)
#define RFOR(i,a,b) for (int i=(b)-1;i>=(a);i--)
#define REP(i,n) for (int i=0;i<(n);i++)
#define RREP(i,n) f... | a.cc:26:34: warning: missing terminating " character
26 | FOR(i,1,10)FOR(x,1,10)cout<<i<<"テδ?<<x << '='<<i*x<<endl;
| ^
a.cc:26:34: error: missing terminating " character
26 | FOR(i,1,10)FOR(x,1,10)cout<<i<<"テδ?<<x << '='<<i*x<<endl;
| ... |
s537492467 | p00000 | C++ | #include<stdio.h>
int main(){
int a, b, c;
a = 1;
b = 1;
while(1){
c = a * b;
printf("%dx%d=%d\n", a, b, c);
b++;
if(b == 10){
a++;
b = b - 9;
}
if(a == 10)
break;
}
return 0;
}
return 0;
} | a.cc:37:5: error: expected unqualified-id before 'return'
37 | return 0;
| ^~~~~~
a.cc:38:1: error: expected declaration before '}' token
38 | }
| ^
|
s162324194 | p00000 | C++ | 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;
} | a.cc: In function 'int main()':
a.cc:6:25: error: 'cout' was not declared in this scope
6 | cout<<i<<'x'<<j<<'='<<i*j<<endl;
| ^~~~
a.cc:1:1: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
+++ |+#i... |
s267287289 | p00000 | 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 << '/n' << flush;
}
}
return 0;
} | a.cc:8:71: warning: multi-character character constant [-Wmultichar]
8 | std::cout << i << "x" << j << "=" << i * j << '/n' << flush;
| ^~~~
a.cc: In function 'int main()':
a.cc:8:79: error: 'flush' was not declared ... |
s672526574 | p00000 | C++ |
#include<iostream>
using namespase std;
int main(){
for(int i=1; i<10 ; i++){
for(int j=1; j<10 ; j++){
cout << i << "x" << j << "=" << i * j <<flush;
}
}
return 0;
} | a.cc:3:7: error: expected nested-name-specifier before 'namespase'
3 | using namespase std;
| ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:9:25: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
9 | cout << i << "x" << j << "=" << i * j <<flush;
... |
s700587670 | p00000 | 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;
} | a.cc: In function 'int main()':
a.cc:8:23: error: expected ';' before user-defined character literal
8 | cout << i'x'j'=' << i * j << endl;
| ^~~~
| ;
|
s407947764 | p00000 | 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 << endl;
return 0;
} | a.cc: In function 'int main()':
a.cc:10:2: error: expected '}' at end of input
10 | }
| ^
a.cc:6:20: note: to match this '{'
6 | for(i=1;i<10;i++){
| ^
a.cc:10:2: error: expected '}' at end of input
10 | }
| ^
a.cc:4:11: note: to match this '{'
4 | int main(){
... |
s128697040 | p00000 | 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;
} | a.cc:1:1: error: 'include' does not name a type
1 | include <iostream>
| ^~~~~~~
|
s918383491 | p00000 | 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;
} | a.cc:1:1: error: 'include' does not name a type
1 | include <iostream>
| ^~~~~~~
|
s643835790 | p00000 | C++ | class Main{
public static void main(String[] a){
for(int i=1;i<=9;i++){
for(int j=1;j<=9;j++)System.out.println(i + "x" + j + "=" + i*j);
}
} | a.cc:2:11: error: expected ':' before 'static'
2 | public static void main(String[] a){
| ^~~~~~~
| :
a.cc:2:29: error: 'String' has not been declared
2 | public static void main(String[] a){
| ^~~~~~
a.cc:2:38: error: expected ',' or '..... |
s133090557 | p00000 | C++ | #include<iostream>
????????°???????????°??§????????????????????? | a.cc:2:9: error: extended character ° is not valid in an identifier
2 | ????????°???????????°??§?????????????????????
| ^
a.cc:2:21: error: extended character ° is not valid in an identifier
2 | ????????°???????????°??§?????????????????????
| ^
a.cc:2:24: error: extended ... |
s022495100 | p00000 | C++ | 234314123
wrwefs
sfsfsdfsd
sfasfsdfsdf\
sdfas
fasaf
as
f
s
fsad
df
asdfasdfasdfa
asddf
as
f
asd
/*
From VirtualJudge.PY From VirtualJudge.PY From
*/ | a.cc:1:1: error: expected unqualified-id before numeric constant
1 | 234314123
| ^~~~~~~~~
|
s557069985 | p00000 | C++ | #include <stdio.h>
#include<iostream>
using namespace std;
int main(void){
int ans,a,b,i,j,k;
for(i=1;i<10;i++){
for(j=1;j<10;j++){
ans=i*j;
cout<<i<<"*"<<j<<"="<<ans<<endl;
}
} | a.cc: In function 'int main()':
a.cc:17:10: error: expected '}' at end of input
17 | }
| ^
a.cc:5:15: note: to match this '{'
5 | int main(void){
| ^
|
s953905021 | p00000 | C++ | #include <stdio.h>
#include<iostream>
using namespace std;
int main(void){
int ans,a,b,i,j,k;
for(i=1;i<10;i++){
for(j=1;j<10;j++){
ans=i*j;
cout<<i<<"x"<<j<<"="<<ans<<endl;
}
}
| a.cc: In function 'int main()':
a.cc:17:2: error: expected '}' at end of input
17 | }
| ^
a.cc:5:15: note: to match this '{'
5 | int main(void){
| ^
|
s214514527 | p00000 | C++ | #include <stdio.h>
#include<iostream>
using namespace std;
int main(void){
int ans,i,j;
for(i=1;i<10;i++){
for(j=1;j<10;j++){
ans=i*j;
cout<<i<<"x"<<j<<"="<<ans<<endl;
}
} | a.cc: In function 'int main()':
a.cc:17:2: error: expected '}' at end of input
17 | }
| ^
a.cc:5:15: note: to match this '{'
5 | int main(void){
| ^
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.