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: /usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here 63 | extern ostream cout; ///< Linked to standard output | ^~~~ a.cc:9:9: error: 'ixj' was not declared in this scope 9 | cout << ixj=i*j | ^~~
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: /usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here 63 | extern ostream cout; ///< Linked to standard output | ^~~~ a.cc:9:9: error: 'ixj' was not declared in this scope 9 | cout << ixj=i*j; | ^~~
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: /usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here 63 | extern ostream cout; ///< Linked to standard output | ^~~~ a.cc:9:9: error: 'ixj' was not declared in this scope 9 | cout << ixj=i*j; | ^~~
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: /usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here 63 | extern ostream cout; ///< Linked to standard output | ^~~~ a.cc:9:8: error: 'ixj' was not declared in this scope 9 | cout <<ixj=i*j; | ^~~
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: /usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here 63 | extern ostream cout; ///< Linked to standard output | ^~~~ a.cc:9:8: error: 'ixj' was not declared in this scope 9 | cout <<ixj=i*j; | ^~~
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:1: error: expected '}' before 'return' a.cc:4:9: note: to match this '{' 4 | int main{ | ^ a.cc:6:1: error: expected declaration before '}' token 6 | } | ^
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: error: expected declaration before '}' token 6 | } | ^
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: 'x' was not declared in this scope 7 | for(int x = 1: x < 10; x++){ | ^
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) for(int i=0;i<(n);i++) template<class T,class U>void chmin(T &t,U f){if(t>f)t=f;} template<class T,class U>void chmax(T &t,U f){if(t<f)t=f;} const int SIZE=10000; struct edge{ int to,cost; edge(int to,int cost):to(to),cost(cost){} }; int N,K; vector<edge>G[SIZE]; bool centroid[SIZE]; int subtree_size[SIZE]; int ans; int compute_subtree_size(int v,int p){ int c=1; rep(i,G[v].size()){ int to=G[v][i].to; if(to==p||centroid[to])continue; c+=compute_subtree_size(to,v); } subtree_size[v]=c; return c; } pint search_centroid(int v,int p,int t){ pint res=mp(INT_MAX,-1); int s=1,m=0; rep(i,G[v].size()){ int to=G[v][i].to; if(to==p||centroid[to])continue; res=min(res,search_centroid(to,v,t)); m=max(m,subtree_size[to]); s+=subtree_size[to]; } m=max(m,t-s); res=min(res,mp(m,v)); return res; } void enumerate_paths(int v,int p,int d,vint &ds){ ds.pb(d); rep(i,G[v].size()){ int to=G[v][i].to; if(to==p||centroid[to])continue; enumerate_paths(to,v,d+G[v][i].cost,ds); } } int count_pairs(vint &ds){ int res=0; sort(ds.begin(),ds.end()); int j=ds.size(); rep(i,ds.size()){ while(j>0&&ds[i]+ds[j-1]>K)j--; res+=j-(j>i?1:0); } return res/2; } void solve_subproblem(int v){ compute_subtree_size(v,-1); int s=search_centroid(v,-1,subtree_size[v]).second; centroid[s]=true; rep(i,G[s].size()){ if(centroid[G[s][i].to])continue; solve_subproblem(G[s][i].to); } vint ds; ds.pb(0); rep(i,G[s].size()){ if(centroid[G[s][i].to])continue; vint tds; enumerate_paths(G[s][i].to,s,G[s][i].cost,tds); ans-=count_pairs(tds); ds.insert(ds.end(),tds.begin(),tds.end()); } ans+=count_pairs(ds); centroid[s]=false; } int main(){ while(scanf("%d%d",&N,&K),N||K){ rep(i,N)G[i].clear(); ans=0; rep(i,N-1){ int a,b,c; scanf("%d%d%d",&a,&b,&c); a--;b--; G[a].pb(edge(b,c)); G[b].pb(edge(a,c)); } solve_subproblem(0); printf("%d\n",ans); } return 0; }
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<set> +++ |+#include <climits> 11 | #include<string>
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 | extern ostream cout; ///< Linked to standard output | ^~~~ a.cc:6:39: error: 'endl' was not declared in this scope; did you mean 'std::endl'? 6 | cout<<b<<"="<<endl; | ^~~~ | std::endl In file included from /usr/include/c++/14/iostream:41: /usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here 744 | endl(basic_ostream<_CharT, _Traits>& __os) | ^~~~
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: expected unqualified-id before '?' token 11 | ?> | ^
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: expected unqualified-id before '?' token 10 | ?> | ^
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: expected unqualified-id before '?' token 10 | ?> | ^
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: expected unqualified-id before '?' token 10 | ?> | ^
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: expected unqualified-id before '?' token 10 | ?> | ^
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: expected unqualified-id before '?' token 10 | ?> | ^
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:7:1: error: expected unqualified-id before '?' token 7 | ?> | ^
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 number 1 | main = putStr $ unlines [(show x) ++ "x" ++ (show y) ++ "=" ++ (show (x*y)) | x <- [1..9], y <- [1..9]] | ^~~~ a.cc:1:1: error: 'main' does not name a type 1 | main = putStr $ unlines [(show x) ++ "x" ++ (show y) ++ "=" ++ (show (x*y)) | x <- [1..9], y <- [1..9]] | ^~~~
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++){ | ^ a.cc:1:18: 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/iostream:63:18: note: 'std::cout' declared here 63 | extern ostream cout; ///< Linked to standard output | ^~~~ a.cc:7:64: error: 'endl' was not declared in this scope; did you mean 'std::endl'? 7 | cout << i << "x" << j << "=" << i*j << endl; | ^~~~ | std::endl In file included from /usr/include/c++/14/iostream:41: /usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here 744 | endl(basic_ostream<_CharT, _Traits>& __os) | ^~~~
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: error: expected primary-expression before '{' token 5 | for{i=1;i<=9;i++}{ | ^ a.cc:5:22: error: expected ';' before '{' token 5 | for{i=1;i<=9;i++}{ | ^ | ; a.cc:5:22: error: expected primary-expression before '{' token a.cc:5:22: error: expected ')' before '{' token 5 | for{i=1;i<=9;i++}{ | ~ ^ | ) a.cc:6:13: error: 'j' was not declared in this scope 6 | for(j=1;j<=9;j++){ | ^ a.cc:7:13: 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/iostream:63:18: note: 'std::cout' declared here 63 | extern ostream cout; ///< Linked to standard output | ^~~~ a.cc:7:21: error: 'i' was not declared in this scope 7 | cout << i << 'x' << j << '=' << i*j << endl; | ^ a.cc:7:52: error: 'endl' was not declared in this scope; did you mean 'std::endl'? 7 | cout << i << 'x' << j << '=' << i*j << endl; | ^~~~ | std::endl In file included from /usr/include/c++/14/iostream:41: /usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here 744 | endl(basic_ostream<_CharT, _Traits>& __os) | ^~~~
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; | ^~~~ | const a.cc:9:52: error: expression cannot be used as a function 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++/14/iostream:63:18: note: 'std::cout' declared here 63 | extern ostream cout; ///< Linked to standard output | ^~~~ a.cc:8:62: error: expected primary-expression before '<<' token 8 | cout << i << "x" << j << "=" << i*j; << endl; | ^~ a.cc:8:65: error: 'endl' was not declared in this scope; did you mean 'std::endl'? 8 | cout << i << "x" << j << "=" << i*j; << endl; | ^~~~ | std::endl In file included from /usr/include/c++/14/iostream:41: /usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here 744 | endl(basic_ostream<_CharT, _Traits>& __os) | ^~~~
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 file included from a.cc:1: /usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here 63 | extern ostream cout; ///< Linked to standard output | ^~~~
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 cout; ///< Linked to standard output | ^~~~
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 '...' before 'a' 2 | public static void main(String[] a){ | ^ a.cc:9:2: error: expected ';' after class definition 9 | } | ^ | ; a.cc: In static member function 'static void Main::main(int*)': a.cc:5:33: error: 'System' was not declared in this scope 5 | System.out.println(" "+i+" * "+j+" = "+i*j); | ^~~~~~ a.cc:5:57: error: invalid operands of types 'const char*' and 'const char [4]' to binary 'operator+' 5 | System.out.println(" "+i+" * "+j+" = "+i*j); | ~~~~~^~~~~~ | | | | | const char [4] | const char*
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 5x2=10 5x3=15 5x4=20 5x5=25 5x6=30 5x7=35 5x8=40 5x9=45 6x1=6 6x2=12 6x3=18 6x4=24 6x5=30 6x6=36 6x7=42 6x8=48 6x9=54 7x1=7 7x2=14 7x3=21 7x4=28 7x5=35 7x6=42 7x7=49 7x8=56 7x9=63 8x1=8 8x2=16 8x3=24 8x4=32 8x5=40 8x6=48 8x7=56 8x8=64 8x9=72 9x1=9 9x2=18 9x3=27 9x4=36 9x5=45 9x6=54 9x7=63 9x8=72 9x9=81 return 0; }
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 '...' before 'a' 2 | public static void main(String[] a){ | ^ a.cc:12:2: error: expected ';' after class definition 12 | } | ^ | ; a.cc: In static member function 'static void Main::main(int*)': a.cc:8:11: error: 'System' was not declared in this scope 8 | System.out.println(i+"x"+j+"="+j*j); | ^~~~~~ a.cc:8:37: error: invalid operands of types 'const char*' and 'const char [2]' to binary 'operator+' 8 | System.out.println(i+"x"+j+"="+j*j); | ~~~~~~~^~~~ | | | | | const char [2] | const char*
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 | public static void main(String[] a){ | ^ a.cc:12:2: error: expected ';' after class definition 12 | } | ^ | ; a.cc: In static member function 'static void Main::main(int*)': a.cc:6:18: error: 'System' was not declared in this scope 6 | System.out.println(i + "x"+ n + "=" + i*n ); | ^~~~~~ a.cc:6:48: error: invalid operands of types 'const char*' and 'const char [2]' to binary 'operator+' 6 | System.out.println(i + "x"+ n + "=" + i*n ); | ~~~~~~~~~~ ^ ~~~ | | | | | const char [2] | const char*
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 << = << i*J << std::endl; | ^ a.cc:7:43: error: expected primary-expression before '<<' token 7 | std::cout << i << * << j << = << i*J << std::endl; | ^~ a.cc:7:48: error: 'J' was not declared in this scope 7 | std::cout << i << * << j << = << i*J << std::endl; | ^
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 << "*" << j << = << i*J << std::endl; | ^~ a.cc:7:50: error: 'J' was not declared in this scope 7 | std::cout << i << "*" << j << = << i*J << std::endl; | ^
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 << "*" << j << = << i*j << std::endl; | ^~
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 '...' before 'a' 2 | public static void main(String[] a){ | ^ a.cc:17:2: error: expected ';' after class definition 17 | } | ^ | ; a.cc: In static member function 'static void Main::main(int*)': a.cc:6:18: error: 'j' was not declared in this scope 6 | for(j =1; j <= 9; j++) { | ^ a.cc:9:17: error: 'System' was not declared in this scope 9 | System.out.println(i + "*" + j + "=" + ans); | ^~~~~~
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 '...' before 'a' 2 | public static void main(String[] a){ | ^ a.cc:13:2: error: expected ';' after class definition 13 | } | ^ | ; a.cc: In static member function 'static void Main::main(int*)': a.cc:8:33: error: 'System' was not declared in this scope 8 | System.out.printf("%dx%d=%d\n",i,j,i*j); | ^~~~~~
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<<"="<<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 }
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 | for(i=1;i<10;i++) | ^ a.cc:9:11: error: expected primary-expression before ';' token 9 | for(i=0;i<;i++) | ^ a.cc:13:11: error: expected primary-expression before ';' token 13 | for(i=0;i<;i++) | ^ a.cc:17:11: error: expected primary-expression before ';' token 17 | for(i=0;i<;i++) | ^ a.cc:21:11: error: expected primary-expression before ';' token 21 | for(i=0;i<;i++) | ^ a.cc:25:11: error: expected primary-expression before ';' token 25 | for(i=0;i<;i++) | ^ a.cc:29:11: error: expected primary-expression before ';' token 29 | for(i=0;i<;i++) | ^ a.cc:33:11: error: expected primary-expression before ';' token 33 | for(i=0;i<;i++) | ^ a.cc:37:11: error: expected primary-expression before ';' token 37 | for(i=0;i<;i++) | ^ a.cc:42:9: error: expected ';' before '}' token 42 | return 0 | ^ | ; 43 | } | ~
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<<"="<<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; }
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 | for(i=1;i<10;i++) | ^ a.cc:9:11: error: expected primary-expression before ';' token 9 | for(i=0;i<;i++) | ^ a.cc:13:11: error: expected primary-expression before ';' token 13 | for(i=0;i<;i++) | ^ a.cc:17:11: error: expected primary-expression before ';' token 17 | for(i=0;i<;i++) | ^ a.cc:21:11: error: expected primary-expression before ';' token 21 | for(i=0;i<;i++) | ^ a.cc:25:11: error: expected primary-expression before ';' token 25 | for(i=0;i<;i++) | ^ a.cc:29:11: error: expected primary-expression before ';' token 29 | for(i=0;i<;i++) | ^ a.cc:33:11: error: expected primary-expression before ';' token 33 | for(i=0;i<;i++) | ^ a.cc:37:11: error: expected primary-expression before ';' token 37 | for(i=0;i<;i++) | ^
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<<"="<<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; }
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:9:11: error: expected primary-expression before ';' token 9 | for(i=0;i<;i++) | ^ a.cc:10:7: error: expected ';' before 'cout' 10 | {c=2*i | ^ | ; 11 | cout<<"2x"<<i<<"="<<c<<endl; | ~~~~ a.cc:13:11: error: expected primary-expression before ';' token 13 | for(i=0;i<;i++) | ^ a.cc:14:7: error: expected ';' before 'cout' 14 | {c=3*i | ^ | ; 15 | cout<<"3x"<<i<<"="<<c<<endl; | ~~~~ a.cc:17:11: error: expected primary-expression before ';' token 17 | for(i=0;i<;i++) | ^ a.cc:18:7: error: expected ';' before 'cout' 18 | {c=4*i | ^ | ; 19 | cout<<"4x"<<i<<"="<<c<<endl; | ~~~~ a.cc:21:11: error: expected primary-expression before ';' token 21 | for(i=0;i<;i++) | ^ a.cc:22:7: error: expected ';' before 'cout' 22 | {c=5*i | ^ | ; 23 | cout<<"5x"<<i<<"="<<c<<endl; | ~~~~ a.cc:25:11: error: expected primary-expression before ';' token 25 | for(i=0;i<;i++) | ^ a.cc:26:7: error: expected ';' before 'cout' 26 | {c=6*i | ^ | ; 27 | cout<<"6x"<<i<<"="<<c<<endl; | ~~~~ a.cc:29:11: error: expected primary-expression before ';' token 29 | for(i=0;i<;i++) | ^ a.cc:30:7: error: expected ';' before 'cout' 30 | {c=7*i | ^ | ; 31 | cout<<"7x"<<i<<"="<<c<<endl; | ~~~~ a.cc:33:11: error: expected primary-expression before ';' token 33 | for(i=0;i<;i++) | ^ a.cc:34:7: error: expected ';' before 'cout' 34 | {c=8*i | ^ | ; 35 | cout<<"8x"<<i<<"="<<c<<endl; | ~~~~ a.cc:37:11: error: expected primary-expression before ';' token 37 | for(i=0;i<;i++) | ^ a.cc:38:7: error: expected ';' before 'cout' 38 | {c=9*i | ^ | ; 39 | cout<<"9x"<<i<<"="<<c<<endl; | ~~~~
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<<"="<<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; }
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:9:11: error: expected primary-expression before ';' token 9 | for(i=1;i<;i++) | ^ a.cc:10:7: error: expected ';' before 'cout' 10 | {c=2*i | ^ | ; 11 | cout<<"2x"<<i<<"="<<c<<endl; | ~~~~ a.cc:13:11: error: expected primary-expression before ';' token 13 | for(i=1;i<;i++) | ^ a.cc:14:7: error: expected ';' before 'cout' 14 | {c=3*i | ^ | ; 15 | cout<<"3x"<<i<<"="<<c<<endl; | ~~~~ a.cc:17:11: error: expected primary-expression before ';' token 17 | for(i=1;i<;i++) | ^ a.cc:18:7: error: expected ';' before 'cout' 18 | {c=4*i | ^ | ; 19 | cout<<"4x"<<i<<"="<<c<<endl; | ~~~~ a.cc:21:11: error: expected primary-expression before ';' token 21 | for(i=1;i<;i++) | ^ a.cc:22:7: error: expected ';' before 'cout' 22 | {c=5*i | ^ | ; 23 | cout<<"5x"<<i<<"="<<c<<endl; | ~~~~ a.cc:25:11: error: expected primary-expression before ';' token 25 | for(i=1;i<;i++) | ^ a.cc:26:7: error: expected ';' before 'cout' 26 | {c=6*i | ^ | ; 27 | cout<<"6x"<<i<<"="<<c<<endl; | ~~~~ a.cc:29:11: error: expected primary-expression before ';' token 29 | for(i=1;i<;i++) | ^ a.cc:30:7: error: expected ';' before 'cout' 30 | {c=7*i | ^ | ; 31 | cout<<"7x"<<i<<"="<<c<<endl; | ~~~~ a.cc:33:11: error: expected primary-expression before ';' token 33 | for(i=1;i<;i++) | ^ a.cc:34:7: error: expected ';' before 'cout' 34 | {c=8*i | ^ | ; 35 | cout<<"8x"<<i<<"="<<c<<endl; | ~~~~ a.cc:37:11: error: expected primary-expression before ';' token 37 | for(i=1;i<;i++) | ^ a.cc:38:7: error: expected ';' before 'cout' 38 | {c=9*i | ^ | ; 39 | cout<<"9x"<<i<<"="<<c<<endl; | ~~~~
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<<"="<<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; }
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 header '<iostream>'; this is probably fixable by adding '#include <iostream>' +++ |+#include <iostream> 1 | #inclde<iostream> a.cc:7:24: error: 'endl' was not declared in this scope 7 | cout<<"1x"<<i<<"="<<c<<endl; | ^~~~ a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>' +++ |+#include <ostream> 1 | #inclde<iostream> a.cc:9:11: error: expected primary-expression before ';' token 9 | for(i=1;i<;i++) | ^ a.cc:11:1: error: 'cout' was not declared in this scope 11 | cout<<"2x"<<i<<"="<<c<<endl; | ^~~~ a.cc:11:1: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>' a.cc:11:24: error: 'endl' was not declared in this scope 11 | cout<<"2x"<<i<<"="<<c<<endl; | ^~~~ a.cc:11:24: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>' a.cc:13:11: error: expected primary-expression before ';' token 13 | for(i=1;i<;i++) | ^ a.cc:15:1: error: 'cout' was not declared in this scope 15 | cout<<"3x"<<i<<"="<<c<<endl; | ^~~~ a.cc:15:1: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>' a.cc:15:24: error: 'endl' was not declared in this scope 15 | cout<<"3x"<<i<<"="<<c<<endl; | ^~~~ a.cc:15:24: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>' a.cc:17:11: error: expected primary-expression before ';' token 17 | for(i=1;i<;i++) | ^ a.cc:19:1: error: 'cout' was not declared in this scope 19 | cout<<"4x"<<i<<"="<<c<<endl; | ^~~~ a.cc:19:1: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>' a.cc:19:24: error: 'endl' was not declared in this scope 19 | cout<<"4x"<<i<<"="<<c<<endl; | ^~~~ a.cc:19:24: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>' a.cc:21:11: error: expected primary-expression before ';' token 21 | for(i=1;i<;i++) | ^ a.cc:23:1: error: 'cout' was not declared in this scope 23 | cout<<"5x"<<i<<"="<<c<<endl; | ^~~~ a.cc:23:1: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>' a.cc:23:24: error: 'endl' was not declared in this scope 23 | cout<<"5x"<<i<<"="<<c<<endl; | ^~~~ a.cc:23:24: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>' a.cc:25:11: error: expected primary-expression before ';' token 25 | for(i=1;i<;i++) | ^ a.cc:27:1: error: 'cout' was not declared in this scope 27 | cout<<"6x"<<i<<"="<<c<<endl; | ^~~~ a.cc:27:1: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>' a.cc:27:24: error: 'endl' was not declared in this scope 27 | cout<<"6x"<<i<<"="<<c<<endl; | ^~~~ a.cc:27:24: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>' a.cc:29:11: error: expected primary-expression before ';' token 29 | for(i=1;i<;i++) | ^ a.cc:31:1: error: 'cout' was not declared in this scope 31 | cout<<"7x"<<i<<"="<<c<<endl; | ^~~~ a.cc:31:1: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>' a.cc:31:24: error: 'endl' was not declared in this scope 31 | cout<<"7x"<<i<<"="<<c<<endl; | ^~~~ a.cc:31:24: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>' a.cc:33:11: error: expected primary-expression before ';' token 33 | for(i=1;i<;i++) | ^ a.cc:35:1: error: 'cout' was not declared in this scope 35 | cout<<"8x"<<i<<"="<<c<<endl; | ^~~~ a.cc:35:1: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>' a.cc:35:24: error: 'endl' was not declared in this scope 35 | cout<<"8x"<<i<<"="<<c<<endl; | ^~~~ a.cc:35:24: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>' a.cc:37:11: error: expected primary-expression before ';' token 37 | for(i=1;i<;i++) | ^ a.cc:39:1: error: 'cout' was not declared in this scope 39 | cout<<"9x"<<i<<"="<<c<<endl; | ^~~~ a.cc:39:1: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>' a.cc:39:24: error: 'endl' was not declared in this scope 39 | cout<<"9x"<<i<<"="<<c<<endl; | ^~~~ a.cc:39:24: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
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<<"="<<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; }
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 header '<iostream>'; this is probably fixable by adding '#include <iostream>' +++ |+#include <iostream> 1 | #inclde<iostream> a.cc:7:24: error: 'endl' was not declared in this scope 7 | cout<<"1x"<<i<<"="<<c<<endl; | ^~~~ a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>' +++ |+#include <ostream> 1 | #inclde<iostream> a.cc:9:11: error: expected primary-expression before ';' token 9 | for(i=1;i<;i++) | ^ a.cc:11:1: error: 'cout' was not declared in this scope 11 | cout<<"2x"<<i<<"="<<c<<endl; | ^~~~ a.cc:11:1: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>' a.cc:11:24: error: 'endl' was not declared in this scope 11 | cout<<"2x"<<i<<"="<<c<<endl; | ^~~~ a.cc:11:24: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>' a.cc:13:11: error: expected primary-expression before ';' token 13 | for(i=1;i<;i++) | ^ a.cc:15:1: error: 'cout' was not declared in this scope 15 | cout<<"3x"<<i<<"="<<c<<endl; | ^~~~ a.cc:15:1: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>' a.cc:15:24: error: 'endl' was not declared in this scope 15 | cout<<"3x"<<i<<"="<<c<<endl; | ^~~~ a.cc:15:24: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>' a.cc:17:11: error: expected primary-expression before ';' token 17 | for(i=1;i<;i++) | ^ a.cc:19:1: error: 'cout' was not declared in this scope 19 | cout<<"4x"<<i<<"="<<c<<endl; | ^~~~ a.cc:19:1: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>' a.cc:19:24: error: 'endl' was not declared in this scope 19 | cout<<"4x"<<i<<"="<<c<<endl; | ^~~~ a.cc:19:24: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>' a.cc:21:11: error: expected primary-expression before ';' token 21 | for(i=1;i<;i++) | ^ a.cc:23:1: error: 'cout' was not declared in this scope 23 | cout<<"5x"<<i<<"="<<c<<endl; | ^~~~ a.cc:23:1: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>' a.cc:23:24: error: 'endl' was not declared in this scope 23 | cout<<"5x"<<i<<"="<<c<<endl; | ^~~~ a.cc:23:24: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>' a.cc:25:11: error: expected primary-expression before ';' token 25 | for(i=1;i<;i++) | ^ a.cc:27:1: error: 'cout' was not declared in this scope 27 | cout<<"6x"<<i<<"="<<c<<endl; | ^~~~ a.cc:27:1: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>' a.cc:27:24: error: 'endl' was not declared in this scope 27 | cout<<"6x"<<i<<"="<<c<<endl; | ^~~~ a.cc:27:24: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>' a.cc:29:11: error: expected primary-expression before ';' token 29 | for(i=1;i<;i++) | ^ a.cc:31:1: error: 'cout' was not declared in this scope 31 | cout<<"7x"<<i<<"="<<c<<endl; | ^~~~ a.cc:31:1: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>' a.cc:31:24: error: 'endl' was not declared in this scope 31 | cout<<"7x"<<i<<"="<<c<<endl; | ^~~~ a.cc:31:24: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>' a.cc:33:11: error: expected primary-expression before ';' token 33 | for(i=1;i<;i++) | ^ a.cc:35:1: error: 'cout' was not declared in this scope 35 | cout<<"8x"<<i<<"="<<c<<endl; | ^~~~ a.cc:35:1: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>' a.cc:35:24: error: 'endl' was not declared in this scope 35 | cout<<"8x"<<i<<"="<<c<<endl; | ^~~~ a.cc:35:24: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>' a.cc:37:11: error: expected primary-expression before ';' token 37 | for(i=1;i<;i++) | ^ a.cc:39:1: error: 'cout' was not declared in this scope 39 | cout<<"9x"<<i<<"="<<c<<endl; | ^~~~ a.cc:39:1: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>' a.cc:39:24: error: 'endl' was not declared in this scope 39 | cout<<"9x"<<i<<"="<<c<<endl; | ^~~~ a.cc:39:24: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
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(a=1;a<9;a++) | ^ | ; a.cc:11:2: error: expected '}' at end of input 11 | } | ^ a.cc:4:1: note: to match this '{' 4 | { | ^
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(a=1;a<9;a++) | ^ | ; a.cc:11:2: error: expected '}' at end of input 11 | } | ^ a.cc:4:1: note: to match this '{' 4 | { | ^
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(a=1;a<=9;a++) | ^ | ; a.cc:11:2: error: expected '}' at end of input 11 | } | ^ a.cc:4:1: note: to match this '{' 4 | { | ^
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(a=1;a<=9;a++) | ^ | ; a.cc:11:2: error: expected '}' at end of input 11 | } | ^ a.cc:4:1: note: to match this '{' 4 | { | ^
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(a=1;a<=9;a++) | ^ | ; a.cc:11:2: error: expected '}' at end of input 11 | } | ^ a.cc:4:1: note: to match this '{' 4 | { | ^
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(a=1;a<=9;a++) | ^ | ;
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(a=1;a<=9;a++) | ^ | ;
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++/14/bits/ios_base.h:41, from /usr/include/c++/14/ios:44, from /usr/include/c++/14/ostream:40, from /usr/include/c++/14/iostream:41, from a.cc:1: /usr/include/c++/14/bits/stl_algobase.h:303:5: note: candidates are: 'template<class _Tp, class _Compare> constexpr const _Tp& std::max(const _Tp&, const _Tp&, _Compare)' 303 | max(const _Tp& __a, const _Tp& __b, _Compare __comp) | ^~~ /usr/include/c++/14/bits/stl_algobase.h:257:5: note: 'template<class _Tp> constexpr const _Tp& std::max(const _Tp&, const _Tp&)' 257 | max(const _Tp& __a, const _Tp& __b) | ^~~ a.cc:4:11: note: 'const int max' 4 | const int max = 9 + 1; | ^~~ a.cc:11:33: error: reference to 'max' is ambiguous 11 | for (b = 1; b < max; b++) { | ^~~ /usr/include/c++/14/bits/stl_algobase.h:303:5: note: candidates are: 'template<class _Tp, class _Compare> constexpr const _Tp& std::max(const _Tp&, const _Tp&, _Compare)' 303 | max(const _Tp& __a, const _Tp& __b, _Compare __comp) | ^~~ /usr/include/c++/14/bits/stl_algobase.h:257:5: note: 'template<class _Tp> constexpr const _Tp& std::max(const _Tp&, const _Tp&)' 257 | max(const _Tp& __a, const _Tp& __b) | ^~~ a.cc:4:11: note: 'const int max' 4 | const int max = 9 + 1; | ^~~
s270506786
p00000
C++
<?php for($a=1; $a<10; $a++){ for($b=1; $b<10; $b++){ echo $a."x".$b."=".$a*$b."&#10"; } }
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) for (int i=(n)-1;i>=0;i--) #define MAX_N 105 int vx [4]= {1,0,-1,0}; int vy [4]= {0,1,0,-1}; long long dp[MAX_N][4][4];//dp[date][today][yesterday] int V[MAX_N],W[MAX_N]; int data[MAX_N],B[MAX_N]; int K ,N; using namespace std; void init(){ } void solve(){ init(); FOR(i,1,10)FOR(x,1,10)cout<<i<<"テδ?<<x << '='<<i*x<<endl; } int main(){ solve(); }
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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ a.cc: In function 'void solve()': a.cc:28:1: error: expected primary-expression before '}' token 28 | } | ^
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>' +++ |+#include <iostream> 1 | using namespace std; a.cc:6:52: error: 'endl' was not declared in this scope 6 | cout<<i<<'x'<<j<<'='<<i*j<<endl; | ^~~~ a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>' +++ |+#include <ostream> 1 | using namespace std;
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 in this scope; did you mean 'std::flush'? 8 | std::cout << i << "x" << j << "=" << i * j << '/n' << flush; | ^~~~~ | std::flush In file included from /usr/include/c++/14/iostream:41, from a.cc:2: /usr/include/c++/14/ostream:766:5: note: 'std::flush' declared here 766 | flush(basic_ostream<_CharT, _Traits>& __os) | ^~~~~
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; | ^~~~ | std::cout In file included from a.cc:2: /usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here 63 | extern ostream cout; ///< Linked to standard output | ^~~~ a.cc:9:65: error: 'flush' was not declared in this scope; did you mean 'std::flush'? 9 | cout << i << "x" << j << "=" << i * j <<flush; | ^~~~~ | std::flush In file included from /usr/include/c++/14/iostream:41: /usr/include/c++/14/ostream:766:5: note: 'std::flush' declared here 766 | flush(basic_ostream<_CharT, _Traits>& __os) | ^~~~~
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 '...' before 'a' 2 | public static void main(String[] a){ | ^ a.cc:6:2: error: expected '}' at end of input 6 | } | ^ a.cc:1:11: note: to match this '{' 1 | class Main{ | ^ a.cc: In static member function 'static void Main::main(int*)': a.cc:4:31: error: 'System' was not declared in this scope 4 | for(int j=1;j<=9;j++)System.out.println(i + "x" + j + "=" + i*j); | ^~~~~~ a.cc:4:62: error: invalid operands of types 'const char*' and 'const char [2]' to binary 'operator+' 4 | for(int j=1;j<=9;j++)System.out.println(i + "x" + j + "=" + i*j); | ~~~~~~~~~~~ ^ ~~~ | | | | | const char [2] | const char* a.cc: At global scope: a.cc:6:2: error: expected unqualified-id at end of input 6 | } | ^
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 character § is not valid in an identifier 2 | ????????°???????????°??§????????????????????? | ^ a.cc:2:1: error: expected unqualified-id before '?' token 2 | ????????°???????????°??§????????????????????? | ^
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){ | ^