submission_id
stringlengths
10
10
problem_id
stringlengths
6
6
language
stringclasses
3 values
code
stringlengths
1
522k
compiler_output
stringlengths
43
10.2k
s834934826
p00000
C
#include<stdio.h> int main(){ int = a, b; for ( a = 1; a<=9 ; a++){ for( b = 1; b<=9 ; b++){ printf("%dx%d=%d\n", a, b, a*b); } }
main.c: In function 'main': main.c:3:7: error: expected identifier or '(' before '=' token 3 | int = a, b; | ^ main.c:4:9: error: 'a' undeclared (first use in this function) 4 | for ( a = 1; a<=9 ; a++){ | ^ main.c:4:9: note: each undeclared identifier is reported only once for eac...
s033830241
p00000
C
#include<stdio.h> int main(){ int = a, b; for ( a = 1; a<=9 ; a++){ for( b = 1; b<=9 ; b++){ printf("%d x%d=%d\n", a, b, a*b); } }
main.c: In function 'main': main.c:3:7: error: expected identifier or '(' before '=' token 3 | int = a, b; | ^ main.c:4:9: error: 'a' undeclared (first use in this function) 4 | for ( a = 1; a<=9 ; a++){ | ^ main.c:4:9: note: each undeclared identifier is reported only once for eac...
s566250183
p00000
C
#include<stdio.h> int main(){ int = a, b; for ( a = 1; a<10 ; a++){ for( b = 1; b<10 ; b++){ printf("%d x%d=%d\n", a, b, a*b); } } return 0; }
main.c: In function 'main': main.c:3:7: error: expected identifier or '(' before '=' token 3 | int = a, b; | ^ main.c:4:9: error: 'a' undeclared (first use in this function) 4 | for ( a = 1; a<10 ; a++){ | ^ main.c:4:9: note: each undeclared identifier is reported only once for eac...
s208212470
p00000
C
#include<stdio.h> int main(){ int = a, b; a =1, b =1; for ( a = 1; a<10 ; a++){ for( b = 1; b<10 ; b++){ printf("%d x%d=%d\n", a, b, a*b); } } return 0; }
main.c: In function 'main': main.c:3:7: error: expected identifier or '(' before '=' token 3 | int = a, b; | ^ main.c:4:4: error: 'a' undeclared (first use in this function) 4 | a =1, b =1; | ^ main.c:4:4: note: each undeclared identifier is reported only once for each function it appe...
s448844766
p00000
C
int main(){ int = a, b; for ( a = 1; a<=9 ; a++){ for( b = 1; b<=9 ; b++){ printf("%dx%d=%d\n", a, b, a*b); } } return 0; }
main.c: In function 'main': main.c:3:7: error: expected identifier or '(' before '=' token 3 | int = a, b; | ^ main.c:4:9: error: 'a' undeclared (first use in this function) 4 | for ( a = 1; a<=9 ; a++){ | ^ main.c:4:9: note: each undeclared identifier is reported only once for eac...
s253163163
p00000
C
main(){retrun 0;}
main.c:1:1: error: return type defaults to 'int' [-Wimplicit-int] 1 | main(){retrun 0;} | ^~~~ main.c: In function 'main': main.c:1:8: error: 'retrun' undeclared (first use in this function) 1 | main(){retrun 0;} | ^~~~~~ main.c:1:8: note: each undeclared identifier is reported only once for ...
s007351954
p00000
C
#include<stdio.h> int main(){ int i,j,multiplication; i=1; j=1; multiplication=0; while(i<=9){ multiplication=i*j; printf("%d x %d = %d\n",i,j,multiplication); j+=1; if(j == 10) { i+=1; j=1; } } return0; }
main.c: In function 'main': main.c:16:3: error: 'return0' undeclared (first use in this function) 16 | return0; | ^~~~~~~ main.c:16:3: note: each undeclared identifier is reported only once for each function it appears in
s411972807
p00000
C
#iunclude<stdio.h> int main(void){ int i,n; for(i=1;i<=9;i++){ for(n=1;n<=9;n++){ printf("%dx%d=%d\n",i,n,i*n); } } return 0; }> http://www.nicovideo.jp/watch/sm14518246
main.c:1:2: error: invalid preprocessing directive #iunclude; did you mean #include? 1 | #iunclude<stdio.h> | ^~~~~~~~ | include main.c: In function 'main': main.c:7:25: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration] 7 | printf("%dx%d=%d\...
s301549410
p00000
C
#iunclude<stdio.h> int main(void){ int i,n; for(i=1;i<=9;i++){ for(n=1;n<=9;n++){ printf("%dx%d=%d\n",i,n,i*n); } } return 0; }
main.c:1:2: error: invalid preprocessing directive #iunclude; did you mean #include? 1 | #iunclude<stdio.h> | ^~~~~~~~ | include main.c: In function 'main': main.c:7:25: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration] 7 | printf("%dx%d=%d\...
s556522890
p00000
C
i;main(j){for(;i++<9;)for(j=0;j<9;)printf("%dx%d=%d\n",i,j,i*++j);exit 0;}
main.c:1:1: warning: data definition has no type or storage class 1 | i;main(j){for(;i++<9;)for(j=0;j<9;)printf("%dx%d=%d\n",i,j,i*++j);exit 0;} | ^ main.c:1:1: error: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] main.c:1:3: error: return type defaults to 'int' [-Wimplicit-int] 1 | i;main...
s330905172
p00000
C
#include<stdio.h> int main(){int i,x,y;for(i=0;i<81;i++){x=i/9+1;y=i%9+1;printf("%dx%d=%d\n",x,y,x*y);}returnツ 0;}
main.c: In function 'main': main.c:2:94: error: stray '\343' in program 2 | int main(){int i,x,y;for(i=0;i<81;i++){x=i/9+1;y=i%9+1;printf("%dx%d=%d\n",x,y,x*y);}return<U+30C4><U+3000>0;} | ^~~~~~~~ main.c:2:86: ...
s255477013
p00000
C
#include<stdio.h>main(){int i,x,y;for(i=0;i<81;i++){x=i/9+1;y=i%9+1;printf("%dx%d=%d\n",x,y,x*y);}return 0;}
main.c:1:18: warning: extra tokens at end of #include directive 1 | #include<stdio.h>main(){int i,x,y;for(i=0;i<81;i++){x=i/9+1;y=i%9+1;printf("%dx%d=%d\n",x,y,x*y);}return 0;} | ^~~~ /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start': (.text...
s894416406
p00000
C
#include<stdio.h> main(){int i,x,y;for(i=0;i<81;i++){x=i/9+1;y=i%9+1;puts("%dx%d=%d",x,y,x*y);}return 0;}
main.c:2:1: error: return type defaults to 'int' [-Wimplicit-int] 2 | main(){int i,x,y;for(i=0;i<81;i++){x=i/9+1;y=i%9+1;puts("%dx%d=%d",x,y,x*y);}return 0;} | ^~~~ main.c: In function 'main': main.c:2:52: error: too many arguments to function 'puts' 2 | main(){int i,x,y;for(i=0;i<81;i++){x=i/9+1;y=i%9+1;...
s668501407
p00000
C
#include<stdio.h> main(){for(int i=0;i<81;i++){int x=i/9+1,y=i%9+1;printf("%dx%d=%d\n",x,y,x*y);}return 0;}
main.c:2:1: error: return type defaults to 'int' [-Wimplicit-int] 2 | main(){for(int i=0;i<81;i++){int x=i/9+1,y=i%9+1;printf("%dx%d=%d\n",x,y,x*y);}return 0;} | ^~~~
s368816238
p00000
C
void Q(int a){int i=a%9+1,j=a/9+1;a<81?printf("%dx%d=%d\n",j,i,i*j,Q(a+1)):0;}main(){Q(0);}
main.c: In function 'Q': main.c:1:40: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration] 1 | void Q(int a){int i=a%9+1,j=a/9+1;a<81?printf("%dx%d=%d\n",j,i,i*j,Q(a+1)):0;}main(){Q(0);} | ^~~~~~ main.c:1:1: note: include '<stdio.h>' or prov...
s820200788
p00000
C
#include <iostream> #include <string.h> #include <algorithm> #include <string> #include <stdio.h> using namespace std; int F[107][107][9]; int G[107][107]; int n,k,a[107]; int main() { int nowCase = 0; while (cin >> n >> k) { if (!n && !k) break; for (int i = 1;i <= n;++i) { cin >> a[i]; a[i] -= 25; ...
main.c:1:10: fatal error: iostream: No such file or directory 1 | #include <iostream> | ^~~~~~~~~~ compilation terminated.
s152007767
p00000
C
#include <cstdio> #include<cstring> #include<algorithm> using namespace std; const long long inf=0xffffffffffff; struct P { int h, m, n; int id; bool operator<(const P & a)const { if (h == a.h) return m < a.m; return h < a.h; } } p[60]; int s[40][40], n, m, k, r, c; bool mark[40][40]...
main.c:1:10: fatal error: cstdio: No such file or directory 1 | #include <cstdio> | ^~~~~~~~ compilation terminated.
s676433607
p00000
C
# include <cstdio> # include <cstring> # define bignum 200000000 # define N 2050 # define M 100000 int first[N],next[M],d[N],zd[M],c[M],pre[N],qd[M]; int n,q[N],vis[N]; int spfa(int x) { int head=0,tail=1,now; for (int i=2;i<=n;i++) d[i]=bignum; vis[1]=1; q[1]=1; d[1]=0; while (head++<tail) { now=q[head%N];...
main.c:1:11: fatal error: cstdio: No such file or directory 1 | # include <cstdio> | ^~~~~~~~ compilation terminated.
s508595928
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; }
main.c: In function 'main': main.c:4:38: error: expected ';' before '}' token 4 | <=9;j++){printf("%dx%d=%d\n",i,j,i*j)}}return 0; | ^ | ;
s446615132
p00000
C
# include <iostream> # include <cstring> # include <cstdio> # include <vector> # define N 55010 using namespace std; struct node { int u,w; node(int uu,int ww) { u=uu; w=ww; } }; vector <node> tree[N]; int p[N][50],d[N],dist[N]; void dfs (int x,int pre) { int y,len=tree[x].size(),now; for (int i=0;i<len;i++) ...
main.c:1:11: fatal error: iostream: No such file or directory 1 | # include <iostream> | ^~~~~~~~~~ compilation terminated.
s466096243
p00000
C
#include<stdio.h> #include<cstring> #include <iostream> #include <algorithm> #include <vector> using namespace std; typedef long long ll; #define PB push_back #define MP make_pair #define REP(i,n) for(int i=0;i<n;i++) ll sum[500007]; vector< pair<int,int> > cus[100007]; int n,m,q; int main() { int Cases,nowCase...
main.c:2:9: fatal error: cstring: No such file or directory 2 | #include<cstring> | ^~~~~~~~~ compilation terminated.
s514849844
p00000
C
# include <cstdio> # include <cstring> # include <iostream> # include <algorithm> using namespace std; # define N 3005 int dp[N],a[N],b[N],c[N],x[N],y[N],out[N],n,m; int search(int x) { int left=1,right=m,mid; while (left<=right) { mid=(left+right)>>1; if (c[mid]<x) left=mid+1; else if (c[mid]>x) right=...
main.c:1:11: fatal error: cstdio: No such file or directory 1 | # include <cstdio> | ^~~~~~~~ compilation terminated.
s875340477
p00000
C
#include <iostream> #include <cstdio> #include <cmath> #include <cstring> #include <cstdlib> #define maxn 1000000 #define M 100000 using namespace std; typedef long long typec; struct matrix{ typec v[120][120]; }; const int CH=4; int trie[10000][CH]; int que[5000000]; int fail[10000]; int sw[128]; int word[10000]; int...
main.c:1:10: fatal error: iostream: No such file or directory 1 | #include <iostream> | ^~~~~~~~~~ compilation terminated.
s534323653
p00000
C
# include <cmath> # include <algorithm> # include <iostream> # include <cstring> # define bignum 200000000 # define eps 1e-6 # define N 655 using namespace std; int p; struct Point { int x,y; }pt[N],pln[N]; int dlcmp(int x) { return x<0?-1:x>0; } int cross(Point a,Point b,Point s) { int x1=a.x-s.x,y1=a.y-s.y; int ...
main.c:1:11: fatal error: cmath: No such file or directory 1 | # include <cmath> | ^~~~~~~ compilation terminated.
s696603863
p00000
C
5 300 0 0 9 0 9 5 8 9 0 9 117 5 300 0 0 9 0 9 5 8 9 0 9 1175 300 0 0 9 0 9 5 8 9 0 9 1175 300 0 0 9 0 9 5 8 9 0 9 1175 300 0 0 9 0 9 5 8 9 0 9 1175 300 0 0 9 0 9 5 8 9 0 9 1175 300 0 0 9 0 9 5 8 9 0 9 1175 300 0 0 9 0 9 5 8 9 0 9 117
main.c:1:1: error: expected identifier or '(' before numeric constant 1 | 5 300 | ^
s832000767
p00000
C
#include<cstdio> #include<cstring> #include<cmath> #include<algorithm> using namespace std; struct Rectangle { double x1,x2,y1,y2; int legal; }; struct Point { double x,y; }; Rectangle screen,inverse; Point s,t; int main() { double w,h,a,b,r,dx,dy,ans; int sm,tm; int flag; while (scanf("%lf%lf%lf%lf",&w,&...
main.c:1:9: fatal error: cstdio: No such file or directory 1 | #include<cstdio> | ^~~~~~~~ compilation terminated.
s808172911
p00000
C
#include<stdio.h> int main(){ int a,b; for(a=1,a<=9;a++){ for(b=1;b<9;b++){ printf("%dx%d=%d\n",a,b,a*b); } } return 0; }
main.c: In function 'main': main.c:5:25: error: expected ';' before ')' token 5 | for(a=1,a<=9;a++){ | ^ | ;
s277333826
p00000
C
main(){a,b;for(a=1;a<=9;a++)for(b=1;b<=9;b++)printf("%dx%d=%d\n",a,b,a*b);return 0;}
main.c:1:1: error: return type defaults to 'int' [-Wimplicit-int] 1 | main(){a,b;for(a=1;a<=9;a++)for(b=1;b<=9;b++)printf("%dx%d=%d\n",a,b,a*b);return 0;} | ^~~~ main.c: In function 'main': main.c:1:8: error: 'a' undeclared (first use in this function) 1 | main(){a,b;for(a=1;a<=9;a++)for(b=1;b<=9;b++)prin...
s175070864
p00000
C
struct line { point a,b; }; //ティツョツ。テァツョツ幼ross product (P1-P0)x(P2-P0) テ・ツ渉嘉ァツァツッ double xmult(point p1,point p2,point p0){ return (p1.x-p0.x)*(p2.y-p0.y)-(p2.x-p0.x)*(p1.y-p0.y); } //ティツョツ。テァツョツ妖ot product (P1-P0).(P2-P0) テァツつケテァツァツッ double dmult(point p1,point p2,point p0){ return (p1.x-p0.x)*(p2.x-p0.x)+(p...
main.c:2:5: error: unknown type name 'point'; did you mean 'int'? 2 | point a,b; | ^~~~~ | int main.c:6:14: error: unknown type name 'point'; did you mean 'int'? 6 | double xmult(point p1,point p2,point p0){ | ^~~~~ | int main.c:6:23: error: unknown ...
s515643917
p00000
C
point intersection(line u,line v){ point ret=u.a; double t=((u.a.x-v.a.x)*(v.a.y-v.b.y)-(u.a.y-v.a.y)*(v.a.x-v.b.x)) /((u.a.x-u.b.x)*(v.a.y-v.b.y)-(u.a.y-u.b.y)*(v.a.x-v.b.x)); ret.x+=(u.b.x-u.a.x)*t; ret.y+=(u.b.y-u.a.y)*t; return ret; }
main.c:1:1: error: unknown type name 'point'; did you mean 'int'? 1 | point intersection(line u,line v){ | ^~~~~ | int main.c:1:20: error: unknown type name 'line' 1 | point intersection(line u,line v){ | ^~~~ main.c:1:27: error: unknown type name 'line' 1 | point inters...
s422863179
p00000
C
#include<cstdio> #include<iostream> #include<algorithm> #include <cstdlib> using namespace std; typedef long long llong; struct rect{ llong x1,y1,x2,y2; }mat[110]; llong p[110]; int main() { freopen("d:\\in.txt","w",stdout); llong w,h,n,m; int t = 10; //while(t--){ srand(time(NULL)); w = (llong)rand()*rand()+...
main.c:1:9: fatal error: cstdio: No such file or directory 1 | #include<cstdio> | ^~~~~~~~ compilation terminated.
s787812542
p00000
C
b;main(a){for(;a-10;printf("%dx%d=%d\n",a,b,a*b))++(b%=9)||a++;}
main.c:1:1: warning: data definition has no type or storage class 1 | b;main(a){for(;a-10;printf("%dx%d=%d\n",a,b,a*b))++(b%=9)||a++;} | ^ main.c:1:1: error: type defaults to 'int' in declaration of 'b' [-Wimplicit-int] main.c:1:3: error: return type defaults to 'int' [-Wimplicit-int] 1 | b;main(a){for(;a...
s905037178
p00000
C
b;main(a){for(;a-10;printf("%dx%d=%d\n",a,b,a*b))((b%=9)++)||a++;}
main.c:1:1: warning: data definition has no type or storage class 1 | b;main(a){for(;a-10;printf("%dx%d=%d\n",a,b,a*b))((b%=9)++)||a++;} | ^ main.c:1:1: error: type defaults to 'int' in declaration of 'b' [-Wimplicit-int] main.c:1:3: error: return type defaults to 'int' [-Wimplicit-int] 1 | b;main(a){for(...
s896222143
p00000
C
b;main(a){for(;a-10;printf("%dx%d=%d\n",a,b,a*b))(++b%=9)||a++;}
main.c:1:1: warning: data definition has no type or storage class 1 | b;main(a){for(;a-10;printf("%dx%d=%d\n",a,b,a*b))(++b%=9)||a++;} | ^ main.c:1:1: error: type defaults to 'int' in declaration of 'b' [-Wimplicit-int] main.c:1:3: error: return type defaults to 'int' [-Wimplicit-int] 1 | b;main(a){for(;a...
s689011611
p00000
C
b;main(a){for(;a-10;printf("%dx%d=%d\n",a,b,a*b))((++b)%=9)||a++;}
main.c:1:1: warning: data definition has no type or storage class 1 | b;main(a){for(;a-10;printf("%dx%d=%d\n",a,b,a*b))((++b)%=9)||a++;} | ^ main.c:1:1: error: type defaults to 'int' in declaration of 'b' [-Wimplicit-int] main.c:1:3: error: return type defaults to 'int' [-Wimplicit-int] 1 | b;main(a){for(...
s603470343
p00000
C
i;main(j){for(;i++<9;)for(j=0;j<9;)printf("%dx%d=%d\n",i,j,i*++j);i=0}
main.c:1:1: warning: data definition has no type or storage class 1 | i;main(j){for(;i++<9;)for(j=0;j<9;)printf("%dx%d=%d\n",i,j,i*++j);i=0} | ^ main.c:1:1: error: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] main.c:1:3: error: return type defaults to 'int' [-Wimplicit-int] 1 | i;main(j){...
s282847052
p00000
C
/*======================================== 2-sat 解决问题 (A1 v A2) ^ (A1 v A3') 这种 只有括号里最多有两个变量的析取范式 1:a不能和b一起去,则a->opp(b), b->opp(a)(就是连两条边)说明a去,opp(b)一定去. 2:事件A一定要取的è...
main.c:11:9: error: 'V' undeclared here (not in a function) 11 | int dfn[V], low[V], stack[V], head[V]; | ^ main.c:15:10: error: 'E' undeclared here (not in a function) 15 | int next[E], pot[E], now[E]; | ^ main.c:16:1: error: unknown type name 'bool' 16 | bool instack[V]; | ...
s451335320
p00000
C
#include <cstdio> #include <cstring> #include <algorithm> #define maxn 52 using namespace std; int n, m, ans, A[5]; int num[maxn][maxn]; int sum[maxn][maxn]; int getsum(int x1, int y1, int x2, int y2) { return sum[x2][y2] - sum[x1 - 1][y2] - sum[x2][y1 - 1] + sum[x1 - 1][y1 - 1]; } void work() { while (~scan...
main.c:1:10: fatal error: cstdio: No such file or directory 1 | #include <cstdio> | ^~~~~~~~ compilation terminated.
s106008048
p00000
C
#include <cstdio> #include <cstring> #include <algorithm> #include <map> #include <string> #include <iostream> #define MAXN 1000000 #define MAXM 2000000 #define inf 2147483647 using namespace std; map <int, int> mp; map <int, int> mp2; struct edge { int to, c, next; } e[MAXM]; int vert[MAXN], l, N, top; char s...
main.c:1:10: fatal error: cstdio: No such file or directory 1 | #include <cstdio> | ^~~~~~~~ compilation terminated.
s667369707
p00000
C
struct point { double x, y; } p[size]; int n, tmp[size]; bool cmpx(point a, point b) { return a.x + eps < b.x || (a.x < b.x + eps && a.y + eps < b.y); } bool cmpy(int a, int b) { return p[a].y + eps < p[b].y || (p[a].y < p[b].y + eps && p[a].x + eps < p[b].x); } double MinDist(int l, int r) { int i, ...
main.c:4:5: error: 'size' undeclared here (not in a function) 4 | } p[size]; | ^~~~ main.c:7:1: error: unknown type name 'bool' 7 | bool cmpx(point a, point b) | ^~~~ main.c:1:1: note: 'bool' is defined in header '<stdbool.h>'; this is probably fixable by adding '#include <stdbool.h>' +++ |+#i...
s771491536
p00000
C
#include <iostream> #include <algorithm> #include <cmath> #include <cstdio> #include <cstring> #define eps 1e-10 using namespace std; double ans; struct node { double x, y; } p[100010]; int n; bool cal_less(node p1, node p2) { if (p1.x != p2.x) return p1.x < p2.x; else return p1.y < p2.y; } double dist(...
main.c:1:10: fatal error: iostream: No such file or directory 1 | #include <iostream> | ^~~~~~~~~~ compilation terminated.
s404979490
p00000
C
#include <stdio.h> main() { int i,j,ans; for(i = 1 ; i <= 9 ; i++) { for(j = 1 ; j <= 9 ; j++) { ans = i x j; printf("%d * %d = %d\n",i,j,ans); } } return 0; }
main.c:2:1: error: return type defaults to 'int' [-Wimplicit-int] 2 | main() | ^~~~ main.c: In function 'main': main.c:10:18: error: expected ';' before 'x' 10 | ans = i x j; | ^~ | ;
s344378196
p00000
C
main(argc,char *argv[]){ while(strlen(argv[0])>10); return 0; }
main.c:1:11: error: expected ')' before 'char' 1 | main(argc,char *argv[]){ | ^~~~ | )
s370626044
p00000
C
main(i,j)for(i=1;i<=9;i++)for(j=1;j<=9;printf("%dx%d=%d\n",i,j++,i*j));exit(0);}
main.c:1:1: error: return type defaults to 'int' [-Wimplicit-int] 1 | main(i,j)for(i=1;i<=9;i++)for(j=1;j<=9;printf("%dx%d=%d\n",i,j++,i*j));exit(0);} | ^~~~ main.c: In function 'main': main.c:1:10: error: expected declaration specifiers before 'for' 1 | main(i,j)for(i=1;i<=9;i++)for(j=1;j<=9;printf("%dx%...
s597617352
p00000
C
i;main(j){for(i=j=1;i<=9||(i=(j++));i++,j<=9||exit(0))printf("%dx%d=%d\n",j,i,i*j);}
main.c:1:1: warning: data definition has no type or storage class 1 | i;main(j){for(i=j=1;i<=9||(i=(j++));i++,j<=9||exit(0))printf("%dx%d=%d\n",j,i,i*j);} | ^ main.c:1:1: error: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] main.c:1:3: error: return type defaults to 'int' [-Wimplicit-int] ...
s100646027
p00000
C
main(i,j){for(i=j=1;i<=9||(i=(j++));i++,j<=9||exit(0))printf("%dx%d=%d\n",j,i,i*j);}
main.c:1:1: error: return type defaults to 'int' [-Wimplicit-int] 1 | main(i,j){for(i=j=1;i<=9||(i=(j++));i++,j<=9||exit(0))printf("%dx%d=%d\n",j,i,i*j);} | ^~~~ main.c: In function 'main': main.c:1:1: error: type of 'i' defaults to 'int' [-Wimplicit-int] main.c:1:1: error: type of 'j' defaults to 'int' [-Wim...
s269418112
p00000
C
i;main(j){for(i=j=1;i<=9||(i=(j++));i++,j<=9||exit(0))printf("%dx%d=%d\n",j,i,i*j);}
main.c:1:1: warning: data definition has no type or storage class 1 | i;main(j){for(i=j=1;i<=9||(i=(j++));i++,j<=9||exit(0))printf("%dx%d=%d\n",j,i,i*j);} | ^ main.c:1:1: error: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] main.c:1:3: error: return type defaults to 'int' [-Wimplicit-int] ...
s447783321
p00000
C
i;j;main(){for(i=j=1;i<=9||(i=(j++));i++,j<=9||exit(0))printf("%dx%d=%d\n",j,i,i*j);}
main.c:1:1: warning: data definition has no type or storage class 1 | i;j;main(){for(i=j=1;i<=9||(i=(j++));i++,j<=9||exit(0))printf("%dx%d=%d\n",j,i,i*j);} | ^ main.c:1:1: error: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] main.c:1:3: warning: data definition has no type or storage class ...
s179014733
p00000
C
int main(){ int i,j; for(i=j=1;i<=9||(i=(j++));i++,j<=9||exit(0))printf("%dx%d=%d\n",j,i,i*j); }
main.c: In function 'main': main.c:3:45: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 3 | for(i=j=1;i<=9||(i=(j++));i++,j<=9||exit(0))printf("%dx%d=%d\n",j,i,i*j); | ^~~~ main.c:1:1: note: include '<stdlib.h>' or provide a...
s961194475
p00000
C
int main(void){ int i,j; for(i=j=1;i<=9||(i=(j++));i++,j<=9||exit(0))printf("%dx%d=%d\n",j,i,i*j); return 0; }
main.c: In function 'main': main.c:3:45: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 3 | for(i=j=1;i<=9||(i=(j++));i++,j<=9||exit(0))printf("%dx%d=%d\n",j,i,i*j); | ^~~~ main.c:1:1: note: include '<stdlib.h>' or provide a...
s009075234
p00000
C
main(i,j){for(i=j=1;(i<=9||(i=(j++)&&1))&&j<=9;i++)printf("%dx%d=%d\n",j,i,i*j)}
main.c:1:1: error: return type defaults to 'int' [-Wimplicit-int] 1 | main(i,j){for(i=j=1;(i<=9||(i=(j++)&&1))&&j<=9;i++)printf("%dx%d=%d\n",j,i,i*j)} | ^~~~ main.c: In function 'main': main.c:1:1: error: type of 'i' defaults to 'int' [-Wimplicit-int] main.c:1:1: error: type of 'j' defaults to 'int' [-Wimplic...
s444927604
p00000
C
main(i,j){for(i=j=1;(i<=9||i=j++>0)&&j<=9;i++)printf("%dx%d=%d\n",j,i,i*j);exit(0);}
main.c:1:1: error: return type defaults to 'int' [-Wimplicit-int] 1 | main(i,j){for(i=j=1;(i<=9||i=j++>0)&&j<=9;i++)printf("%dx%d=%d\n",j,i,i*j);exit(0);} | ^~~~ main.c: In function 'main': main.c:1:1: error: type of 'i' defaults to 'int' [-Wimplicit-int] main.c:1:1: error: type of 'j' defaults to 'int' [-Wim...
s769617501
p00000
C
main(a,b){for(;a<10;a++){for(b=1;b<10;){printf("%dx%d=%d\n",a,b++,a*b);}}exit 0;}
main.c:1:1: error: return type defaults to 'int' [-Wimplicit-int] 1 | main(a,b){for(;a<10;a++){for(b=1;b<10;){printf("%dx%d=%d\n",a,b++,a*b);}}exit 0;} | ^~~~ main.c: In function 'main': main.c:1:1: error: type of 'a' defaults to 'int' [-Wimplicit-int] main.c:1:1: error: type of 'b' defaults to 'int' [-Wimpli...
s688489864
p00000
C
main(a,b){for(;a<10;a++){for(b=1;b<10;){printf("%dx%d=%d\n",a,b++,a*b);}}exit;}
main.c:1:1: error: return type defaults to 'int' [-Wimplicit-int] 1 | main(a,b){for(;a<10;a++){for(b=1;b<10;){printf("%dx%d=%d\n",a,b++,a*b);}}exit;} | ^~~~ main.c: In function 'main': main.c:1:1: error: type of 'a' defaults to 'int' [-Wimplicit-int] main.c:1:1: error: type of 'b' defaults to 'int' [-Wimplici...
s513228000
p00000
C
include<vector> #include<list> #include<map> #include<set> #include<deque> #include<queue> #include<stack> #include<bitset> #include<algorithm> #include<functional> #include<numeric> #include<utility> #include<iostream> #include<sstream> #include<iomanip> #include<cmath> #include<cstdlib> #include<cctype> #include<stri...
main.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token 1 | include<vector> | ^ main.c:2:9: fatal error: list: No such file or directory 2 | #include<list> | ^~~~~~ compilation terminated.
s216986587
p00000
C
main(){getch();}
main.c:1:1: error: return type defaults to 'int' [-Wimplicit-int] 1 | main(){getch();} | ^~~~ main.c: In function 'main': main.c:1:8: error: implicit declaration of function 'getch' [-Wimplicit-function-declaration] 1 | main(){getch();} | ^~~~~
s089470411
p00000
C
#include<cstdio> 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; }
main.c:1:9: fatal error: cstdio: No such file or directory 1 | #include<cstdio> | ^~~~~~~~ compilation terminated.
s950149977
p00000
C
#include <iostream> #define max_size 1000 using namespace std; int main() { int d= 0; int j = 0; for(d = 1;d<= 9;d++) { for(j = 1;j<=9;j++) printf("%dx%d=%d\n",d ,j,d*j); } //system("pause"); return 0; }
main.c:1:10: fatal error: iostream: No such file or directory 1 | #include <iostream> | ^~~~~~~~~~ compilation terminated.
s347074070
p00000
C
#include<stdio.h> int main(void){ int i,j; for(i=0;i<10;i++){ for(j=0;j<10;j++{ printf("%dx%d=%d",i,j,i*j); } } return 0; }
main.c: In function 'main': main.c:6:19: error: expected ')' before '{' token 6 | for(j=0;j<10;j++{ | ~ ^ | ) main.c:9:2: error: expected expression before '}' token 9 | } | ^
s093436616
p00000
C
#include <stdio.h> #define N 10; int main(void){ int i,j; for(i=1;i<N;i++) for(j=1;j<N;j++) printf("%dx%d=%d",i,j,i*j); return 0; }
main.c: In function 'main': main.c:6:20: error: expected expression before ';' token 6 | for(i=1;i<N;i++) | ^ main.c:7:28: error: expected expression before ';' token 7 | for(j=1;j<N;j++) | ^
s672706988
p00000
C
#include <stdio.h> #define N 10; int main(void){ int i,j; for(i=1;i<N;i++){ for(j=1;j<N;j++){ printf("%d",i); printf("x%d",j; printf("=%d"i*j); } } return 0; }
main.c: In function 'main': main.c:6:20: error: expected expression before ';' token 6 | for(i=1;i<N;i++){ | ^ main.c:7:28: error: expected expression before ';' token 7 | for(j=1;j<N;j++){ | ^ main.c:9:39: error: expected ')' bef...
s401426109
p00000
C
#include<stdio.h> main(){ int a,b; for(a=1;a<10,a++){ for(b=1;b<10,b++){ printf("%dx%d=%d\n",a,b,a*b); } } return 0; }
main.c:3:1: error: return type defaults to 'int' [-Wimplicit-int] 3 | main(){ | ^~~~ main.c: In function 'main': main.c:6:17: error: expected ';' before ')' token 6 | for(a=1;a<10,a++){ | ^ | ; main.c:7:17: error: expected ';' before ')' token 7 | for(b=1;b<...
s817403466
p00000
C
#include <stdio.h> int main() { int i,j; for(i=0; i<9; i++) for(j=0; j<9; j++) printf("%dx%d=%d ",i+1,j+1,(i+1)*(j+1)); return 0; }
main.c: In function 'main': main.c:6:14: warning: missing terminating " character 6 | printf("%dx%d=%d | ^ main.c:6:14: error: missing terminating " character 6 | printf("%dx%d=%d | ^~~~~~~~~ main.c:7:1: warning: missing terminating " character 7 | ",i+1,j+1...
s929983494
p00000
C
%23include%20%3Cstdio.h%3E%0Aint%20main%28%29%20%7B%0A%20%20int%20i%2Cj%3B%0A%20%20for%28i%3D0%3B%20i%3C9%3B%20i%2B%2B%29%0A%20%20%20%20for%28j%3D0%3B%20j%3C9%3B%20j%2B%2B%29%0A%20%20%20%20%20%20printf%28%22%25dx%25d%3D%25d%0A%22%2Ci%2B1%2Cj%2B1%2C%28i%2B1%29%2A%28j%2B1%29%29%3B%0A%20%20return%200%3B%0A%7D%0A
main.c:1:1: error: expected identifier or '(' before '%' token 1 | %23include%20%3Cstdio.h%3E%0Aint%20main%28%29%20%7B%0A%20%20int%20i%2Cj%3B%0A%20%20for%28i%3D0%3B%20i%3C9%3B%20i%2B%2B%29%0A%20%20%20%20for%28j%3D0%3B%20j%3C9%3B%20j%2B%2B%29%0A%20%20%20%20%20%20printf%28%22%25dx%25d%3D%25d%0A%22%2Ci%2B1%2Cj%2B1%2C%...
s225211129
p00000
C
/* * by purple * at 12-03-06 7:13:04 PM */ #include <cstdio> #include <algorithm> #include <cstring> #include <vector> #include <string> #include <map> #include <iostream> using namespace std; #define sz(x) ((int)((x).size())) #define out(x) printf(#x" %d\n", x) #define rep(i,n) for(int i=0;i<(n);++i) #define rep...
main.c:6:10: fatal error: cstdio: No such file or directory 6 | #include <cstdio> | ^~~~~~~~ compilation terminated.
s371037031
p00000
C
#include<cstdio> #include<cstring> #include<map> #include<algorithm> #include<iostream> using namespace std; const int M = 10000; int tonum(char* s) { int i = 0,ans = 0; if(s[0] == '1') ans += 1; if(s[1] == '1') ans += 2; if(s[2] == '1') ans += 4; return ans; } int m[M],d[M],hh[M],mm[M],state[M]; char ss[100]; cha...
main.c:1:9: fatal error: cstdio: No such file or directory 1 | #include<cstdio> | ^~~~~~~~ compilation terminated.
s230732312
p00000
C
#include<stdio.h> main(){ int a; for(a=1;a<100;a++){ b=a*a printf("%d×%d=%d",a,a,b); } }
main.c:2:1: error: return type defaults to 'int' [-Wimplicit-int] 2 | main(){ | ^~~~ main.c: In function 'main': main.c:5:6: error: 'b' undeclared (first use in this function) 5 | b=a*a | ^ main.c:5:6: note: each undeclared identifier is reported only once for each function it appears in m...
s570644078
p00000
C
#include<stdio.h> int main(){ int a,b; for(a=1;a<10;a++){ b=a*a; printf("%d×%d=%d",a,a,b); } return o; }
main.c: In function 'main': main.c:8:13: error: 'o' undeclared (first use in this function) 8 | return o; | ^ main.c:8:13: note: each undeclared identifier is reported only once for each function it appears in
s396431830
p00000
C
#include<stdio.h> int main(){ int i; int j; for (i=1; i<10; i++){ for (j=1; j<10; j++){ printf("%dx%d=%d\n", j,i, j*i); } } return 0; } ~ ~ ...
main.c:14:1: error: expected identifier or '(' before '~' token 14 | ~ | ^
s580502968
p00000
C
あなたの、あたまを、あたらしく。
main.c:1:9: error: stray '\343' in program 1 | <U+3042><U+306A><U+305F><U+306E><U+3001><U+3042><U+305F><U+307E><U+3092><U+3001><U+3042><U+305F><U+3089><U+3057><U+304F><U+3002> | ^~~~~~~~ main.c:1:1: error: unknown type name '\U00003042\U0000306a\U0000305f\U0000306e' 1 | あなた...
s397987312
p00000
C
public class Main { public static void main(String[] args) { for (int i = 1; i <= 9; i++) { for (int j = 1; j <= 9; j++) { System.out.println(i + "×" + j + "=" + i * j); } } } }
main.c:1:1: error: unknown type name 'public' 1 | public class Main { | ^~~~~~ main.c:1:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Main' 1 | public class Main { | ^~~~
s638174023
p00000
C
#include<iostream> #include<vector> #include<algorithm> #include<cstdio> #include<queue> #include<stack> #include<string> #include<map> #include<set> #include<cmath> #include<cassert> #include<cstring> #include<iomanip> using namespace std; #define FOR(i,a,b) for( int i = (a) ; i <= (...
main.c:1:9: fatal error: iostream: No such file or directory 1 | #include<iostream> | ^~~~~~~~~~ compilation terminated.
s097145795
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); } } }
main.c:1:1: error: unknown type name 'class' 1 | class Main{ | ^~~~~ main.c:1:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token 1 | class Main{ | ^
s388983211
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; } } }
main.c:1:9: fatal error: iostream: No such file or directory 1 | #include<iostream> | ^~~~~~~~~~ compilation terminated.
s708196239
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; }
main.c:1:9: fatal error: iostream: No such file or directory 1 | #include<iostream> | ^~~~~~~~~~ compilation terminated.
s575067573
p00000
C
#include<stdio.h> int main(void) { inta,i,j; for(i=1;i<10;i++) for(j=1;j<10;j++) { printf("%dx%d=%d\n",i,j,a,a=i*j); } return 0; }
main.c: In function 'main': main.c:4:9: error: 'inta' undeclared (first use in this function); did you mean 'int'? 4 | inta,i,j; | ^~~~ | int main.c:4:9: note: each undeclared identifier is reported only once for each function it appears in main.c:4:14: error: 'i' undeclared (fir...
s384418897
p00000
C
#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"; } } return 0; }
main.c:1:10: fatal error: iostream: No such file or directory 1 | #include <iostream> | ^~~~~~~~~~ compilation terminated.
s385168452
p00000
C
#include<stdio.h> int main(){ int a,b; for(a=1;a<10;a++){ for(b=1;b<10;b++){ puts("%d×%d=%d\n",a,b,a*b); } } return 0; }
main.c: In function 'main': main.c:8:13: error: too many arguments to function 'puts' 8 | puts("%d×%d=%d\n",a,b,a*b); | ^~~~ In file included from main.c:1: /usr/include/stdio.h:714:12: note: declared here 714 | extern int puts (const char *__s); | ^~~~
s474055672
p00000
C
X;main(Y){for(;++X<10;for(Y=0;Y<9;printf("%dx%d=%d\n",X,Y,++Y*X)));}
main.c:1:1: warning: data definition has no type or storage class 1 | X;main(Y){for(;++X<10;for(Y=0;Y<9;printf("%dx%d=%d\n",X,Y,++Y*X)));} | ^ main.c:1:1: error: type defaults to 'int' in declaration of 'X' [-Wimplicit-int] main.c:1:3: error: return type defaults to 'int' [-Wimplicit-int] 1 | X;main(Y){fo...
s836026726
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\n",i,j,i*j) } } return 0; }
main.c: In function 'main': main.c:9:53: error: expected ';' before '}' token 9 | printf("%d%*d=%d\n",i,j,i*j) | ^ | ; 10 | } | ~ ...
s445883545
p00000
C
main (0){for(;X++<90;)printf("%dx%d=%d",X/9,X%9,X/9*X%9)}
main.c:1:7: error: expected declaration specifiers or '...' before numeric constant 1 | main (0){for(;X++<90;)printf("%dx%d=%d",X/9,X%9,X/9*X%9)} | ^
s166250878
p00000
C
#include <iostream> #include <algorithm> #include <vector> using namespace std; #define REP(i, n) for (int i = 0; i < n; ++i) #define PB push_back vector<int> group[36]; int n, cost[36], sz[36]; vector<vector<int> > cut[5]; long long sum[36]; long long best = 0, pos; void dfs(int u, int a, int b, int c, int d, lo...
main.c:1:10: fatal error: iostream: No such file or directory 1 | #include <iostream> | ^~~~~~~~~~ compilation terminated.
s472195952
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;$ }$
main.c:1:19: warning: extra tokens at end of #include directive 1 | #include <stdio.h>$ | ^ main.c:2:2: error: expected ';' before 'int' 2 | $ | ^ | ; 3 | int main() {$ | ~~~ main.c: In function 'main': main.c:3:13: error: '$' undeclared (first use in this functio...
s983284845
p00000
C
# include <cstring> # include <cstdlib> # include <cstdio> # include <iostream> # include <algorithm> using namespace std; long long solve (long long n,long long x) { if (n<=0) return 0; int a[20],tot=0; long long num[20]; long long nn=n; while (nn) { a[++tot]=nn%10; nn/=10;...
main.c:1:11: fatal error: cstring: No such file or directory 1 | # include <cstring> | ^~~~~~~~~ compilation terminated.
s466320326
p00000
C
#include<cstdio> #include<cstring> #include<iostream> using namespace std; unsigned long long pow[20]; unsigned long long func(unsigned long long a,unsigned long long x) { int i,res,p,l,r; if (x==0) { l=a/10; r=a%10; res=l; if (r>0) res++; return res;...
main.c:1:9: fatal error: cstdio: No such file or directory 1 | #include<cstdio> | ^~~~~~~~ compilation terminated.
s701550235
p00000
C
#include <iostream> using namespace std; 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; }
main.c:1:10: fatal error: iostream: No such file or directory 1 | #include <iostream> | ^~~~~~~~~~ compilation terminated.
s692359407
p00000
C
X,Y;main(0){for(;++X<10;)for(Y=0;Y<9;)printf("%dx%d=%d\n",X,Y,X*++Y);}
main.c:1:1: warning: data definition has no type or storage class 1 | X,Y;main(0){for(;++X<10;)for(Y=0;Y<9;)printf("%dx%d=%d\n",X,Y,X*++Y);} | ^ main.c:1:1: error: type defaults to 'int' in declaration of 'X' [-Wimplicit-int] main.c:1:3: error: type defaults to 'int' in declaration of 'Y' [-Wimplicit-int] ...
s415998767
p00000
C
#include <iostream> #include <cstdio> #include <string.h> #include <algorithm> #include <string> #include <vector> #include <map> using namespace std; struct Man { string name; map<string, int> have; Man() {} Man(string _name) { name = _name; have.clear(); } void add(string ...
main.c:1:10: fatal error: iostream: No such file or directory 1 | #include <iostream> | ^~~~~~~~~~ compilation terminated.
s585238050
p00000
C
#include <iostream> #include <cstdio> #include <string> #include <cstring> using namespace std ; #define Maxn 1005 typedef long long LL ; int main() { while (cin >> n>>m>>op ) { for (int i=1;i<=op;i++){ cin>>s; if (s[0]=='D'){ cin>>xc>>yc>>r>>c; for (int j=xc-r;j<=xc...
main.c:1:10: fatal error: iostream: No such file or directory 1 | #include <iostream> | ^~~~~~~~~~ compilation terminated.
s181236975
p00000
C
include<stdio.h> int main() { int i, j; for(i = 1; i <= 9; i++) { for(j = 1; j <= 9; j++) { printf("%d*%d=%d\n", i, j, i*j); } } return 0; }
main.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token 1 | include<stdio.h> | ^
s942657999
p00000
C
#include <stdio.h> int main() { char hoge[100]; gets(hoge); }
main.c: In function 'main': main.c:5:1: error: implicit declaration of function 'gets'; did you mean 'fgets'? [-Wimplicit-function-declaration] 5 | gets(hoge); | ^~~~ | fgets
s855356613
p00000
C
#include <iostream> using namespace std; int main() { int i,j; for(i=1;i<=9;i++) { for(j=1;j<=9;j++) { cout<<i<<"*"<<j<<"="<<i*j<<endl; } } return 0; }
main.c:1:10: fatal error: iostream: No such file or directory 1 | #include <iostream> | ^~~~~~~~~~ compilation terminated.
s226395923
p00000
C
#incldue<stdio.h> int main() { int i,j; for(i=1;i<=9;i++) for(j=1;j<=9;j++) printf("%d*%d=%d\n",i,j,i*j); return 0; }
main.c:1:2: error: invalid preprocessing directive #incldue; did you mean #include? 1 | #incldue<stdio.h> | ^~~~~~~ | include main.c: In function 'main': main.c:7:1: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration] 7 | printf("%d*%d=%d\n",i,j,i*j); | ^~~~~~ ...
s171025474
p00000
C
#include <cstdlib> #include <cctype> #include <cstring> #include <cstdio> #include <cmath> #include <algorithm> #include <vector> #include <string> #include <iostream> #include <sstream> #include <map> #include <set> #include <queue> using namespace std; #define lowbit(x) (x&(-x)) #define LL long long #define ULL uns...
main.c:1:10: fatal error: cstdlib: No such file or directory 1 | #include <cstdlib> | ^~~~~~~~~ compilation terminated.
s108693189
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;}
main.c:1:20: warning: extra tokens at end of #include directive 1 | #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;} | ^~~ /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start': (....
s393616887
p00000
C
#include <iostream> using namespace std; int main() { for(int j=1;j<=9;j++) for(int i=1;i<10;i++) { cout<<j<<"x"<<i<<"="<<i*j<<endl; } return 0; }
main.c:1:10: fatal error: iostream: No such file or directory 1 | #include <iostream> | ^~~~~~~~~~ compilation terminated.
s317262751
p00000
C
#include<cstdio> #include<queue> #include<cstring> using namespace std; #define inf 0x3f3f3f3f #define min(a,b) (a>b?a:b) const int maxn=200000; const int maxm=200000; int a[200][200]; bool isprm[20000]; bool vis[200][200]; typedef pair<int,int> T; struct Nod { int b,val,nxt; void init(int b,int val,int nxt) ...
main.c:1:9: fatal error: cstdio: No such file or directory 1 | #include<cstdio> | ^~~~~~~~ compilation terminated.
s920597827
p00000
C
#include<cstdio> #include<algorithm> using namespace std; struct seg { int a,b; bool operator < (const seg p) const { return a!=p.a?a<p.a:b>p.b; } }s[50000]; int main() { //freopen("d:\\in.txt","r",stdin); int l,g; while(scanf("%d%d",&l,&g),l||g) { for(int i=0;i<g;i++) ...
main.c:1:9: fatal error: cstdio: No such file or directory 1 | #include<cstdio> | ^~~~~~~~ compilation terminated.
s210648365
p00000
C
#include<stdio.h> int main() { int a,b,c; for(a=1;a<10;i++) { for(b=1;b<10;i++) { c = a * b; printf("%dx%d=%d\n"); } } return 0; }
main.c: In function 'main': main.c:5:14: error: 'i' undeclared (first use in this function) 5 | for(a=1;a<10;i++) | ^ main.c:5:14: note: each undeclared identifier is reported only once for each function it appears in
s841205191
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:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token 1 | include<stdio.h> | ^