submission_id
stringlengths
10
10
problem_id
stringlengths
6
6
language
stringclasses
3 values
code
stringlengths
1
522k
compiler_output
stringlengths
43
10.2k
s795936966
p00000
C
#include <cstdio> #include <cstring> #include <iostream> using namespace std; char s[1111]; int num[10]; void fj(int x) { int i; for(i = 2; i * i <= x; i++) while(x % i == 0) { num[i]++; x /= i; } if(x > 1) num[x]++; } bool can_f(int x) { int i; for(i = 2; i * i <= x; i++)...
main.c:1:10: fatal error: cstdio: No such file or directory 1 | #include <cstdio> | ^~~~~~~~ compilation terminated.
s915307368
p00000
C
//C headers #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <limits.h> #include <ctype.h> #include <assert.h> //cpp headers #include <iostream> #include <iomanip> #include <sstream> #include <algorithm> #include <vector> #include <queue> #include <set> #include <map> #include <stac...
main.c:10:10: fatal error: iostream: No such file or directory 10 | #include <iostream> | ^~~~~~~~~~ compilation terminated.
s272881347
p00000
C
#include<stdio.h> int main(void) { int a,b; for(a=1;a<10;a++) { for(b=1;b<10;b++) { printf("%dx%d=%d",a,b,a*b); } return 0; }
main.c: In function 'main': main.c:14:1: error: expected declaration or statement at end of input 14 | } | ^
s679528479
p00000
C
#include<stdio.h> int main(void){
main.c: In function 'main': main.c:3:1: error: expected declaration or statement at end of input 3 | int main(void){ | ^~~
s899144733
p00000
C
#include<stdio.h> int main(void){
main.c: In function 'main': main.c:3:1: error: expected declaration or statement at end of input 3 | int main(void){ | ^~~
s168237490
p00000
C
***********************************************************/ /* Clear function: reset and initialize the population */ /***********************************************************/ void clear() { int i,j; for (i = 0; i < NVARS; i++) { for (j = 0; j <= POPSIZE; j++) { populati...
main.c:1:60: error: expected identifier or '(' before '/' token 1 | ***********************************************************/ | ^
s510728572
p00000
C
1x1=1 1x2=2 . . 9x8=72 9x9=81 1x1=1 1x2=2 . . 9x8=72 9x9=81 1x1=1 1x2=2 . . 9x8=72 9x9=81
main.c:1:1: error: invalid suffix "x1" on integer constant 1 | 1x1=1 | ^~~ main.c:1:1: error: expected identifier or '(' before numeric constant main.c:2:1: error: invalid suffix "x2" on integer constant 2 | 1x2=2 | ^~~ main.c:5:1: error: invalid suffix "x8" on integer constant 5 | 9x8=72 ...
s007321469
p00000
C
#include <stdio.h> int main() { for(i=1;i<=9;i++) for(j=1;j<=9;j++) printf("%d*%d=%d,i,j,i*j"); return 0; }
main.c: In function 'main': main.c:4:5: error: 'i' undeclared (first use in this function) 4 | for(i=1;i<=9;i++) | ^ main.c:4:5: note: each undeclared identifier is reported only once for each function it appears in main.c:5:5: error: 'j' undeclared (first use in this function) 5 | for(j=1;j<=9;j++) ...
s442970125
p00000
C
荳雁捉荳サ隕∝惠陦・莉・蜑咲噪鬚倡岼蜥悟姐CF逧ДP,證よ慮豐。譛牙ュヲ譁ー逧?ョ玲ウ? 豈碑オ帶ッ碑セ?、壼黄菴咏噪鬚倡岼霑俶怏蠕亥、壽イ。譛牙所譌カ逧?。・謗?莉・蜷手。・逧??蠎ヲ霑倩ヲ∝刈蠢ォ. 譛?ソ大?蝨コ豈碑オ帑クュ,謌台サャ髦滉シ咲噪驟榊粋荳榊、溷・ス. 1:譛画慮蛟吩シ壼惠荳?%鬚倡岼荳?蝗?クコ荳?コ帷サ?鰍豬ェ雍ケ蠕磯柄逧?慮髣エ,隨ャ6蝨コ扈?弌襍侫鬚伜屏荳コ闌?峩蠑?ー丈コ?ク?せ,蝨ィ隨ャ荳?ャ。謠蝉コ、霑?コ?ソォ蜊贋クェ蟆乗慮謇榊書邇ー. 2:蟇ケ莠取汾莠幃「倡岼螟ェ霑?ーィ諷惹コ?隨ャ8蝨コ扈?弌襍帑ク?峩莉・荳コH鬚倡噪螟肴揩蠎ヲ螟ェ鬮伜柱譌カ髣エ蛻??譛蛾琉鬚伜ーア豐。譛画署莠、,莠句ョ樔...
main.c:1:13: error: stray '\342' in program 1 | <U+8373><U+96C1><U+6349><U+8373><U+30B5><U+9695><U+221D><U+60E0><U+9666><U+30FB><U+8389><U+30FB><U+8711><U+54B2><U+566A><U+9B1A><U+5021><U+5CBC><U+8725><U+609F><U+59D0>CF<U+9027><U+0414>P,<U+8B49><U+3088><U+616E><U+8C50><U+3002><U+8B5B><U+7259><U+30E5><U+30F2><U+8B41>...
s188682007
p00000
C
#include <cstdio> #include <iostream> #include <algorithm> using namespace std; const int N = 1009; int mabs(int x) { if(x > 0) return x; return -x; } struct xiang { int xs[1001]; int n; void print() { printf("("); for(int i = n - 1; i >= 0; i--) { if(xs[i] ...
main.c:1:10: fatal error: cstdio: No such file or directory 1 | #include <cstdio> | ^~~~~~~~ compilation terminated.
s689283395
p00000
C
#include <cstdio> #include <cstring> #include <vector> using namespace std; int n, q; #define N 100005 vector<int> e[N], w[N]; vector< pair<int,int> > g[N]; int p[N], f[N]; #define pb push_back typedef long long ll; ll d[N], ans[N]; int getf(int k){ return (f[k] == k) ? k : f[k] = getf(f[k]); } void dfs(int k,int fa...
main.c:1:10: fatal error: cstdio: No such file or directory 1 | #include <cstdio> | ^~~~~~~~ compilation terminated.
s929801418
p00000
C
#include<stdio.h> int main(void) { int i; int j; for(i = 1;i <= 9;i++){ for(j = 0;j <= 9;j++){ printf("%dx%d=%d\n", i, j, i * j); } } return (0); }s
main.c:15:1: error: expected '=', ',', ';', 'asm' or '__attribute__' at end of input 15 | }s | ^
s956154426
p00000
C
#include <stdio.h> int d[1000000]; int main(void) { int n, m, p, pp, ppp; int i, j, x, y; int index, work, an1, an2, yen, yen2, yen3; int min, max, mid; int xx, yy; scanf("%d %d %d", &n, &m, &p); for (i = 0; i < m; i++){ scanf("%d", &d[i]); } for (an1 = 0; an1 < m; an1++) { index = an1; for (an2 ...
main.c: In function 'main': main.c:85:44: error: expected ';' before '}' token 85 | y = n - d[yy] + ppp | ^ | ; 86 | } | ~
s846138457
p00000
C
#include<cstdio> main(){ }
main.c:1:9: fatal error: cstdio: No such file or directory 1 | #include<cstdio> | ^~~~~~~~ compilation terminated.
s061170357
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",i,j,i*j); } } return 0; }
main.c: In function 'main': main.c:6:21: error: expected ')' before '{' token 6 | for(j=1;j<10;j++{ | ~ ^ | ) main.c:9:3: error: expected expression before '}' token 9 | } | ^
s165465584
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; }
main.c: In function 'main': main.c:4:1: error: stray '\343' in program 4 | <U+3000>int i = 0,j = 0; | ^~~~~~~~
s324137799
p00000
C
null
main.c:1:1: error: expected '=', ',', ';', 'asm' or '__attribute__' at end of input 1 | null | ^~~~
s727225452
p00000
C
null
main.c:1:1: error: expected '=', ',', ';', 'asm' or '__attribute__' at end of input 1 | null | ^~~~
s560519928
p00000
C
null
main.c:1:1: error: expected '=', ',', ';', 'asm' or '__attribute__' at end of input 1 | null | ^~~~
s491258206
p00000
C
null
main.c:1:1: error: expected '=', ',', ';', 'asm' or '__attribute__' at end of input 1 | null | ^~~~
s368747109
p00000
C
null
main.c:1:1: error: expected '=', ',', ';', 'asm' or '__attribute__' at end of input 1 | null | ^~~~
s259426879
p00000
C
null
main.c:1:1: error: expected '=', ',', ';', 'asm' or '__attribute__' at end of input 1 | null | ^~~~
s861847786
p00000
C
null
main.c:1:1: error: expected '=', ',', ';', 'asm' or '__attribute__' at end of input 1 | null | ^~~~
s240751823
p00000
C
null
main.c:1:1: error: expected '=', ',', ';', 'asm' or '__attribute__' at end of input 1 | null | ^~~~
s523278169
p00000
C
null
main.c:1:1: error: expected '=', ',', ';', 'asm' or '__attribute__' at end of input 1 | null | ^~~~
s572576599
p00000
C
#include<stdio.h> int main() {int a,i,j; for(i=1;i<=9;i++) { for(j=1;j<=9;j++) { printf("%d x %d = %d",i,j,i*j); printf("\n"); } } return 0; }
main.c:1:19: warning: extra tokens at end of #include directive 1 | #include<stdio.h> int main() {int a,i,j; for(i=1;i<=9;i++) { for(j=1;j<=9;j++) { printf("%d x %d = %d",i,j,i*j); printf("\n"); } } return 0; } | ^~~ /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scr...
s295580220
p00000
C
/* *********************************************** Author :CKboss Created Time :2015蟷エ01譛?7譌・ 譏滓悄蜈ュ 00譌カ19蛻?3遘?File Name :fenxi.cpp ************************************************ */ #include <iostream> #include <cstdio> #include <cstring> #include <algorithm> #include <string> #include <cmath> #include <...
main.c:6:10: fatal error: iostream: No such file or directory 6 | #include <iostream> | ^~~~~~~~~~ compilation terminated.
s539712783
p00000
C
#include <iostream> int main(){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;}
main.c:1:10: fatal error: iostream: No such file or directory 1 | #include <iostream> | ^~~~~~~~~~ compilation terminated.
s094869579
p00000
C
#include <stdio.h> int main() { int i, j; for(i=1; i<10; i++) { for(j=1; j<10; i++) { printf("%dx%d=%d\n", i, j, i*j); } } return 0; }
main.c: In function 'main': main.c:7:21: error: '\U0000ff4a' undeclared (first use in this function) 7 | for(j=1; j<10; i++) { | ^~ main.c:7:21: note: each undeclared identifier is reported only once for each function it appears in
s906253259
p00000
C
a
main.c:1:1: error: expected '=', ',', ';', 'asm' or '__attribute__' at end of input 1 | a | ^
s869158087
p00000
C
#include<stdio.h> int main(){ for(int i=1;i<=9;i++){ for(int j=1;j<=9;j++){ printf("%d×%d=%d\n",i,j,i*j) } } return 0; }
main.c: In function 'main': main.c:6:29: error: expected ';' before '}' token 6 | printf("%d×%d=%d\n",i,j,i*j) | ^ | ; 7 | } | ~
s756953937
p00000
C
/* *********************************************** Author :CKboss Created Time :2015蟷エ04譛?1譌・ 譏滓悄荳?19譌カ00蛻?7遘?File Name :CF514E.cpp ************************************************ */ #include <iostream> #include <cstdio> #include <cstring> #include <algorithm> #include <string> #include <cmath> #include <...
main.c:6:10: fatal error: iostream: No such file or directory 6 | #include <iostream> | ^~~~~~~~~~ compilation terminated.
s460896098
p00000
C
test
main.c:1:1: error: expected '=', ',', ';', 'asm' or '__attribute__' at end of input 1 | test | ^~~~
s042277292
p00000
C
test
main.c:1:1: error: expected '=', ',', ';', 'asm' or '__attribute__' at end of input 1 | test | ^~~~
s261487928
p00000
C
@0000.cpp
main.c:1:1: error: stray '@' in program 1 | @0000.cpp | ^ main.c:1:2: error: invalid suffix "cpp" on floating constant 1 | @0000.cpp | ^~~~~~~~ main.c:1:2: error: expected identifier or '(' before numeric constant
s921443226
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; }
main.c:1:10: fatal error: iostream: No such file or directory 1 | #include <iostream> | ^~~~~~~~~~ compilation terminated.
s801524022
p00000
C
sourceCode
main.c:1:1: error: expected '=', ',', ';', 'asm' or '__attribute__' at end of input 1 | sourceCode | ^~~~~~~~~~
s344088958
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; }
main.c:1:10: fatal error: iostream: No such file or directory 1 | #include <iostream> | ^~~~~~~~~~ compilation terminated.
s415755557
p00000
C
include<stdio.h> int main(){ int x,y; 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> | ^
s178159623
p00000
C
include<stdio.h> int main(){ int x,y; 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> | ^
s026201599
p00000
C
package com.degree45; import java.io.FileOutputStream; import java.io.FileWriter; import java.io.IOException; import java.net.*; import java.util.*; import org.dom4j.*; import org.dom4j.io.OutputFormat; import org.dom4j.io.SAXReader; import org.dom4j.io.*; public class XML_Account { private Document doc; private...
main.c:1:1: error: unknown type name 'package' 1 | package com.degree45; | ^~~~~~~ main.c:1:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token 1 | package com.degree45; | ^ main.c:3:1: error: unknown type name 'import' 3 | import java.io.FileOutputStream; ...
s823388115
p00000
C
#include<cstdio> #include<algorithm> #include<set> using namespace std; struct Point { int x, y; Point(int x = 0, int y = 0) : x(x), y(y){} bool operator < (const Point t) const{ if(x != t.x) return x < t.x; return y < t.y; } }; int main() { int T; scanf("%d", &T); while(T--) { ...
main.c:1:9: fatal error: cstdio: No such file or directory 1 | #include<cstdio> | ^~~~~~~~ compilation terminated.
s544876094
p00000
C
#include<stdio.h> int main(){ int i; int j; int seki; for(i=1;i<10;i++){ for(j=1;j<10;j++){ seki = i*j; printf("%dx%d=%d\n",i,j,seki); } }
main.c: In function 'main': main.c:12:9: error: expected declaration or statement at end of input 12 | } | ^
s765624212
p00000
C
#include<stdio.h> int main(){ int i; int j; int seki; for(i=1;i<10;i++){ for(j=1 ;j<10;j++){ seki = i*j; printf("%dx%d=%d\n",i,j,seki); } } } ~
main.c:18:1: error: expected identifier or '(' before '~' token 18 | ~ | ^
s012189594
p00000
C
#include<stdio.h> int main(){ int i; int j; int seki; for(i=1;i<10;i++){ for(j=1 ;j<10;j++){ seki = i*j; printf("%dx%d=%d\n",i,j,seki); } } } ~
main.c:18:1: error: expected identifier or '(' before '~' token 18 | ~ | ^
s367974237
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:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token 1 | include<stdio.h> | ^
s690396175
p00000
C
####索引 **** ```sql create table TD( id number, sq number, tri number, fac number, fib number, pow number ); create or replace procedure proce1 AS id number:=1; last1 number:=0; last2 number:=1; lastpow number:=1; lastfac number:=1; md...
main.c:2:1: error: stray '##' in program 2 | ####索引 | ^~ main.c:2:3: error: stray '##' in program 2 | ####索引 | ^~ main.c:2:5: error: unknown type name '\U00007d22\U00005f15' 2 | ####索引 | ^~~~ main.c:4:1: error: stray '`' in program 4 | ```sql | ^ main.c:4:2: error: stray '`...
s804098312
p00000
C
#include<stdio.h> int main(){ int i,j,sum; sum=0; for(i=0;i<10;i++){ for(j=0;j<10;j++){ sum=i*j; printf(i+"x"+j+"="+sum\n); } } return 0; }
main.c: In function 'main': main.c:9:39: error: invalid operands to binary + (have 'char *' and 'char *') 9 | printf(i+"x"+j+"="+sum\n); | ~~~~~~~^ | | | | | char * ...
s592903825
p00000
C
include<stdio.h> int main(){ for(int i=1; i<=9; i++){ for(int j=1; j<=9; j++){ printf("%dx%d=%d\n", i,j,i*j); } } return 0; }
main.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token 1 | include<stdio.h> | ^
s858804448
p00000
C
include<stdio.h> main(){ for(int i=1; i<=9; i++){ for(int j=1; j<=9; j++){ printf("%dx%d=%d\n", i,j,i*j); } } return 0; }
main.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token 1 | include<stdio.h> | ^
s140688092
p00000
C
#include <stdio.h> int main(void){ int i = j = 0; 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:5:17: error: 'j' undeclared (first use in this function) 5 | int i = j = 0; | ^ main.c:5:17: note: each undeclared identifier is reported only once for each function it appears in
s646379112
p00000
C
#include<stdio.h> int main(int argc,const char *argv[]){ int i,j; for(i=1;i<=9;i++){ for(j=1;i<=9;i++){ printf("%d??%d=%d",i,j,seki); } printf("\n"); } return 0; }
main.c: In function 'main': main.c:7:38: error: 'seki' undeclared (first use in this function) 7 | printf("%d??%d=%d",i,j,seki); | ^~~~ main.c:7:38: note: each undeclared identifier is reported only once for each function it appears in
s294359007
p00000
C
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in=new Scanner(System.in); int i,j; for(i=1; i<=9; i++) { for(j=1; j<=9; j++){ System.out.println(i+"x"+j+"="+i*j); } } } }
main.c:1:1: error: unknown type name 'import' 1 | import java.util.Scanner; | ^~~~~~ main.c:1:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token 1 | import java.util.Scanner; | ^ main.c:2:1: error: unknown type name 'public' 2 | public class Main { | ^~...
s031791017
p00000
C
import java.util.Scanner; public class Solution { public static void main(String[] args) { Scanner in=new Scanner(System.in); int i,j; for(i=1; i<=9; i++) { for(j=1; j<=9; j++){ System.out.println(i+"x"+j+"="+i*j); } } } }
main.c:1:1: error: unknown type name 'import' 1 | import java.util.Scanner; | ^~~~~~ main.c:1:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token 1 | import java.util.Scanner; | ^ main.c:2:1: error: unknown type name 'public' 2 | public class Solution { ...
s361433507
p00000
C
select stu.GRADE,stu.SEX,inj.KIND_ID,count(*) from REGISTERATION as reg join STUDENT as stu join INJURE as inj where reg.STUDENT = stu.S_ID and reg.INJURE = inj.KIND_ID group by stu.GRADE , stu.SEX , inj.KIND_ID with rollup;
main.c:1:1: error: unknown type name 'select' 1 | select stu.GRADE,stu.SEX,inj.KIND_ID,count(*) from REGISTERATION as reg join STUDENT as stu join INJURE as inj | ^~~~~~ main.c:1:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token 1 | select stu.GRADE,stu.SEX,inj.KIND_ID,count(*) ...
s453029117
p00000
C
#include<stdio.h> int main(){ int i,j; for(i = 1; i < 10; i++){ for(j = 1; j < 10; j++){ printf(i + "*" + j + "=" + i*j + "\n"); } } return 0; }
main.c: In function 'main': main.c:7:44: error: invalid operands to binary + (have 'char *' and 'char *') 7 | printf(i + "*" + j + "=" + i*j + "\n"); | ~~~~~~~~~~~ ^ | | | | ...
s386553776
p00000
C
include<stdio.h> int main(void){ for(a=1;a<10;a++){ for(b=1;b<10;b++){ printf("%dx%d\n",a,b); } } return 0; }
main.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token 1 | include<stdio.h> | ^
s794547346
p00000
C
#include<stdio.h> int main(){ for(i=0;i<10;i++;){ for(j=0;j<10;j++;){ y=i*j; printf(i "x" j "=" y); } } return 0; }
main.c: In function 'main': main.c:5:5: error: 'i' undeclared (first use in this function) 5 | for(i=0;i<10;i++;){ | ^ main.c:5:5: note: each undeclared identifier is reported only once for each function it appears in main.c:5:17: error: expected ')' before ';' token 5 | for(i=0;i<10;i++;){ | ...
s809955676
p00000
C
#include<stdio.h> int main(){ for(i = 1; i <= 9; i++){ for(j = 1; j <= 9; j++){ printf("%d x %d = %d\n", i, j, i*j) } } return 0; }
main.c: In function 'main': main.c:5:7: error: 'i' undeclared (first use in this function) 5 | for(i = 1; i <= 9; i++){ | ^ main.c:5:7: note: each undeclared identifier is reported only once for each function it appears in main.c:6:9: error: 'j' undeclared (first use in this function) 6 | for(...
s714461712
p00000
C
#include<stdio.h> int main(){ for(i = 1; i <= 9; i++){ for(j = 1; j <= 9; j++){ printf("%i x %j = %i*j", i, j, i*j) } } return 0; }
main.c: In function 'main': main.c:5:7: error: 'i' undeclared (first use in this function) 5 | for(i = 1; i <= 9; i++){ | ^ main.c:5:7: note: each undeclared identifier is reported only once for each function it appears in main.c:6:9: error: 'j' undeclared (first use in this function) 6 | for(...
s247460698
p00000
C
#include<stdio.h> int main(){ for(i = 1; i <= 9; i++){ for(j = 1; j <= 9; j++){ printf("%i x %j = %i*j", i, j, i*j) } } return 0; }
main.c: In function 'main': main.c:5:7: error: 'i' undeclared (first use in this function) 5 | for(i = 1; i <= 9; i++){ | ^ main.c:5:7: note: each undeclared identifier is reported only once for each function it appears in main.c:6:9: error: 'j' undeclared (first use in this function) 6 | for(...
s276511830
p00000
C
#include<stdio.h> int main(){ for(i=0;i<10;i++;){ for(j=0;j<10;j++;){ y=i*j; printf(i "x" j "=" y \n); } } return 0; }
main.c: In function 'main': main.c:5:5: error: 'i' undeclared (first use in this function) 5 | for(i=0;i<10;i++;){ | ^ main.c:5:5: note: each undeclared identifier is reported only once for each function it appears in main.c:5:17: error: expected ')' before ';' token 5 | for(i=0;i<10;i++;){ | ...
s207561300
p00000
C
#include<stdio.h> int main(){ for(i=0;i<10;i++;){ for(j=0;j<10;j++;){ y=i*j; printf(i "x" j "=" y \n); } } return 0; }
main.c: In function 'main': main.c:5:5: error: 'i' undeclared (first use in this function) 5 | for(i=0;i<10;i++;){ | ^ main.c:5:5: note: each undeclared identifier is reported only once for each function it appears in main.c:5:17: error: expected ')' before ';' token 5 | for(i=0;i<10;i++;){ | ...
s944562902
p00000
C
#include<stdio.h> int main(){ int i; int j; int y; for(i=0;i<10;i++;){ for(j=0;j<10;j++;){ y=i*j; printf(i "x" j "=" y \n); } } return 0; }
main.c: In function 'main': main.c:7:17: error: expected ')' before ';' token 7 | for(i=0;i<10;i++;){ | ~ ^ | ) main.c:9:17: error: expected ')' before ';' token 9 | for(j=0;j<10;j++;){ | ~ ^ | ) main.c:13:9: error: expected ')'...
s265842780
p00000
C
#include<stdio.h> int main(){ for(i = 1; i <= 9; i++){ for(j = 1; j <= 9; j++){ printf("%i x %j = %i*j", i, j, i*j) } } return 0; }
main.c: In function 'main': main.c:5:7: error: 'i' undeclared (first use in this function) 5 | for(i = 1; i <= 9; i++){ | ^ main.c:5:7: note: each undeclared identifier is reported only once for each function it appears in main.c:6:9: error: 'j' undeclared (first use in this function) 6 | for(...
s764307978
p00000
C
#include<stdio.h> int main(){ for(i = 1; i <= 9; i++){ for(j = 1; j <= 9; j++){ printf(i x j "=" i*j); } } return 0; }
main.c: In function 'main': main.c:4:7: error: 'i' undeclared (first use in this function) 4 | for(i = 1; i <= 9; i++){ | ^ main.c:4:7: note: each undeclared identifier is reported only once for each function it appears in main.c:5:9: error: 'j' undeclared (first use in this function) 5 | for(...
s021187294
p00000
C
#include<stdio.h> int main(){ for(i = 1; i <= 9; i++){ for(j = 1; j <= 9; j++){ printf(i "x" j "=" i*j); } } return 0; }
main.c: In function 'main': main.c:4:7: error: 'i' undeclared (first use in this function) 4 | for(i = 1; i <= 9; i++){ | ^ main.c:4:7: note: each undeclared identifier is reported only once for each function it appears in main.c:5:9: error: 'j' undeclared (first use in this function) 5 | for(...
s872846253
p00000
C
#include<stdio.h> int main(){ int i; int j; int y=0; for(i=0;i<10;i++;){ for(j=0;j<10;j++;){ y=i*j; printf(i "x" j "=" y \n); } } return 0; }
main.c: In function 'main': main.c:7:17: error: expected ')' before ';' token 7 | for(i=0;i<10;i++;){ | ~ ^ | ) main.c:9:17: error: expected ')' before ';' token 9 | for(j=0;j<10;j++;){ | ~ ^ | ) main.c:13:9: error: expected ')'...
s070635978
p00000
C
#include<stdio.h> int main(){ for(i = 1; i <= 9; i++){ for(j = 1; j <= 9; j++){ k = i * j; printf(i "x" j "=" k){ } } } return 0; }
main.c: In function 'main': main.c:5:7: error: 'i' undeclared (first use in this function) 5 | for(i = 1; i <= 9; i++){ | ^ main.c:5:7: note: each undeclared identifier is reported only once for each function it appears in main.c:6:9: error: 'j' undeclared (first use in this function) 6 | for(...
s947196201
p00000
C
#include<stdio.h> int main(){ for(i = 1; i <= 9; i++){ for(j = 1; j <= 9; j++){ int k = 0; k = i * j; printf(i "x" j "=" k){ } } } return 0; }
main.c: In function 'main': main.c:6:7: error: 'i' undeclared (first use in this function) 6 | for(i = 1; i <= 9; i++){ | ^ main.c:6:7: note: each undeclared identifier is reported only once for each function it appears in main.c:7:9: error: 'j' undeclared (first use in this function) 7 | for(...
s123086118
p00000
C
include<stdio.h> int main(){ for(a=1;a<10;a++){ for(b=1;b<10;b++){ printf("%dx%d\n",a,b); } } return 0; }
main.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token 1 | include<stdio.h> | ^
s362268062
p00000
C
include<stdio.h> int main(){ for(int a=1;a<10;a++){ for(int b=1;b<10;b++){ printf("%dx%d\n",a,b); } } return 0; }
main.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token 1 | include<stdio.h> | ^
s343754132
p00000
C
#include<stdio.h> int main(void){ int i; int j; int y = 0; for(i=0;i<=9;i++;){ for(j=0;j<=9;j++;){ printf(i"x"j"= %d"); } printf("\n"); } return 0; }
main.c: In function 'main': main.c:7:17: error: expected ')' before ';' token 7 | for(i=0;i<=9;i++;){ | ~ ^ | ) main.c:9:17: error: expected ')' before ';' token 9 | for(j=0;j<=9;j++;){ | ~ ^ | ) main.c:11:9: error: expected ')'...
s005792573
p00000
C
include<stdio.h> int main(){ int a,b; for(a=1;a<10;a++){ for(b=1;b<10;b++){ printf("%dx%d\n",a,b); } } return 0; }
main.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token 1 | include<stdio.h> | ^
s628467980
p00000
C
#include<stdio.h> int main(){ int i,j,k; for(i = 1; i <= 9; i++){ for(j = 1; j <= 9; j++){ k = i * j; printf(i "x" j "=" k){ } } } return 0; }
main.c: In function 'main': main.c:9:14: error: expected ')' before string constant 9 | printf(i "x" j "=" k){ | ~ ^~~~ | ) main.c:9:13: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion] 9 | printf(i "x" j "=" k){ ...
s155685266
p00000
C
#include<stdio.h> int main(void){ int i,j; int y; for(i=0;i<=9;i++;){ for(j=0;j<=9;j++;){ y = 0; y = i*j; printf(i"x"j "=" y); } printf("\n"); } return 0; }
main.c: In function 'main': main.c:6:17: error: expected ')' before ';' token 6 | for(i=0;i<=9;i++;){ | ~ ^ | ) main.c:8:17: error: expected ')' before ';' token 8 | for(j=0;j<=9;j++;){ | ~ ^ | ) main.c:11:11: error: expected ')...
s963221609
p00000
C
#include<stdio.h> int main(void){ int i,j; int y; for(i=0;i<=9;i++){ for(j=0;j<=9;j++){ y = 0; y = i*j; printf(i"x"j "=" y); } printf("\n"); } return 0; }
main.c: In function 'main': main.c:11:11: error: expected ')' before string constant 11 | printf(i"x"j "=" y); | ~ ^~~ | ) main.c:11:10: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion] 11 | printf(i"x"j "=" y); | ^...
s962119010
p00000
C
#include<stdio.h> int main(){ int i,j,k; for(i = 1; i <= 9; i++){ for(j = 1; j <= 9; j++){ k = i * j; printf(%dx%d=%d\n",i,j,k){ } } } return 0; }
main.c: In function 'main': main.c:9:13: error: expected expression before '%' token 9 | printf(%dx%d=%d\n",i,j,k){ | ^ main.c:9:21: error: stray '\' in program 9 | printf(%dx%d=%d\n",i,j,k){ | ^ main.c:9:23: warning: missing terminating " character 9 | ...
s479961758
p00000
C
#include<stdio.h> int main(){ int i,j,k; for(i = 1; i <= 9; i++){ for(j = 1; j <= 9; j++){ k = i * j; printf(i "x" j "=" k){ } } } return 0; }
main.c: In function 'main': main.c:9:14: error: expected ')' before string constant 9 | printf(i "x" j "=" k){ | ~ ^~~~ | ) main.c:9:13: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion] 9 | printf(i "x" j "=" k){ ...
s459519309
p00000
C
#include<stdio.h> int main(void){ int i,j; int y; for(i=1;i<=9;i++){ for(j=1;j<=9;j++){ y = 0; y = i*j; printf(i"x"j "=" y); } printf("\n"); } return 0; }
main.c: In function 'main': main.c:11:11: error: expected ')' before string constant 11 | printf(i"x"j "=" y); | ~ ^~~ | ) main.c:11:10: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion] 11 | printf(i"x"j "=" y); | ^...
s772205810
p00000
C
#include<stdio.h> int main(){ int i,j,k; for(i = 1; i <= 9; i++){ for(j = 1; j <= 9; j++){ k = i * j; printf(i "x" j "=" k); } } return 0; }
main.c: In function 'main': main.c:9:14: error: expected ')' before string constant 9 | printf(i "x" j "=" k); | ~ ^~~~ | ) main.c:9:13: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion] 9 | printf(i "x" j "=" k); ...
s745445059
p00000
C
#include<stdio.h> int main(){ int i,j,k; for(i = 1; i <= 9; i++){ for(j = 1; j <= 9; j++){ k = i * j; printf(i "x" j "=" k); } } return 0; }
main.c: In function 'main': main.c:8:14: error: expected ')' before string constant 8 | printf(i "x" j "=" k); | ~ ^~~~ | ) main.c:8:13: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion] 8 | printf(i "x" j "=" k); ...
s838413482
p00000
C
#include<stdio.h> int main(){ int i,j,k; for(i = 1; i <= 9; i++){ for(j = 1; j <= 9; j++){ k = i * j; printf(i "x" j "=" k); } } return 0; }
main.c: In function 'main': main.c:8:14: error: expected ')' before string constant 8 | printf(i "x" j "=" k); | ~ ^~~~ | ) main.c:8:13: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion] 8 | printf(i "x" j "=" k); ...
s285868052
p00000
C
#include<stdio.h> int main(){ int i,j; for(i = 1; i <= 9; i++){ for(j = 1; j <= 9; j++){ printf(i "x" j "=" i * j); } } return 0; }
main.c: In function 'main': main.c:7:14: error: expected ')' before string constant 7 | printf(i "x" j "=" i * j); | ~ ^~~~ | ) main.c:7:13: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion] 7 | printf(i "x" j "=" i *...
s185459593
p00000
C
#include<stdio.h> int main(void){ int i,j; for(i=1;i<=9;i++){ for(j=1;j<=9;j++){ printf(i"x"j "= %d",d*j); } printf("\n"); } return 0; }
main.c: In function 'main': main.c:8:10: error: expected ')' before string constant 8 | printf(i"x"j "= %d",d*j); | ~ ^~~ | ) main.c:8:9: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion] 8 | printf(i"x"j "= %d",d*j); | ...
s035572838
p00000
C
#include<stdio.h> int main(void){ int i,j; for(i=1;i<=9;i++){ for(j=1;j<=9;j++){ printf(" %d x %d = %d", i , j ,d*j); } printf("\n"); } return 0; }
main.c: In function 'main': main.c:8:33: error: 'd' undeclared (first use in this function) 8 | printf(" %d x %d = %d", i , j ,d*j); | ^ main.c:8:33: note: each undeclared identifier is reported only once for each function it appears in
s697257956
p00000
C
#include<stdio.h> int main() { int i,j; int y; for(i=1;i<=9;i++){ for(j=1;j<=9;j++){ y = 0; y = i * j; printf(" %d x %d = %d", i , j ,y); printf("\n") } } return 0; }
main.c: In function 'main': main.c:12:14: error: expected ';' before '}' token 12 | printf("\n") | ^ | ; 13 | } | ~
s396126097
p00000
C
#include<stdio.h> int main(){ int a,b,i; for(a=1,a<9,a++){ for(b=2,b<9,b++){ i=a*b; printf("i"); }} return 0; }
main.c: In function 'main': main.c:4:16: error: expected ';' before ')' token 4 | for(a=1,a<9,a++){ | ^ | ; main.c:4:16: error: expected expression before ')' token main.c:5:16: error: expected ';' before ')' token 5 | for(b=2,b<9,b++){ | ^ | ...
s582830544
p00000
C
#include<stdio.h> int main(void){ int i.j; for(i=1; i<=9; i++){ for(j=1; j<=9; j++){ printf("%d x %d = %d",i,j,i*j); } } }
main.c: In function 'main': main.c:3:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token 3 | int i.j; | ^ main.c:3:11: error: expected expression before '.' token main.c:4:10: error: 'i' undeclared (first use in this function) 4 | for(i=1; i<=9; i++){ | ...
s343480293
p00000
C
#include <stdio.h> int main(void){ int num=0; for(int i=1;i<10;i++){ num=i*i; } printf(%d+"x"+%d+"="+%d+"\n", &i, &i, &num); }
main.c: In function 'main': main.c:7:10: error: expected expression before '%' token 7 | printf(%d+"x"+%d+"="+%d+"\n", &i, &i, &num); | ^
s121727035
p00000
C
include<stdio.h> main() { int num; int i,j; for(i=1;i<10;i++){ for(j=1;j<10;j++){ num=i*j; printf("%dx%d=%d\n",i,j,num); } } }
main.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token 1 | include<stdio.h> | ^
s059965895
p00000
C
include<stdio.h> main() { int num; int i,j; for(i=1;i<10;i++){ for(j=1;j<10;j++){ num=i*j; printf("%dx%d=%d\n",i,j,num); } } }
main.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token 1 | include<stdio.h> | ^
s133392482
p00000
C
include<stdio.h> main() { int num; int i,j; for(i=1;i<10;i++){ for(j=1;j<10;j++){ num=i*j; printf("%dx%d=%d\n",i,j,num); } } return 0; }
main.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token 1 | include<stdio.h> | ^
s934558344
p00000
C
include<stdio.h> int main() { int num; int i,j; for(i=1;i<10;i++){ for(j=1;j<10;j++){ num=i*j; printf("%dx%d=%d\n",i,j,num); } } return 0; }
main.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token 1 | include<stdio.h> | ^
s172911864
p00000
C
#include<stdio.h> int main() { int c=0; for(int i2=1;i2<=9;i2++) { for(int i=1;i<=9;i++) { c=i*i2; printf("\n",i,"*",i2,"=",c) } } }
main.c: In function 'main': main.c:12:28: error: expected ';' before '}' token 12 | printf("\n",i,"*",i2,"=",c) | ^ | ; 13 | 14 | } | ~
s259562569
p00000
C
#include<stdio.h> int main(){ for(int i=0;i<9;i++){ for(int j=0;j<9;j++){ printf('%d×%d = %d',i,j,i*j); } } return 0; }
main.c: In function 'main': main.c:7:8: warning: multi-character literal with 11 characters exceeds 'int' size of 4 bytes 7 | printf('%d×%d = %d',i,j,i*j); | ^~~~~~~~~~~~ main.c:7:8: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion] 7 | printf('%d×%d...
s511830120
p00000
C
#include<stdio.h> int main(){ for(i = 1; i <= 9; i++) { for(j = 1; j <= 9; j++) { printf("%d×%d = %d",i,j,i*j); } } return 0; }
main.c: In function 'main': main.c:5:5: error: 'i' undeclared (first use in this function) 5 | for(i = 1; i <= 9; i++) { | ^ main.c:5:5: note: each undeclared identifier is reported only once for each function it appears in main.c:7:8: error: 'j' undeclared (first use in this function) 7 | for(j = ...
s500493913
p00000
C
#include<stdio.h> #include<math.h> int main(){ 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: In function 'main': main.c:6:5: error: 'i' undeclared (first use in this function) 6 | for(i = 1; i <= 9; i++) { | ^ main.c:6:5: note: each undeclared identifier is reported only once for each function it appears in main.c:8:8: error: 'j' undeclared (first use in this function); did you mean 'jn'?...
s606631011
p00000
C
j;main(i){for(;j-9?++j:j=i++<9;printf("%dx%d=%d\n",i,j,i*j));}
main.c:1:1: warning: data definition has no type or storage class 1 | j;main(i){for(;j-9?++j:j=i++<9;printf("%dx%d=%d\n",i,j,i*j));} | ^ main.c:1:1: error: type defaults to 'int' in declaration of 'j' [-Wimplicit-int] main.c:1:3: error: return type defaults to 'int' [-Wimplicit-int] 1 | j;main(i){for(;j-9...
s838644188
p00000
C
j;main(i){for(;j<9?++j:j=i++<9;printf("%dx%d=%d\n",i,j,i*j));}
main.c:1:1: warning: data definition has no type or storage class 1 | j;main(i){for(;j<9?++j:j=i++<9;printf("%dx%d=%d\n",i,j,i*j));} | ^ main.c:1:1: error: type defaults to 'int' in declaration of 'j' [-Wimplicit-int] main.c:1:3: error: return type defaults to 'int' [-Wimplicit-int] 1 | j;main(i){for(;j<9...