submission_id stringlengths 10 10 | problem_id stringlengths 6 6 | language stringclasses 3
values | code stringlengths 1 522k | compiler_output stringlengths 43 10.2k |
|---|---|---|---|---|
s554432442 | p00000 | C | #include<stdio.h>
int main(){
int i, j;
for(i=1; i<10; i++)
for(j=1; j<10; j++)
printf("%dx%d=%d\n", i, j, i*j);
return 0;
} | main.c: In function 'main':
main.c:4:1: error: stray '\343' in program
4 | <U+3000><U+3000>int i, j;
| ^~~~~~~~
main.c:4:3: error: stray '\343' in program
4 | <U+3000><U+3000>int i, j;
| ^~~~~~~~
|
s500924795 | p00000 | C | int i=1,j=1;
for(i=1;i<10;i++){
for(j=1;j<10;j++){
printf("%d×%d=%d\n",i,j,i*j);
}
} | main.c:2:9: error: expected identifier or '(' before 'for'
2 | for(i=1;i<10;i++){
| ^~~
main.c:2:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
2 | for(i=1;i<10;i++){
| ^
main.c:2:23: error: expected '=', ',', ';', 'asm' or '__at... |
s548706078 | p00000 | C | #include <map>
#include <set>
#include <queue>
#include <ctime>
#include <cmath>
#include <string>
#include <cstdio>
#include <vector>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <algorithm>
using namespace std;
#define all(a) a.begin(),a.end()
#define clr(a) memset(a,0,sizeof(a))
#define fill(a... | main.c:1:10: fatal error: map: No such file or directory
1 | #include <map>
| ^~~~~
compilation terminated.
|
s014416369 | p00000 | C | #include<stdio.h>
#include<iostream>
#include<cstring>
#include<queue>
using namespace std;
#define LL long long
const int kind =26;
struct node
{
node * fail;
node *next[kind];
int count,sz;
node()
{
fail=NULL;
sz=count =0;
for(int i=0;i<kind;i++)
next[i]=NULL;
}
};
char keyword[3001000];
char... | main.c:2:9: fatal error: iostream: No such file or directory
2 | #include<iostream>
| ^~~~~~~~~~
compilation terminated.
|
s097996020 | p00000 | C | a | main.c:1:1: error: expected '=', ',', ';', 'asm' or '__attribute__' at end of input
1 | a
| ^
|
s462633606 | p00000 | C | #include <algorithm>
#include <iostream>
#include <limits>
#include <map>
#include <set>
#include <string>
#include <utility>
#include <vector>
const int N = 100;
const int L = 20;
const int INF = std::numeric_limits<int>::max();
#define FOR(i, v) for(__typeof((v).begin()) i = (v).begin(); i != (v).end(); ++i)
std::... | main.c:1:10: fatal error: algorithm: No such file or directory
1 | #include <algorithm>
| ^~~~~~~~~~~
compilation terminated.
|
s917581411 | p00000 | C | #include <algorithm>
#include <cstdio>
#include <cstring>
#include <iterator>
#include <limits>
#include <vector>
typedef std::vector<int> VI;
#define PB push_back
#define FOR(i, v) for(__typeof((v).begin()) i = (v).begin(); i != (v).end(); ++i)
const int N = (int) (1e5);
const int M = (int) (1e5);
const int INF = s... | main.c:1:10: fatal error: algorithm: No such file or directory
1 | #include <algorithm>
| ^~~~~~~~~~~
compilation terminated.
|
s581646809 | p00000 | C | #pragma comment(linker, "/STACK:102400000,102400000")
#include<iostream>
#include<cstring>
#include<cstdio>
#include<algorithm>
#include<cmath>
#include<vector>
#include<queue>
#define MOD 1000000007
#define pi acos(-1.0)
#define LL long long
#define N 200050
using namespace std;
struct node
{
int to, nx;
} e[N * 2];
... | main.c:2:9: fatal error: iostream: No such file or directory
2 | #include<iostream>
| ^~~~~~~~~~
compilation terminated.
|
s563238026 | p00000 | C | File Edit Options Buffers Tools C Help
#include<stdio.h>
int main (void) {
int n=1;
int m=1;
for (n=1;n<10;n++)
{
for (m=1;m<10;m++)
{
printf ("%d*%d=%d\n",n,m,n*m);
}
}
return 0;
} | main.c:1:1: error: unknown type name 'File'
1 | File Edit Options Buffers Tools C Help
| ^~~~
main.c:1:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Options'
1 | File Edit Options Buffers Tools C Help
| ^~~~~~~
main.c:1:11: error: unknown type name 'Options'
In file i... |
s398599081 | p00000 | C | #include<stdio.h>
main(){
int i,j,k;
for(i=1;i<10;i++){
for(j=1;j<10;j++){
pintf("%d×%d=%d\n",i,j,i*j);
}
}
return 0;
} | main.c:2:1: error: return type defaults to 'int' [-Wimplicit-int]
2 | main(){
| ^~~~
main.c: In function 'main':
main.c:6:7: error: implicit declaration of function 'pintf'; did you mean 'printf'? [-Wimplicit-function-declaration]
6 | pintf("%d×%d=%d\n",i,j,i*j);
| ^~~~~
| pr... |
s674712152 | p00000 | C++ | import java.util.Scanner;
public class B {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n=0, m=0, t=0, p=0;
while(true){
n = sc.nextInt();
m = sc.nextInt();
t = sc.nextInt();
p = sc.nextInt();
if(n==0 && m==0 && t==0 && p==0) break;
int[][] paper = new int... | a.cc:1:1: error: 'import' does not name a type
1 | import java.util.Scanner;
| ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:3:1: error: expected unqualified-id before 'public'
3 | public class B {
| ^~~~~~
|
s144284667 | p00000 | C++ | #include <iostream>
int main() {
for( int i = 1 ; i <= 9 ; i++ ) {
for( int ii = 1 : ii <= 9 ; ii++ ) {
std::cout << i << "x" << ii << "=" << i * ii << std::endl ;
}
}
}
| a.cc: In function 'int main()':
a.cc:5:21: error: initializer in range-based 'for' loop
5 | for( int ii = 1 : ii <= 9 ; ii++ ) {
| ^
a.cc:5:34: error: expected ')' before ';' token
5 | for( int ii = 1 : ii <= 9 ; ii++ ) {
| ~ ^~
... |
s455971659 | p00000 | C++ | #include<iostream>
using namsepace std;
int main(){
int a;
cin >> a;
cout << a;
}
| a.cc:2:7: error: expected nested-name-specifier before 'namsepace'
2 | using namsepace std;
| ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:5:1: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
5 | cin >> a;
| ^~~
| std::cin
In file included from a.cc:1:
/usr/includ... |
s007313130 | p00000 | C++ | #include "pch.h"
#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:1:10: fatal error: pch.h: No such file or directory
1 | #include "pch.h"
| ^~~~~~~
compilation terminated.
|
s686028167 | p00000 | C++ | #include <iostream>
int main() {
for (int i=1; i<=9; ++i)
for (int j=1; j<=9; ++j)
std:cout << i << "x" << j << "=" << i*j << std::endl;
return 0;
}
| a.cc: In function 'int main()':
a.cc:6:11: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
6 | std:cout << i << "x" << j << "=" << i*j << std::endl;
| ^~~~
| std::cout
In file included from a.cc:1:
/usr/include/c++/14/iostream:63:18: note: 'std::cout' de... |
s584097913 | p00000 | C++ | #include<iostream>
#include<cstdio>
using namespace std;
int main(){
int sintyoku = 0;
/*ICPCにでたい人生だった*/
for(int i = 0;i < 114514:i++){
sintyoku--;
}
/*今日はラーメン食べたいなあ*/
for(int i = 1;i < 10;i++){
for(int j = 1;j < 10;j++){
printf("%dx%d=%d\n",i,j,i*j);
}
}
return 0;
} | a.cc: In function 'int main()':
a.cc:8:15: warning: range-based 'for' loops with initializer only available with '-std=c++20' or '-std=gnu++20' [-Wc++20-extensions]
8 | for(int i = 0;i < 114514:i++){
| ^
a.cc:8:25: error: expected ';' before ':' token
8 | for(int i = 0;i < 114514:i++){
... |
s525559094 | p00000 | C++ | import java.util.ArrayList;
public class Main {
public static void main(String args[]){
ArrayList<Integer> a=new ArrayList();
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:1:1: error: 'import' does not name a type
1 | import java.util.ArrayList;
| ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:2:1: error: expected unqualified-id before 'public'
2 | public class Main {
| ^~~~~~
|
s664558831 | p00000 | C++ | import java.util.*;
public class Main{
public static void main(String args[]){
ArrayList[] a;
a=new ArrayList[10];
a[1]=new ArrayList<Integer>();
//a[1].add(3);
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:1:1: error: 'import' does not name a type
1 | import java.util.*;
| ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:2:1: error: expected unqualified-id before 'public'
2 | public class Main{
| ^~~~~~
|
s559958925 | p00000 | C++ | import java.util.*;
public class Main{
public static void main(String args[]){
ArrayList[] a;
a=new ArrayList[10];
a[1]=new ArrayList<Integer>();
//a[1].add(3);
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:1:1: error: 'import' does not name a type
1 | import java.util.*;
| ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:2:1: error: expected unqualified-id before 'public'
2 | public class Main{
| ^~~~~~
|
s018422509 | p00000 | C++ | #include<iostream>
using namespace std;
int main()
{
for(int i=1; i<=8; i++){
cout << i << "x" << i << "=" << i * i << endl;
return 0;
} | a.cc: In function 'int main()':
a.cc:8:2: error: expected '}' at end of input
8 | }
| ^
a.cc:4:1: note: to match this '{'
4 | {
| ^
|
s428253795 | p00000 | C++ | http://blog.sina.com.cn/s/blog_6bddecdc0102uzo5.html | a.cc:1:1: error: 'http' does not name a type
1 | http://blog.sina.com.cn/s/blog_6bddecdc0102uzo5.html
| ^~~~
|
s293191555 | p00000 | C++ | #include <cstdio>
#include<algorithm>
#include<cstring>
#include<set>
struct oper
{
int val,t,op;
oper(){}
oper(int val,int t,int op){val(val),t(t),op(op)}
bool operator<(const oper& rhs) const
{
return t<rhs.t;
}
}Oper[50010],peak[50010];
using namespace std;
char buf[30];
int main()
{
... | a.cc: In constructor 'oper::oper(int, int, int)':
a.cc:9:35: error: 'val' cannot be used as a function
9 | oper(int val,int t,int op){val(val),t(t),op(op)}
| ~~~^~~~~
a.cc:9:42: error: 't' cannot be used as a function
9 | oper(int val,int t,int op){val(val),t(t),op(o... |
s726082266 | p00000 | C++ | #include<stdio.h>
#include<iostream.h>
int main()
{
int a,i,j;
for(i=1;i<=9;i++)
{
for(j=1;j<=9;j++)
{
cout<<i<<"*"<<j<<"="<<i*j<<endl;
}
}
return 0;
} | a.cc:2:9: fatal error: iostream.h: No such file or directory
2 | #include<iostream.h>
| ^~~~~~~~~~~~
compilation terminated.
|
s371352714 | p00000 | C++ | #include<iostream>
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:5:35: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
5 | for(i=1;i<10;i++)for(j=1;j<10;j++)cout<<i<<"x"<<j<<"="<<i*j<<endl;
| ^~~~
| std::cout
In file included from a.cc:1:
/... |
s963750494 | p00000 | C++ | void tran( double ax ,double ay ,double az ,double x ,double y ,double z ,double xt ,double yt ,double zt ){
double sinx ,siny ,sinz ,cosx ,cosy ,cosz ;
xt = x * ( cosy * cosz - sinx * siny * sinz )
- y * cosx * sinz
+ z * ( siny * cosz + sinx * cosy * sinz ) ;
yt = x * ( cosy * sinz + sinx ... | /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
|
s040639901 | p00000 | C++ | #include<iostream>
using namespace std;
int main(){
for(int i=1, i<10, i++){
for(int k=1, k<10, k++){
cout<<i<<"x"<<k<<"="<<i*k;
}
}
return 0;
} | a.cc: In function 'int main()':
a.cc:5:18: error: expected ';' before '<' token
5 | for(int i=1, i<10, i++){
| ^
| ;
a.cc:5:18: error: expected primary-expression before '<' token
a.cc:5:26: error: expected ';' before ')' token
5 | for(int i=1, i<10, i++){
... |
s066625572 | p00000 | C++ | #include <iostream>
#define loop(i,a,b) for(int i=(a); i<int(b); i++)
#define rep(i,b) loop(i,0,b)
int main(){
loop(i,1,10)loop(j,1,10){
printf("%dx%d=%d",i,j,i*j);
int x
}
} | a.cc: In function 'int main()':
a.cc:11:5: error: expected initializer before '}' token
11 | }
| ^
|
s703923333 | p00000 | C++ | int cor[nMax],dfn[nMax],low[nMax],instack[nMax],st[nMax];
int top,scc,cnt;
void tarjan_dfs(int cur)
{
dfn[cur] = low[cur] = ++cnt;
st[++top] = cur;
instack[cur] = 1;
for(int i = g[cur]; i ;i = edge[i].nxt){
int v = edge[i].v;
if( !instack[v] ){
tarjan_dfs(v);
low[... | a.cc:1:9: error: 'nMax' was not declared in this scope
1 | int cor[nMax],dfn[nMax],low[nMax],instack[nMax],st[nMax];
| ^~~~
a.cc:1:19: error: 'nMax' was not declared in this scope
1 | int cor[nMax],dfn[nMax],low[nMax],instack[nMax],st[nMax];
| ^~~~
a.cc:1:29: error: 'nMax' ... |
s121308957 | p00000 | C++ | #include <stdio.h>
using namespace std;
int main() {
for (int i = 1; i < 10; i++)
for (int j = 1; j < 10; j++)
cout << i << "x" << j << "=" << i*j << endl;
} | a.cc: In function 'int main()':
a.cc:7:25: error: 'cout' was not declared in this scope
7 | cout << i << "x" << j << "=" << i*j << endl;
| ^~~~
a.cc:2:1: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>... |
s418229451 | p00000 | C++ | #include <cstdio>
#include <cstring>
#define N 111111
int cc[N],sa[N],h[N],rank[N],wa[N],ws[N],wb[N],wv[N],n;
char c[N];
bool cmp(int *r, int a, int b, int l){
return r[a] == r[b] && r[a + l] == r[b + l];
}
void da(int *r, int *sa, int n, int m){//*r:蜴滉クイ *sa:蜷守シ?焚扈?シ茎a[0]荳コ遨コ荳イ(sa[0] = n - 1) n:諤サ髟ソ m:蟄礼ャヲ闌?峩
int i,... | a.cc: In function 'void gua(int*, int*, int)':
a.cc:29:14: error: 'i' was not declared in this scope
29 | for (i = 1; i <= n; i ++ ) rank[sa[i]] = i;
| ^
a.cc:30:14: error: 'i' was not declared in this scope
30 | for (i = 0; i < n; h[rank[i ++ ]] = k)
| ^
a.cc... |
s456604878 | p00000 | C++ | #include <iostream>
int main() {
for (int i = 1; i < 10; ++i)
for (int i = 1; i < 10; ++j)
std::printf("%dx%d=%d", i, j, i*j);
return 0;
} | a.cc: In function 'int main()':
a.cc:5:35: error: 'j' was not declared in this scope
5 | for (int i = 1; i < 10; ++j)
| ^
|
s688305026 | p00000 | C++ | main(i,j){for(i=1;i<=9;i++)for(j=1;j<=9;j++)printf("%dx%d=%d\n",i,j,i*j);} | a.cc:1:5: error: expected constructor, destructor, or type conversion before '(' token
1 | main(i,j){for(i=1;i<=9;i++)for(j=1;j<=9;j++)printf("%dx%d=%d\n",i,j,i*j);}
| ^
|
s209372114 | p00000 | C++ | i,j;main(){for(i=1;i<=9;i++)for(j=1;j<=9;printf("%dx%d=%d\n",i,j++,i*j));i*=0;} | a.cc:1:1: error: 'i' does not name a type
1 | i,j;main(){for(i=1;i<=9;i++)for(j=1;j<=9;printf("%dx%d=%d\n",i,j++,i*j));i*=0;}
| ^
a.cc:1:5: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
1 | i,j;main(){for(i=1;i<=9;i++)for(j=1;j<=9;printf("%dx%d=%d\n",i,j++,i*j));i*=0;}
... |
s035597333 | 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:5:13: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
5 | 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' d... |
s847019212 | p00000 | C++ | #include <iostream>
using namespace std;
int main(){
cin.tie(0);
ios::sync_with_stdio(false);
for (int i = 1; i <= 9; i++){
for(int j = 1; j <=9; j++{
cout << i << "x" << j << "=" << i*j << "\n";
}
}
return 0;
} | a.cc: In function 'int main()':
a.cc:9:42: error: expected ')' before '{' token
9 | for(int j = 1; j <=9; j++{
| ~ ^
| )
|
s213309710 | p00000 | C++ | #include<iostream>
using namespace std;
void main()
{
for(int i=1;i<10;i++)
cout<<i<<"x"<<i<<"="<<i*i<<endl;
} | a.cc:3:1: error: '::main' must return 'int'
3 | void main()
| ^~~~
|
s852131649 | p00000 | C++ | //include
//------------------------------------------
#include <vector>
#include <list>
#include <map>
#include <set>
#include <deque>
#include <stack>
#include <bitset>
#include <algorithm>
#include <functional>
#include <numeric>
#include <utility>
#include <sstream>
#include <iostream>
#include <iomanip>
#include <... | a.cc:25:10: fatal error: boost/multiprecision/cpp_int.hpp: No such file or directory
25 | #include <boost/multiprecision/cpp_int.hpp>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
|
s414016313 | p00000 | C++ | i;main(j){for(;i++<9;)for(j=0;j++<9;)printf("%dx%d=%d\n",i,j,i*j);return 0;} | a.cc:1:1: error: 'i' does not name a type
1 | i;main(j){for(;i++<9;)for(j=0;j++<9;)printf("%dx%d=%d\n",i,j,i*j);return 0;}
| ^
a.cc:1:7: error: expected constructor, destructor, or type conversion before '(' token
1 | i;main(j){for(;i++<9;)for(j=0;j++<9;)printf("%dx%d=%d\n",i,j,i*j);return 0;}
| ... |
s126584934 | p00000 | C++ | #include<iostream>
using namespace std;
int main(){
for(int 1 = 1;i<=9;i++)
{
for(int j=1;j<=0;j++)
{
cout << i << "x" << j << "=" << i*j;
}
}
return 0;
} | a.cc: In function 'int main()':
a.cc:5:17: error: expected unqualified-id before numeric constant
5 | for(int 1 = 1;i<=9;i++)
| ^
a.cc:5:16: error: expected ';' before numeric constant
5 | for(int 1 = 1;i<=9;i++)
| ^~
| ;
a.cc:5:17:... |
s083183679 | p00000 | C++ | for i in 1..9 do
for j in 1..9 do
puts '%dx%d=%d' %[i,j,i*j]
end
end | a.cc:1:10: error: too many decimal points in number
1 | for i in 1..9 do
| ^~~~
a.cc:2:10: error: too many decimal points in number
2 | for j in 1..9 do
| ^~~~
a.cc:3:6: warning: multi-character literal with 8 characters exceeds 'int' size of 4 bytes
3 | puts '%dx%d=%d' %[i,j,i... |
s924961001 | p00000 | C++ | while( cin >> a >> b ) | a.cc:1:1: error: expected unqualified-id before 'while'
1 | while( cin >> a >> b )
| ^~~~~
|
s575317107 | p00000 | C++ | #include<stdio.h>
#define FOR( i,a ) for( i = 0;i < a;i++ )
int main(){
int i = 0,j = 0;
FOR( i,10 ){ FOR( j,10 ){ printf( "%dx%d=%d",i,j,i*j ); }}
return 0;
} | a.cc:4:1: error: extended character is not valid in an identifier
4 | int i = 0,j = 0;
| ^
a.cc: In function 'int main()':
a.cc:4:1: error: '\U00003000int' was not declared in this scope
4 | int i = 0,j = 0;
| ^~~~~
a.cc:5:10: error: 'i' was not declared in this scope
5 | FOR( i,10 ){ FO... |
s251774060 | p00000 | C++ | i;main(j){for(;i++<9;)for(j=0;j++<9;printf("%dx%d=%d\n",i,j,i*j));} | a.cc:1:1: error: 'i' does not name a type
1 | i;main(j){for(;i++<9;)for(j=0;j++<9;printf("%dx%d=%d\n",i,j,i*j));}
| ^
a.cc:1:7: error: expected constructor, destructor, or type conversion before '(' token
1 | i;main(j){for(;i++<9;)for(j=0;j++<9;printf("%dx%d=%d\n",i,j,i*j));}
| ^
|
s798691558 | p00000 | C++ | #include<iostream>
using namespace std;
int main () {
for(i=1;i<=9;i++) {
for(j=1;j<=9;j++)
cout << i << "x" << j<< "=" << i*j << endl;
}
} | a.cc: In function 'int main()':
a.cc:5:9: error: 'i' was not declared in this scope
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++)
| ^
|
s855655028 | 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
| |
s530647794 | p00000 | C++ | i;main(j){for(;i++<9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);return 0;} | a.cc:1:1: error: 'i' does not name a type
1 | i;main(j){for(;i++<9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);return 0;}
| ^
a.cc:1:7: error: expected constructor, destructor, or type conversion before '(' token
1 | i;main(j){for(;i++<9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);return 0;}
| ... |
s109365266 | p00000 | C++ | i, j;main(){for(;i++<9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);return 0;} | a.cc:1:1: error: 'i' does not name a type
1 | i, j;main(){for(;i++<9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);return 0;}
| ^
a.cc:1:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
1 | i, j;main(){for(;i++<9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);return 0;}
... |
s659414930 | p00000 | C++ | i, j;main(){for(;i++<9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);return 0;} | a.cc:1:1: error: 'i' does not name a type
1 | i, j;main(){for(;i++<9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);return 0;}
| ^
a.cc:1:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
1 | i, j;main(){for(;i++<9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);return 0;}
... |
s369974159 | p00000 | C++ | i, j;main(){for(;i++<9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);return 0;} | a.cc:1:1: error: 'i' does not name a type
1 | i, j;main(){for(;i++<9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);return 0;}
| ^
a.cc:1:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
1 | i, j;main(){for(;i++<9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);return 0;}
... |
s348937425 | p00000 | C++ | i, j;main(){for(;i++<9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);return 0;} | a.cc:1:1: error: 'i' does not name a type
1 | i, j;main(){for(;i++<9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);return 0;}
| ^
a.cc:1:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
1 | i, j;main(){for(;i++<9;)for(j=1;j<=9;)printf("%dx%d=%d\n",i,j++,i*j);return 0;}
... |
s198587958 | p00000 | C++ | null | a.cc:1:1: error: 'null' does not name a type
1 | null
| ^~~~
|
s683640035 | p00000 | C++ | null | a.cc:1:1: error: 'null' does not name a type
1 | null
| ^~~~
|
s874667063 | p00000 | C++ | null | a.cc:1:1: error: 'null' does not name a type
1 | null
| ^~~~
|
s861178485 | p00000 | C++ | i = range(1,10)
for i in ['%dx%d=%d' % (x,y,x*y) for x in i for y in i]:
print i | a.cc:2:12: warning: multi-character literal with 8 characters exceeds 'int' size of 4 bytes
2 | for i in ['%dx%d=%d' % (x,y,x*y) for x in i for y in i]:
| ^~~~~~~~~~
a.cc:1:1: error: 'i' does not name a type
1 | i = range(1,10)
| ^
|
s660545406 | p00000 | C++ | # AOJ 0000
for x in range(1,10):
for y in range(1,10):
print str(x)+"x"+str(y)+"="+str(x*y) | a.cc:1:3: error: invalid preprocessing directive #AOJ
1 | # AOJ 0000
| ^~~
a.cc:3:1: error: expected unqualified-id before 'for'
3 | for x in range(1,10):
| ^~~
|
s976379869 | p00000 | C++ | #include <cstring>
using namespace std;
char s[1234 << 20];
int main(){
memset(s, 0, sizeof s);
puts("hoge");
} | a.cc: In function 'int main()':
a.cc:8:9: error: 'puts' was not declared in this scope
8 | puts("hoge");
| ^~~~
|
s485613468 | p00000 | C++ | for i in 1..9
for j in 1..9
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
| ^~~~
a.cc:2:18: error: too many decimal points in number
2 | for j in 1..9
| ^~~~
a.cc:1:1: error: expected unqualified-id before 'for'
1 | for i in 1..9
| ^~~
a.cc:4:9: error: 'end' d... |
s957340181 | p00000 | C++ | #include<iostream>
#include<vector>
#include<string>
#include<algorithm>
#include<functional>
#include<queue>
#include<utility>
#include<cstdlib>
#include<ctime>
#include<utility>
using namespace std;
#define INF (1<<29)
#include <nmmintrin.h>
int main(){
cout<<_mm_popcnt_u32(5315648)<<endl;
cout<<_mm_popcn... | In file included from /usr/lib/gcc/x86_64-linux-gnu/14/include/smmintrin.h:812,
from /usr/lib/gcc/x86_64-linux-gnu/14/include/nmmintrin.h:31,
from a.cc:13:
/usr/lib/gcc/x86_64-linux-gnu/14/include/popcntintrin.h: In function 'int main()':
/usr/lib/gcc/x86_64-linux-gnu/14/include/popcnt... |
s051070270 | p00000 | C++ | #include | a.cc:1:10: error: #include expects "FILENAME" or <FILENAME>
1 | #include
| ^
|
s363965998 | p00000 | C++ | sa | a.cc:1:1: error: 'sa' does not name a type
1 | sa
| ^~
|
s907624851 | p00000 | C++ | #include<iostream>
using namespace std;
int main(){
int f,s,;
for(f=1;f++;f<10){
for(s=1;s++;s<10){
cout<<f<<"x"<<s<<"="<<f*s<<endl;
}
}
return 0;
} | a.cc: In function 'int main()':
a.cc:6:9: error: expected unqualified-id before ';' token
6 | int f,s,;
| ^
|
s964187820 | p00000 | C++ | - submit, private | a.cc:1:1: error: expected unqualified-id before '-' token
1 | - submit, private
| ^
|
s415452555 | p00000 | C++ | - submit, private | a.cc:1:1: error: expected unqualified-id before '-' token
1 | - submit, private
| ^
|
s166422302 | p00000 | C++ | - submit, private | a.cc:1:1: error: expected unqualified-id before '-' token
1 | - submit, private
| ^
|
s853447248 | p00000 | C++ | - submit, private | a.cc:1:1: error: expected unqualified-id before '-' token
1 | - submit, private
| ^
|
s646413178 | p00000 | C++ | - submit, private | a.cc:1:1: error: expected unqualified-id before '-' token
1 | - submit, private
| ^
|
s968750416 | p00000 | C++ | - submit, private | a.cc:1:1: error: expected unqualified-id before '-' token
1 | - submit, private
| ^
|
s444898116 | p00000 | C++ | - submit, private | a.cc:1:1: error: expected unqualified-id before '-' token
1 | - submit, private
| ^
|
s124467420 | p00000 | C++ | - submit, private | a.cc:1:1: error: expected unqualified-id before '-' token
1 | - submit, private
| ^
|
s037660737 | p00000 | C++ | - submit, private | a.cc:1:1: error: expected unqualified-id before '-' token
1 | - submit, private
| ^
|
s369287037 | p00000 | C++ | - submit, private | a.cc:1:1: error: expected unqualified-id before '-' token
1 | - submit, private
| ^
|
s248348723 | p00000 | C++ | - submit, private | a.cc:1:1: error: expected unqualified-id before '-' token
1 | - submit, private
| ^
|
s841006070 | p00000 | C++ | - submit, private | a.cc:1:1: error: expected unqualified-id before '-' token
1 | - submit, private
| ^
|
s251556516 | p00000 | C++ | - submit, private | a.cc:1:1: error: expected unqualified-id before '-' token
1 | - submit, private
| ^
|
s506574034 | p00000 | C++ | - submit, private | a.cc:1:1: error: expected unqualified-id before '-' token
1 | - submit, private
| ^
|
s560056872 | p00000 | C++ | - submit, private | a.cc:1:1: error: expected unqualified-id before '-' token
1 | - submit, private
| ^
|
s491179016 | p00000 | C++ | - submit, private | a.cc:1:1: error: expected unqualified-id before '-' token
1 | - submit, private
| ^
|
s083297768 | p00000 | C++ | - submit, private | a.cc:1:1: error: expected unqualified-id before '-' token
1 | - submit, private
| ^
|
s687273894 | p00000 | C++ | #include<iostream>
using namespace std;
int main(){
for (int i=0;i<=9;i++){
for (int j=0;j<=9;j++)
cout < i <"x"<j<"=" < i*j
}
}
return 0;
} | a.cc: In function 'int main()':
a.cc:9:6: error: no match for 'operator<' (operand types are 'std::ostream' {aka 'std::basic_ostream<char>'} and 'int')
9 | cout < i <"x"<j<"=" < i*j
| ~~~~ ^ ~
| | |
| | int
| std::ostream {aka std::basic_ostream<char>}
a.cc:9:6: note: candidate: 'o... |
s088911638 | p00000 | C++ | #include<iostream>
using namespace std;
int main(){
for (int i=0;i<=9;i++){
for (int j=0;j<=9;j++)
cout < i <"x"<j<"=" < i*j
}
}
return 0;
} | a.cc: In function 'int main()':
a.cc:9:6: error: no match for 'operator<' (operand types are 'std::ostream' {aka 'std::basic_ostream<char>'} and 'int')
9 | cout < i <"x"<j<"=" < i*j
| ~~~~ ^ ~
| | |
| | int
| std::ostream {aka std::basic_ostream<char>}
a.cc:9:6: note: candidate: 'o... |
s712466393 | 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;
}
}
return 0;
} | a.cc:12:5: error: expected unqualified-id before 'return'
12 | return 0;
| ^~~~~~
a.cc:13:1: error: expected declaration before '}' token
13 | }
| ^
|
s930288320 | p00000 | C++ | object Test {
def main(args: Array[String]) {
val a = Some(0)
val b = Some("t")
val c = Some(100)
for {
i <- a
_ <- b if (i != 10)
k <- c
} {
println(i, k)
}
}
} | a.cc:1:1: error: 'object' does not name a type
1 | object Test {
| ^~~~~~
|
s039384227 | p00000 | C++ | a | a.cc:1:1: error: 'a' does not name a type
1 | a
| ^
|
s296489288 | p00000 | C++ | a | a.cc:1:1: error: 'a' does not name a type
1 | a
| ^
|
s442491519 | p00000 | C++ | a | a.cc:1:1: error: 'a' does not name a type
1 | a
| ^
|
s517979566 | p00000 | C++ | a | a.cc:1:1: error: 'a' does not name a type
1 | a
| ^
|
s175692037 | p00000 | C++ | a | a.cc:1:1: error: 'a' does not name a type
1 | a
| ^
|
s527832666 | 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
|
s683633001 | p00000 | C++ | a | a.cc:1:1: error: 'a' does not name a type
1 | a
| ^
|
s272067472 | p00000 | C++ | a | a.cc:1:1: error: 'a' does not name a type
1 | a
| ^
|
s902021571 | p00000 | C++ | a | a.cc:1:1: error: 'a' does not name a type
1 | a
| ^
|
s553418070 | p00000 | C++ | a | a.cc:1:1: error: 'a' does not name a type
1 | a
| ^
|
s661036812 | p00000 | C++ | aa | a.cc:1:1: error: 'aa' does not name a type
1 | aa
| ^~
|
s009468406 | p00000 | C++ | aa | a.cc:1:1: error: 'aa' does not name a type
1 | aa
| ^~
|
s654344422 | p00000 | C++ | #include<iostream>
#include<cstdio>
#include<algorithm>
#include<climits>
#include<string>
#include<vector>
#include<list>
#include<map>
#include<set>
#include<cmath>
#include<queue>
#include<cstring>
using namespace std; | /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
|
s805493875 | p00000 | C++ | #include<iostream>
#include<cstdio>
#include<algorithm>
#include<climits>
#include<string>
#include<vector>
#include<list>
#include<map>
#include<set>
#include<cmath>
#include<queue>
#include<cstring>
using namespace std; | /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
|
s032773587 | p00000 | C++ | a | a.cc:1:1: error: 'a' does not name a type
1 | a
| ^
|
s785491169 | p00000 | C++ | a | a.cc:1:1: error: 'a' does not name a type
1 | a
| ^
|
s764897744 | p00000 | C++ | p;main(i){for(i=0;i<81;)p=!printf("%dx%d=%d\n",i/9+1,i%9+1,(i/9+1)*(i++%9+1));} | a.cc:1:1: error: 'p' does not name a type
1 | p;main(i){for(i=0;i<81;)p=!printf("%dx%d=%d\n",i/9+1,i%9+1,(i/9+1)*(i++%9+1));}
| ^
a.cc:1:7: error: expected constructor, destructor, or type conversion before '(' token
1 | p;main(i){for(i=0;i<81;)p=!printf("%dx%d=%d\n",i/9+1,i%9+1,(i/9+1)*(i++%9+1));}
... |
s788591500 | p00000 | C++ | fa | a.cc:1:1: error: 'fa' does not name a type
1 | fa
| ^~
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.