submission_id
stringlengths 10
10
| problem_id
stringlengths 6
6
| language
stringclasses 3
values | code
stringlengths 1
522k
| compiler_output
stringlengths 43
10.2k
|
|---|---|---|---|---|
s011860570
|
p00000
|
C
|
j;main(i){for(;j<9?++j:j=9>i++;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=9>i++;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?++j:j=9>i++;printf("%dx%d=%d\n",i,j,i*j));}
| ^~~~
main.c: In function 'main':
main.c:1:3: error: type of 'i' defaults to 'int' [-Wimplicit-int]
main.c:1:25: error: lvalue required as left operand of assignment
1 | j;main(i){for(;j<9?++j:j=9>i++;printf("%dx%d=%d\n",i,j,i*j));}
| ^
main.c:1:32: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
1 | j;main(i){for(;j<9?++j:j=9>i++;printf("%dx%d=%d\n",i,j,i*j));}
| ^~~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'printf'
+++ |+#include <stdio.h>
1 | j;main(i){for(;j<9?++j:j=9>i++;printf("%dx%d=%d\n",i,j,i*j));}
main.c:1:32: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
1 | j;main(i){for(;j<9?++j:j=9>i++;printf("%dx%d=%d\n",i,j,i*j));}
| ^~~~~~
main.c:1:32: note: include '<stdio.h>' or provide a declaration of 'printf'
|
s290231968
|
p00000
|
C
|
#include<stdio.h>
int main(){
for(a = 1; a <= 9; a++)
{
for(b = 1; b <= 9; b++)
{
printf("%dx%d=%d\n", a, b, c);
}
}
return 0;
}
|
main.c: In function 'main':
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 each function it appears in
main.c:6:13: error: 'b' undeclared (first use in this function)
6 | for(b = 1; b <= 9; b++)
| ^
main.c:8:40: error: 'c' undeclared (first use in this function)
8 | printf("%dx%d=%d\n", a, b, c);
| ^
|
s312947871
|
p00000
|
C
|
#include<stdio.h>
int main(){
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: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 each function it appears in
main.c:6:13: error: 'b' undeclared (first use in this function)
6 | for(b = 1; b <= 9; b++)
| ^
|
s699981440
|
p00000
|
C
|
#include<stdio.h>
int main(){
for(i=0;i<9;i++){
for(j=0;j<9;j++){
printf("%dx%d=%d",i,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=0;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(j=0;j<9;j++){
| ^
main.c:9:1: error: expected declaration or statement at end of input
9 | }
| ^
|
s041694867
|
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,j,i*j);
}
return 0;
}
|
main.c: In function 'main':
main.c:10:1: error: expected declaration or statement at end of input
10 | }
| ^
|
s996505842
|
p00000
|
C
|
#incldue<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:2: error: invalid preprocessing directive #incldue; did you mean #include?
1 | #incldue<stdio.h>
| ^~~~~~~
| include
main.c: In function 'main':
main.c:5:18: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
5 | for(j=1;j<10;j++)printf("%dx%d=%d\n",i,j,i*j);
| ^~~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'printf'
+++ |+#include <stdio.h>
1 | #incldue<stdio.h>
main.c:5:18: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
5 | for(j=1;j<10;j++)printf("%dx%d=%d\n",i,j,i*j);
| ^~~~~~
main.c:5:18: note: include '<stdio.h>' or provide a declaration of 'printf'
|
s163588590
|
p00000
|
C
|
#include<stdio.h>
int main(){
int i,j;
for(i=1;i<10;i++){
for(j=1;j<10;j++){
printf("%d * %d = %d"i,j,i*j);
}
}
return 0;
}
|
main.c: In function 'main':
main.c:10:22: error: expected ')' before 'i'
10 | printf("%d * %d = %d"i,j,i*j);
| ~ ^
| )
|
s144449106
|
p00000
|
C
|
#include<stdio.h>
int main(void)
{
int i,l,kai;
i=1;
while(i<=9)
{
l=1;
{
while(l<=9)
{
kai=i*l;
printf("%dx%d=%d",i,l,kai);
l++;
}
i++;
}
return 0;
}
|
main.c: In function 'main':
main.c:21:1: error: expected declaration or statement at end of input
21 | }
| ^
|
s775048156
|
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: In function 'main':
main.c:9:58: error: expected ';' before '}' token
9 | printf("%dx%d=%d\n", i, j, i * j)
| ^
| ;
10 | }
| ~
|
s397708709
|
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"/n);
}
}
return 0;
}
|
main.c: In function 'main':
main.c:6:14: error: 'n' undeclared (first use in this function)
6 | printf("i*j"/n);
| ^
main.c:6:14: note: each undeclared identifier is reported only once for each function it appears in
|
s574338981
|
p00000
|
C
|
#include<stdio.h>
int main(void){
int i, j;
for (i = 1; i<10; i++){
for (j = 1; j<10; j++){
printf("%dx%d=%d\n",i,j, i*j);
}
}
scanf_s("%d", &i);
return 0;
}
|
main.c: In function 'main':
main.c:9:9: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
9 | scanf_s("%d", &i);
| ^~~~~~~
| scanf
|
s060109871
|
p00000
|
C
|
#include<stdio.h>
int main(){
int k=0;
for(i=0;i<10;i++){
for(j=0;j<10;j++){
k=i*j;
printf(i + "x" + j + "=" + k);
}
}
return 0;
}
|
main.c: In function 'main':
main.c:4:5: error: 'i' undeclared (first use in this function)
4 | for(i=0;i<10;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=0;j<10;j++){
| ^
|
s827342216
|
p00000
|
C
|
#include<stdio.h>
int main(){
int k=0;
for(i=0;i<10;i++){
for(j=0;j<10;j++){
k=i*j;
printf("ixj=k"/n);
}
}
return 0;
}
|
main.c: In function 'main':
main.c:4:5: error: 'i' undeclared (first use in this function)
4 | for(i=0;i<10;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=0;j<10;j++){
| ^
main.c:7:16: error: 'n' undeclared (first use in this function)
7 | printf("ixj=k"/n);
| ^
|
s106918012
|
p00000
|
C
|
#include<stdio.h>
int main(){
int k,i,j;
for(i=0;i<10;i++){
for(j=0;j<10;j++){
k=i*j;
printf("ixj=k"/n);
}
}
return 0;
}
|
main.c: In function 'main':
main.c:7:16: error: 'n' undeclared (first use in this function)
7 | printf("ixj=k"/n);
| ^
main.c:7:16: note: each undeclared identifier is reported only once for each function it appears in
|
s398745148
|
p00000
|
C
|
#include<stdio.h>
int main(){
int k,i,j;
for(i=0;i<10;i++){
for(j=0;j<10;j++){
k=i*j;
printf("ixj=k"\n);
}
}
return 0;
}
|
main.c: In function 'main':
main.c:7:15: error: stray '\' in program
7 | printf("ixj=k"\n);
| ^
main.c:7:15: error: expected ')' before 'n'
7 | printf("ixj=k"\n);
| ~ ^~
| )
|
s266040203
|
p00000
|
C
|
#include<stdio.h>
int main(){
int k,i,j;
for(i=0;i<10;i++){
for(j=0;j<10;j++){
k=i*j;
printf(ixj="k");
}
}
return 0;
}
|
main.c: In function 'main':
main.c:7:8: error: 'ixj' undeclared (first use in this function)
7 | printf(ixj="k");
| ^~~
main.c:7:8: note: each undeclared identifier is reported only once for each function it appears in
|
s395456903
|
p00000
|
C
|
#include<stdio.h>
int main(){
int k,i,j;
for(i=0;i<10;i++){
for(j=0;j<10;j++){
k=i*j;
printf("ixj=k\n",%d,%d,%d);
}
}
return 0;
}
|
main.c: In function 'main':
main.c:7:18: error: expected expression before '%' token
7 | printf("ixj=k\n",%d,%d,%d);
| ^
|
s825289073
|
p00000
|
C
|
#include<stdio.h>
int main(){
int i,j,k=0;
for(i=0;i<10;i++){
for(j=0;j<10;j++){
k=i*j;
print("%dx%d=%d\n",i,j,k);
}
}
return 0;
}
|
main.c: In function 'main':
main.c:8:1: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration]
8 | print("%dx%d=%d\n",i,j,k);
| ^~~~~
| printf
|
s695432479
|
p00000
|
C
|
#include <stdio.h>
void Main(){
for(int j=1;j<=9;j++){
for(int i=1;i<=9;i++){
printf("+%d+x+%d+=+&d*i\n",j,i,j);
}
/*
class Main{
public static void main(String[] a){
for(int j=1;j<=9;j++){
for(int i=1;i<=9;i++){
System.out.println(""+j+"x"+i+"="+j*i);
}
}
}
}
*/
|
main.c: In function 'Main':
main.c:6:1: error: expected declaration or statement at end of input
6 | }
| ^
main.c:6:1: error: expected declaration or statement at end of input
|
s265760100
|
p00000
|
C
|
#include <stdio.h>
int Main(){
int i,j
for(j=1;j<=9;j++){
for(i=1;i<=9;i++){
printf("+%d+x+%d+=+&d*i\n",j,i,j);
return 0;
}
|
main.c: In function 'Main':
main.c:4:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'for'
4 | for(j=1;j<=9;j++){
| ^~~
main.c:4:9: error: 'j' undeclared (first use in this function)
4 | for(j=1;j<=9;j++){
| ^
main.c:4:9: note: each undeclared identifier is reported only once for each function it appears in
main.c:4:17: error: expected ';' before ')' token
4 | for(j=1;j<=9;j++){
| ^
| ;
main.c:4:17: error: expected statement before ')' token
main.c:9:1: error: expected declaration or statement at end of input
9 | }
| ^
main.c:9:1: error: expected declaration or statement at end of input
|
s620454324
|
p00000
|
C
|
#include <stdio.h>
int Main(){
int i,j
for(j=1;j<=9;j++){
for(i=1;i<=9;i++){
printf("+%d+x+%d+=+&d*i\n",j,i,j);
}}
return 0;
}
|
main.c: In function 'Main':
main.c:4:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'for'
4 | for(j=1;j<=9;j++){
| ^~~
main.c:4:9: error: 'j' undeclared (first use in this function)
4 | for(j=1;j<=9;j++){
| ^
main.c:4:9: note: each undeclared identifier is reported only once for each function it appears in
main.c:4:17: error: expected ';' before ')' token
4 | for(j=1;j<=9;j++){
| ^
| ;
main.c:4:17: error: expected statement before ')' token
|
s456774106
|
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*%d=%d\n", i,j,i*j);
return 0;
}
|
main.c: In function 'main':
main.c:9:9: error: expected declaration or statement at end of input
9 | }
| ^
main.c:9:9: error: expected declaration or statement at end of input
|
s985900999
|
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: In function 'main':
main.c:8:9: error: expected declaration or statement at end of input
8 | }
| ^
main.c:8:9: error: expected declaration or statement at end of input
|
s127804890
|
p00000
|
C
|
#include <stdio.h>
int main(){
int answer;
for(int i=1; i<=9; i++){
for(int a=1; a<=9; a++){
answer = i*a:
printf("%dx%d=%d\n", i,a,answer);
}
}
return 0;
}
|
main.c: In function 'main':
main.c:7:19: error: expected ';' before ':' token
7 | answer = i*a:
| ^
| ;
|
s521656780
|
p00000
|
C
|
#include<stdio.h>
int main(void)
{
printf(
return 0;
}
|
main.c: In function 'main':
main.c:7:8: error: expected expression before 'return'
7 | return 0;
| ^~~~~~
main.c:7:17: error: expected ';' before '}' token
7 | return 0;
| ^
| ;
8 | }
| ~
|
s660156755
|
p00000
|
C
|
#include<stdio.h>
#include<conio.h>
int main()
{
long long int i,j,k,n;
for(i=1;i<=9;i++){
for(j=1;j<=9;j++){
printf("%lldx%lld=%lld\n",i,j,i*j);
}
}
getch();
return 0;
}
|
main.c:2:9: fatal error: conio.h: No such file or directory
2 | #include<conio.h>
| ^~~~~~~~~
compilation terminated.
|
s580523533
|
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:3:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
3 | int i,j:
| ^
main.c:4:17: error: expected ';' before ')' token
4 | for(i=1;i<10;i++){
| ^
| ;
main.c:4:17: error: expected statement before ')' token
main.c:5:5: error: 'j' undeclared (first use in this function)
5 | for(j=1;j<10;j++)printf("%dx%d=%d\n",i,j,i*j);
| ^
main.c:5:5: note: each undeclared identifier is reported only once for each function it appears in
|
s987827400
|
p00000
|
C
|
#include<stdio.h>
int main(){
inta,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: In function 'main':
main.c:3:1: error: 'inta' undeclared (first use in this function); did you mean 'int'?
3 | inta,b
| ^~~~
| int
main.c:3:1: note: each undeclared identifier is reported only once for each function it appears in
main.c:3:6: error: 'b' undeclared (first use in this function)
3 | inta,b
| ^
main.c:3:7: error: expected ';' before 'for'
3 | inta,b
| ^
| ;
4 | for(a = 1;a<10;a++){
| ~~~
|
s372997120
|
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=%d\n",a,b,a*b);
}
}
return 0;
}
|
main.c: In function 'main':
main.c:4:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'for'
4 | for(a = 1;a<10;a++){
| ^~~
main.c:4:19: error: expected ';' before ')' token
4 | for(a = 1;a<10;a++){
| ^
| ;
main.c:4:19: error: expected statement before ')' token
main.c:5:5: error: 'b' undeclared (first use in this function)
5 | for(b = 1;b<10;b++){
| ^
main.c:5:5: note: each undeclared identifier is reported only once for each function it appears in
|
s887673376
|
p00000
|
C
|
int i, j, ans;
ans = 0;
for(i = 1; i <= 9; i++){
for(j = 1; j <= 9; j++){
ans = i * j;
printf("%d??%d=%d\n", i, j, ans);
}
}
|
main.c:2:9: warning: data definition has no type or storage class
2 | ans = 0;
| ^~~
main.c:2:9: error: type defaults to 'int' in declaration of 'ans' [-Wimplicit-int]
main.c:3:9: error: expected identifier or '(' before 'for'
3 | for(i = 1; i <= 9; i++){
| ^~~
main.c:3:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<=' token
3 | for(i = 1; i <= 9; i++){
| ^~
main.c:3:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before '++' token
3 | for(i = 1; i <= 9; i++){
| ^~
|
s933811097
|
p00000
|
C
|
#include <stdio.h>
i;main(m){for(;m<10;m++){for(;i<10;printf("%dx%d=%d\n",m,++i,m*i))}
return 0;
}
|
main.c:3:1: warning: data definition has no type or storage class
3 | i;main(m){for(;m<10;m++){for(;i<10;printf("%dx%d=%d\n",m,++i,m*i))}
| ^
main.c:3:1: error: type defaults to 'int' in declaration of 'i' [-Wimplicit-int]
main.c:3:3: error: return type defaults to 'int' [-Wimplicit-int]
3 | i;main(m){for(;m<10;m++){for(;i<10;printf("%dx%d=%d\n",m,++i,m*i))}
| ^~~~
main.c: In function 'main':
main.c:3:3: error: type of 'm' defaults to 'int' [-Wimplicit-int]
main.c:3:67: error: expected expression before '}' token
3 | i;main(m){for(;m<10;m++){for(;i<10;printf("%dx%d=%d\n",m,++i,m*i))}
| ^
|
s110447512
|
p00000
|
C
|
int main(){
for(int i = 1; i <= 9; i++){
for(int j = 1; i <= 9; i++){
printf(i*j);
}
}
}
|
main.c: In function 'main':
main.c:4:8: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
4 | printf(i*j);
| ^~~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'printf'
+++ |+#include <stdio.h>
1 | int main(){
main.c:4:8: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
4 | printf(i*j);
| ^~~~~~
main.c:4:8: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:4:16: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
4 | printf(i*j);
| ~^~
| |
| int
main.c:4:16: note: expected 'const char *' but argument is of type 'int'
|
s761362996
|
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:7:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'for'
7 | for(i = 1; i <= 9; i++)
| ^~~
main.c:7:31: error: expected ';' before ')' token
7 | for(i = 1; i <= 9; i++)
| ^
| ;
main.c:7:31: error: expected statement before ')' token
main.c:9:21: error: 'j' undeclared (first use in this function)
9 | for(j = 1; j <= 9; j++)
| ^
main.c:9:21: note: each undeclared identifier is reported only once for each function it appears in
|
s855697757
|
p00000
|
C
|
unsigned char i = 0;
unsigned char j = 0;
for (i = 1; i < 10; i++) {
for (j = 1; j < 10; j++) {
printf("%d x %d = %d\n",i ,j ,i * j);
}
}
|
main.c:5:9: error: expected identifier or '(' before 'for'
5 | for (i = 1; i < 10; i++) {
| ^~~
main.c:5:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
5 | for (i = 1; i < 10; i++) {
| ^
main.c:5:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before '++' token
5 | for (i = 1; i < 10; i++) {
| ^~
|
s630486446
|
p00000
|
C
|
#include<stdio.h>
int main(){
unsigned char i = 0;
unsigned char j = 0;
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:12:1: error: expected declaration or statement at end of input
12 | }
| ^
main.c:12:1: error: expected declaration or statement at end of input
|
s700062465
|
p00000
|
C
|
#include<stdio.h>
int main{
int x,y;
for(x=1;x<=9;x++){
for(y=1;y<=9;y++){
printf("%dx%d=%d",x,y,x*y);
}
}
return 0;
}
|
main.c:2:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
2 | int main{
| ^
|
s449205926
|
p00000
|
C
|
#include<stdio.h>
int main(){
int j,k;
for(j=1;j<=9;j++){
for(k=1;k<=9;k++{
printf("%dx%d=%d\n",&j, &k, j*k);
}
}
return 0;
}
|
main.c: In function 'main':
main.c:6:25: error: expected ')' before '{' token
6 | for(k=1;k<=9;k++{
| ~ ^
| )
main.c:9:5: error: expected expression before '}' token
9 | }
| ^
|
s498812152
|
p00000
|
C
|
#include<stadio.h>
int main(){
int a,b,d,i;
a=1;
b=1;
d=a*b;
for(i=1,i<=9,i++){
printf("%dx%d=%d\n",a,b,d)
b=b+1;
}
return 0;
}
|
main.c:1:9: fatal error: stadio.h: No such file or directory
1 | #include<stadio.h>
| ^~~~~~~~~~
compilation terminated.
|
s153760799
|
p00000
|
C
|
#include<stadio.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:1:9: fatal error: stadio.h: No such file or directory
1 | #include<stadio.h>
| ^~~~~~~~~~
compilation terminated.
|
s366676104
|
p00000
|
C
|
#include<stadio.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:1:9: fatal error: stadio.h: No such file or directory
1 | #include<stadio.h>
| ^~~~~~~~~~
compilation terminated.
|
s160748547
|
p00000
|
C
|
#include<stdio.h>
int main(){
int a = 1;
int b;
for(b=1;b<=9;b++){
printf("%d ?? %d = %d",a,b,a*b);
}
return0
}
|
main.c: In function 'main':
main.c:11:1: error: 'return0' undeclared (first use in this function)
11 | return0
| ^~~~~~~
main.c:11:1: note: each undeclared identifier is reported only once for each function it appears in
main.c:11:8: error: expected ';' before '}' token
11 | return0
| ^
| ;
12 | }
| ~
|
s185749121
|
p00000
|
C
|
#include<stdio.h>
int main()
{
int m,n;
for(n=1;n<=9,n++){
for(n=1;n<=10,m++){
printf("%dX%d=%d",m,n,m*n);
}
}
return 0;
}
|
main.c: In function 'main':
main.c:5:17: error: expected ';' before ')' token
5 | for(n=1;n<=9,n++){
| ^
| ;
main.c:6:22: error: expected ';' before ')' token
6 | for(n=1;n<=10,m++){
| ^
| ;
|
s598836760
|
p00000
|
C
|
#include <stdio.h>
int main(void) {
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:7: error: 'i' undeclared (first use in this function)
4 | for(i = 1;i < 10;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(j = 1;j < 10;j++) {
| ^
|
s023168781
|
p00000
|
C
|
#include<stdio.h>
int main(){
int i ,j;
for(i = 1;i<10;i++){
for(j = 1;j<10;j++){
print("%d*%d=%d",i,j(i*j));
}
}
return 0;
}
|
main.c: In function 'main':
main.c:7:1: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration]
7 | print("%d*%d=%d",i,j(i*j));
| ^~~~~
| printf
main.c:7:20: error: called object 'j' is not a function or function pointer
7 | print("%d*%d=%d",i,j(i*j));
| ^
main.c:4:8: note: declared here
4 | int i ,j;
| ^
|
s468489227
|
p00000
|
C
|
#include<stdio.h>
int main(){
int i ,j;
for(i = 1;i<10;i++){
for(j = 1;j<10;j++){
printf("%d*%d=%d",i,j(i*j));
}
}
return 0;
}
|
main.c: In function 'main':
main.c:7:21: error: called object 'j' is not a function or function pointer
7 | printf("%d*%d=%d",i,j(i*j));
| ^
main.c:4:8: note: declared here
4 | int i ,j;
| ^
|
s221409989
|
p00000
|
C
|
#include <stdio.h>
int main()
{
printf(1x1= )
return 0;
}
|
main.c: In function 'main':
main.c:5:8: error: invalid suffix "x1" on integer constant
5 | printf(1x1= )
| ^~~
main.c:5:13: error: expected expression before ')' token
5 | printf(1x1= )
| ^
|
s225061026
|
p00000
|
C
|
#include<stdio.h>
int main(){
int i = 1;
int j = 1;
for( : 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:8:10: error: expected expression before ':' token
8 | for( : i<10 : i++){
| ^
main.c:8:22: error: expected expression before ')' token
8 | for( : i<10 : i++){
| ^
main.c:9:17: error: expected ';' before ':' token
9 | for( j=1 : j<10 : j++ ){
| ^~
| ;
main.c:9:31: error: expected expression before ')' token
9 | for( j=1 : j<10 : j++ ){
| ^
|
s939434815
|
p00000
|
C
|
#include<stdio.h>
int main(){
int i = 1;
int j = 1;
for( : 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:8:10: error: expected expression before ':' token
8 | for( : i<10 : i++){
| ^
main.c:8:22: error: expected expression before ')' token
8 | for( : i<10 : i++){
| ^
main.c:9:17: error: expected ';' before ':' token
9 | for( j=1 : j<10 : j++ ){
| ^~
| ;
main.c:9:31: error: expected expression before ')' token
9 | for( j=1 : j<10 : j++ ){
| ^
|
s525362707
|
p00000
|
C
|
#include<stdio.h>
int main(void){
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:7:15: error: expected ';' before ':' token
7 | for( i = 1 : i<10 : i++){
| ^~
| ;
main.c:7:28: error: expected expression before ')' token
7 | for( i = 1 : i<10 : i++){
| ^
main.c:8:17: error: expected ';' before ':' token
8 | for( j=1 : j<10 : j++ ){
| ^~
| ;
main.c:8:31: error: expected expression before ')' token
8 | for( j=1 : j<10 : j++ ){
| ^
|
s909409312
|
p00000
|
C
|
#include<stdio.h>
int main(void){
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:7:12: error: expected ';' before ':' token
7 | for(i=1:i<10:i++){
| ^
| ;
main.c:7:21: error: expected expression before ')' token
7 | for(i=1:i<10:i++){
| ^
main.c:8:16: error: expected ';' before ':' token
8 | for(j=1:j<10:j++){
| ^
| ;
main.c:8:25: error: expected expression before ')' token
8 | for(j=1:j<10:j++){
| ^
|
s693963402
|
p00000
|
C
|
#include<stdio.h>
int main(void){
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:5:12: error: expected ';' before ':' token
5 | for(i=1:i<10:i++){
| ^
| ;
main.c:5:21: error: expected expression before ')' token
5 | for(i=1:i<10:i++){
| ^
main.c:6:16: error: expected ';' before ':' token
6 | for(j=1:j<10:j++){
| ^
| ;
main.c:6:25: error: expected expression before ')' token
6 | for(j=1:j<10:j++){
| ^
|
s179537391
|
p00000
|
C
|
#include<stdio.h>
int main(){
??????for(int i = 0;i<9;i++){
printf("%d\n",i);
for(int j = 0;j<9;J++){
int sum = i*j;
printf("%dX%d=%d\n",i,j,sum);
}
}
return 0;
}
|
main.c: In function 'main':
main.c:4:1: error: expected expression before '?' token
4 | ??????for(int i = 0;i<9;i++){
| ^
|
s198186023
|
p00000
|
C
|
#include<stdio.h>
int main(void){
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:12: error: expected ';' before ':' token
4 | for(i=1:i<10:i++){
| ^
| ;
main.c:4:21: error: expected expression before ')' token
4 | for(i=1:i<10:i++){
| ^
main.c:5:16: error: expected ';' before ':' token
5 | for(j=1:j<10:j++){
| ^
| ;
main.c:5:25: error: expected expression before ')' token
5 | for(j=1:j<10:j++){
| ^
|
s671730065
|
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:12: error: expected ';' before ':' token
4 | for(i=1:i<10:i++){
| ^
| ;
main.c:4:21: error: expected expression before ')' token
4 | for(i=1:i<10:i++){
| ^
main.c:5:16: error: expected ';' before ':' token
5 | for(j=1:j<10:j++){
| ^
| ;
main.c:5:25: error: expected expression before ')' token
5 | for(j=1:j<10:j++){
| ^
|
s608205255
|
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:5:12: error: expected ';' before ':' token
5 | for(i=1:i<10:i++){
| ^
| ;
main.c:5:21: error: expected expression before ')' token
5 | for(i=1:i<10:i++){
| ^
main.c:6:16: error: expected ';' before ':' token
6 | for(j=1:j<10:j++){
| ^
| ;
main.c:6:25: error: expected expression before ')' token
6 | for(j=1:j<10:j++){
| ^
|
s452255980
|
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:5:12: error: expected ';' before ':' token
5 | for(i=1:i<10:i++){
| ^
| ;
main.c:5:21: error: expected expression before ')' token
5 | for(i=1:i<10:i++){
| ^
main.c:6:16: error: expected ';' before ':' token
6 | for(j=1:j<10:j++){
| ^
| ;
main.c:6:25: error: expected expression before ')' token
6 | for(j=1:j<10:j++){
| ^
|
s904516040
|
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:5:12: error: expected ';' before ':' token
5 | for(i=1:i<10:i++){
| ^
| ;
main.c:5:21: error: expected expression before ')' token
5 | for(i=1:i<10:i++){
| ^
main.c:6:16: error: expected ';' before ':' token
6 | for(j=1:j<10:j++){
| ^
| ;
main.c:6:25: error: expected expression before ')' token
6 | for(j=1:j<10:j++){
| ^
|
s997121591
|
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:5:12: error: expected ';' before ':' token
5 | for(i=1:i<10:i++){
| ^
| ;
main.c:5:21: error: expected expression before ')' token
5 | for(i=1:i<10:i++){
| ^
main.c:6:16: error: expected ';' before ':' token
6 | for(j=1:j<10:j++){
| ^
| ;
main.c:6:25: error: expected expression before ')' token
6 | for(j=1:j<10:j++){
| ^
|
s546967758
|
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:5:8: error: expected ';' before ':' token
5 | for(i=1:i<10:i++){
| ^
| ;
main.c:5:17: error: expected expression before ')' token
5 | for(i=1:i<10:i++){
| ^
main.c:6:8: error: expected ';' before ':' token
6 | for(j=1:j<10:j++){
| ^
| ;
main.c:6:17: error: expected expression before ')' token
6 | for(j=1:j<10:j++){
| ^
|
s562921423
|
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",i,j,i*j);
}
}
return 0;
}
|
main.c: In function 'main':
main.c:6:12: error: expected ';' before ':' token
6 | for(i=1:i<10:i++){
| ^
| ;
main.c:6:21: error: expected expression before ')' token
6 | for(i=1:i<10:i++){
| ^
main.c:7:16: error: expected ';' before ':' token
7 | for(j=1:j<10:j++){
| ^
| ;
main.c:7:25: error: expected expression before ')' token
7 | for(j=1:j<10:j++){
| ^
|
s743110115
|
p00000
|
C
|
#indlude<stdio.h>
int main(){
1*1=1;
1*2=2;
1*3=3;
1*4=4;
1*5=5;
1*6=6;
1*7=7;
1*8=8;
1*9=9;
2*1=1;
2*2=4;
2*3=6;
2*4=8;
2*5=10;
2*6=12;
2*7=14;
2*8=16;
2*9=18;
3*1=3;
3*2=6;
3*3=9;
3*4=12;
3*5=15;
3*6=18;
3*7=21;
3*8=24;
3*9=27;
4*1=4;
4*2=8;
4*3=12;
4*4=16;
4*5=20;
4*6=24;
4*7=28;
4*8=32;
4*9=36;
5*1=5;
5*2=10;
5*3=15;
5*4=20;
5*5=25;
5*6=30;
5*7=35;
5*8=40;
5*9=45;
6*1=6;
6*2=12;
6*3=18;
6*4=24;
6*5=30;
6*6=36;
6*7=42;
6*8=48;
6*9=54;
7*1=7;
7*2=14;
7*3=21;
7*4=28;
7*5=35;
7*6=42;
7*7=49;
7*8=56;
7*9=63;
8*1=8;
8*2=16;
8*3=24;
8*4=32;
8*5=40;
8*6=48;
8*7=56;
8*8=64;
8*9=72;
9*1=9;
9*2=18;
9*3=27;
9*4=36;
9*5=45;
9*6=54;
9*7=63;
9*8=72;
9*9=81;
return 0;
}
|
main.c:1:2: error: invalid preprocessing directive #indlude; did you mean #include?
1 | #indlude<stdio.h>
| ^~~~~~~
| include
main.c: In function 'main':
main.c:4:12: error: lvalue required as left operand of assignment
4 | 1*1=1;
| ^
main.c:5:12: error: lvalue required as left operand of assignment
5 | 1*2=2;
| ^
main.c:6:12: error: lvalue required as left operand of assignment
6 | 1*3=3;
| ^
main.c:7:12: error: lvalue required as left operand of assignment
7 | 1*4=4;
| ^
main.c:8:12: error: lvalue required as left operand of assignment
8 | 1*5=5;
| ^
main.c:9:12: error: lvalue required as left operand of assignment
9 | 1*6=6;
| ^
main.c:10:12: error: lvalue required as left operand of assignment
10 | 1*7=7;
| ^
main.c:11:12: error: lvalue required as left operand of assignment
11 | 1*8=8;
| ^
main.c:12:12: error: lvalue required as left operand of assignment
12 | 1*9=9;
| ^
main.c:13:12: error: lvalue required as left operand of assignment
13 | 2*1=1;
| ^
main.c:14:12: error: lvalue required as left operand of assignment
14 | 2*2=4;
| ^
main.c:15:12: error: lvalue required as left operand of assignment
15 | 2*3=6;
| ^
main.c:16:12: error: lvalue required as left operand of assignment
16 | 2*4=8;
| ^
main.c:17:12: error: lvalue required as left operand of assignment
17 | 2*5=10;
| ^
main.c:18:12: error: lvalue required as left operand of assignment
18 | 2*6=12;
| ^
main.c:19:12: error: lvalue required as left operand of assignment
19 | 2*7=14;
| ^
main.c:20:12: error: lvalue required as left operand of assignment
20 | 2*8=16;
| ^
main.c:21:12: error: lvalue required as left operand of assignment
21 | 2*9=18;
| ^
main.c:22:12: error: lvalue required as left operand of assignment
22 | 3*1=3;
| ^
main.c:23:12: error: lvalue required as left operand of assignment
23 | 3*2=6;
| ^
main.c:24:12: error: lvalue required as left operand of assignment
24 | 3*3=9;
| ^
main.c:25:12: error: lvalue required as left operand of assignment
25 | 3*4=12;
| ^
main.c:26:12: error: lvalue required as left operand of assignment
26 | 3*5=15;
| ^
main.c:27:12: error: lvalue required as left operand of assignment
27 | 3*6=18;
| ^
main.c:28:12: error: lvalue required as left operand of assignment
28 | 3*7=21;
| ^
main.c:29:12: error: lvalue required as left operand of assignment
29 | 3*8=24;
| ^
main.c:30:12: error: lvalue required as left operand of assignment
30 | 3*9=27;
| ^
main.c:31:12: error: lvalue required as left operand of assignment
31 | 4*1=4;
| ^
main.c:32:12: error: lvalue required as left operand of assignment
32 | 4*2=8;
| ^
main.c:33:12: error: lvalue required as left operand of assignment
33 | 4*3=12;
| ^
main.c:34:12: error: lvalue required as left operand of assignment
34 | 4*4=16;
| ^
main.c:35:12: error: lvalue required as left operand of assignment
35 | 4*5=20;
| ^
main.c:36:12: error: lvalue required as left operand of assignment
36 | 4*6=24;
| ^
main.c:37:12: error: lvalue required as left operand of assignment
37 | 4*7=28;
| ^
main.c:38:12: error: lvalue required as left operand of assignment
38 | 4*8=32;
| ^
main.c:39:12: error: lvalue required as left operand of assignment
39 | 4*9=36;
| ^
main.c:40:12: error: lvalue required as left operand of assignment
40 | 5*1=5;
| ^
main.c:41:12: error: lvalue required as left operand of assignment
41 | 5*2=10;
| ^
main.c:42:12: error: lvalue required as left operand of assignment
42 | 5*3=15;
| ^
main.c:43:12: error: lvalue required as left operand of assignment
43 | 5*4=20;
| ^
main.c:44:12: error: lvalue required as left operand of assignment
44 | 5*5=25;
| ^
main.c:45:12: error: lvalue required as left operand of assignment
45 | 5*6=30;
| ^
main.c:46:12: error: lvalue required as left operand of assignment
46 | 5*7=35;
| ^
main.c:47:12: error: lvalue required as left operand of assignment
47 | 5*8=40;
| ^
main.c:48:12: error: lvalue required as left operand of assignment
48 | 5*9=45;
| ^
main.c:49:12: error: lvalue required as left operand of assignment
49 | 6*1=6;
| ^
main.c:50:12: error: lvalue required as left operand of assignment
50 | 6*2=12;
| ^
main.c:51:12: error: lvalue required as left operand of assignment
51 | 6*3=18;
| ^
main.c:52:12: error: lvalue required as left operand of assignment
52 | 6*4=24;
| ^
main.c:53:12: error: lvalue required as left operand of assignment
53 | 6*5=30;
| ^
main.c:54:12: error: lvalue required as left operand of assignment
54 | 6*6=36;
| ^
main.c:55:12: error: lvalue required as left operand of assignment
55 | 6*7=42;
| ^
main.c:56:12: error: lvalue required as left operand of assignment
56 | 6*8=48;
| ^
main.c:57:12: error: lvalue required as left operand of assignment
57 | 6*9=54;
| ^
main.c:58:12: error: lvalue required as left operand of assignment
58 | 7*1=7;
| ^
main.c:59:12: error: lvalue required as left operand of assignment
59 | 7*2=14;
| ^
main.c:60:12: error: lvalue required as left operand of assignment
60 | 7*3=21;
| ^
main.c:61:12: error: lvalue required as left operand of assignment
61 | 7*4=28;
| ^
main.c:62:12: error: lvalue required as left operand of assignment
62 | 7*5=35;
| ^
main.c:63:12: error: lvalue required as left operand of assignment
63 | 7*6=42;
| ^
main.c:64:12: error: lvalue required as left operand of assignment
64 | 7*7=49;
| ^
main.c:65:12: error: lvalue required as left operand of assignment
65 | 7*8=56;
| ^
main.c:66:12: error: lvalue required as left operand of assignment
66 | 7*9=63;
| ^
main.c:67:12: error: lvalue required as left operand of assignment
67 | 8*1=8;
| ^
main.c:68:12: error: lvalue required as left operand of assignment
68 | 8*2=16;
| ^
main.c:69:12: error: lvalue required as left operand of assignment
69 | 8*3=24;
| ^
main.c:70:12: error: lvalue required as left operand of assignment
70 | 8*4=32;
| ^
main.c:71:12: error: lvalue required as left operand of assignment
71 | 8*5=40;
| ^
main.c:72:12: error: lvalue required as left operand of assignment
72 | 8*6=48;
| ^
main.c:73:12: error: lvalue required as left operand of assignment
73 | 8*7=56;
| ^
main.c:74:12: error: lvalue required as left operand of assignment
74 | 8*8=64;
| ^
main.c:75:12: error: lvalue required as left operand of assignment
75 | 8*9=72;
| ^
main.c:76:12: error: lvalue required as left operand of assignment
76 | 9*1=9;
| ^
main.c:77:12: error: lvalue required as left operand of assignment
77 | 9*2=18;
| ^
main.c:78:12: error: lvalue required as left operand of assignment
78 | 9*3=27;
| ^
main.c:79:12: error: lvalue required as left operand of assignment
79 | 9*4=36;
| ^
main.c:80:12: error: lvalue required as left operand of assignment
80 | 9*5=45;
| ^
main.c:81:12: error: lvalue required as left operand of assignment
81 | 9*6=54;
| ^
main.c:82:12: error: lvalue required as left operand of assignment
82 | 9*7=63;
| ^
main.c:83:12: error: lvalue required as left operand of assignment
83 | 9*8=72;
| ^
main.c:84:12: error: lvalue required as left operand of assignment
84 | 9*9=81;
| ^
|
s306940821
|
p00000
|
C
|
#indlude<stdio.h>
int main(){
1*1=1
1*2=2
1*3=3
1*4=4
1*5=5
1*6=6
1*7=7
1*8=8
1*9=9
2*1=1
2*2=4
2*3=6
2*4=8
2*5=10
2*6=12
2*7=14
2*8=16
2*9=18
3*1=3
3*2=6
3*3=9
3*4=12
3*5=15
3*6=18
3*7=21
3*8=24
3*9=27
4*1=4
4*2=8
4*3=12
4*4=16
4*5=20
4*6=24
4*7=28
4*8=32
4*9=36
5*1=5
5*2=10
5*3=15
5*4=20
5*5=25
5*6=30
5*7=35
5*8=40
5*9=45
6*1=6
6*2=12
6*3=18
6*4=24
6*5=30
6*6=36
6*7=42
6*8=48
6*9=54
7*1=7
7*2=14
7*3=21
7*4=28
7*5=35
7*6=42
7*7=49
7*8=56
7*9=63
8*1=8
8*2=16
8*3=24
8*4=32
8*5=40
8*6=48
8*7=56
8*8=64
8*9=72
9*1=9
9*2=18
9*3=27
9*4=36
9*5=45
9*6=54
9*7=63
9*8=72
9*9=81
return 0;
}
|
main.c:1:2: error: invalid preprocessing directive #indlude; did you mean #include?
1 | #indlude<stdio.h>
| ^~~~~~~
| include
main.c: In function 'main':
main.c:4:12: error: lvalue required as left operand of assignment
4 | 1*1=1
| ^
main.c:4:14: error: expected ';' before numeric constant
4 | 1*1=1
| ^
| ;
5 | 1*2=2
| ~
|
s913760172
|
p00000
|
C
|
#indlude<stdio.h>
int main(){
1x1=1
1x2=2
1x3=3
1x4=4
1x5=5
1x6=6
1x7=7
1x8=8
1x9=9
2x1=1
2x2=4
2x3=6
2x4=8
2x5=10
2x6=12
2x7=14
2x8=16
2x9=18
3x1=3
3x2=6
3x3=9
3x4=12
3x5=15
3x6=18
3x7=21
3x8=24
3x9=27
4x1=4
4x2=8
4x3=12
4x4=16
4x5=20
4x6=24
4x7=28
4x8=32
4x9=36
5x1=5
5x2=10
5x3=15
5x4=20
5x5=25
5x6=30
5x7=35
5x8=40
5x9=45
6x1=6
6x2=12
6x3=18
6x4=24
6x5=30
6x6=36
6x7=42
6x8=48
6x9=54
7x1=7
7x2=14
7x3=21
7x4=28
7x5=35
7x6=42
7x7=49
7x8=56
7x9=63
8x1=8
8x2=16
8x3=24
8x4=32
8x5=40
8x6=48
8x7=56
8x8=64
8x9=72
9x1=9
9x2=18
9x3=27
9x4=36
9x5=45
9x6=54
9x7=63
9x8=72
9x9=81
return 0;
}
|
main.c:1:2: error: invalid preprocessing directive #indlude; did you mean #include?
1 | #indlude<stdio.h>
| ^~~~~~~
| include
main.c: In function 'main':
main.c:4:9: error: invalid suffix "x1" on integer constant
4 | 1x1=1
| ^~~
main.c:5:9: error: invalid suffix "x2" on integer constant
5 | 1x2=2
| ^~~
main.c:4:14: error: expected ';' before numeric constant
4 | 1x1=1
| ^
| ;
5 | 1x2=2
| ~~~
main.c:6:9: error: invalid suffix "x3" on integer constant
6 | 1x3=3
| ^~~
main.c:7:9: error: invalid suffix "x4" on integer constant
7 | 1x4=4
| ^~~
main.c:8:9: error: invalid suffix "x5" on integer constant
8 | 1x5=5
| ^~~
main.c:9:9: error: invalid suffix "x6" on integer constant
9 | 1x6=6
| ^~~
main.c:10:9: error: invalid suffix "x7" on integer constant
10 | 1x7=7
| ^~~
main.c:11:9: error: invalid suffix "x8" on integer constant
11 | 1x8=8
| ^~~
main.c:12:9: error: invalid suffix "x9" on integer constant
12 | 1x9=9
| ^~~
main.c:13:9: error: invalid suffix "x1" on integer constant
13 | 2x1=1
| ^~~
main.c:14:9: error: invalid suffix "x2" on integer constant
14 | 2x2=4
| ^~~
main.c:15:9: error: invalid suffix "x3" on integer constant
15 | 2x3=6
| ^~~
main.c:16:9: error: invalid suffix "x4" on integer constant
16 | 2x4=8
| ^~~
main.c:17:9: error: invalid suffix "x5" on integer constant
17 | 2x5=10
| ^~~
main.c:18:9: error: invalid suffix "x6" on integer constant
18 | 2x6=12
| ^~~
main.c:19:9: error: invalid suffix "x7" on integer constant
19 | 2x7=14
| ^~~
main.c:20:9: error: invalid suffix "x8" on integer constant
20 | 2x8=16
| ^~~
main.c:21:9: error: invalid suffix "x9" on integer constant
21 | 2x9=18
| ^~~
main.c:22:9: error: invalid suffix "x1" on integer constant
22 | 3x1=3
| ^~~
main.c:23:9: error: invalid suffix "x2" on integer constant
23 | 3x2=6
| ^~~
main.c:24:9: error: invalid suffix "x3" on integer constant
24 | 3x3=9
| ^~~
main.c:25:9: error: invalid suffix "x4" on integer constant
25 | 3x4=12
| ^~~
main.c:26:9: error: invalid suffix "x5" on integer constant
26 | 3x5=15
| ^~~
main.c:27:9: error: invalid suffix "x6" on integer constant
27 | 3x6=18
| ^~~
main.c:28:9: error: invalid suffix "x7" on integer constant
28 | 3x7=21
| ^~~
main.c:29:9: error: invalid suffix "x8" on integer constant
29 | 3x8=24
| ^~~
main.c:30:9: error: invalid suffix "x9" on integer constant
30 | 3x9=27
| ^~~
main.c:31:9: error: invalid suffix "x1" on integer constant
31 | 4x1=4
| ^~~
main.c:32:9: error: invalid suffix "x2" on integer constant
32 | 4x2=8
| ^~~
main.c:33:9: error: invalid suffix "x3" on integer constant
33 | 4x3=12
| ^~~
main.c:34:9: error: invalid suffix "x4" on integer constant
34 | 4x4=16
| ^~~
main.c:35:9: error: invalid suffix "x5" on integer constant
35 | 4x5=20
| ^~~
main.c:36:9: error: invalid suffix "x6" on integer constant
36 | 4x6=24
| ^~~
main.c:37:9: error: invalid suffix "x7" on integer constant
37 | 4x7=28
| ^~~
main.c:38:9: error: invalid suffix "x8" on integer constant
38 | 4x8=32
| ^~~
main.c:39:9: error: invalid suffix "x9" on integer constant
39 | 4x9=36
| ^~~
main.c:40:9: error: invalid suffix "x1" on integer constant
40 | 5x1=5
| ^~~
main.c:41:9: error: invalid suffix "x2" on integer constant
41 | 5x2=10
| ^~~
main.c:42:9: error: invalid suffix "x3" on integer constant
42 | 5x3=15
| ^~~
main.c:43:9: error: invalid suffix "x4" on integer constant
43 | 5x4=20
| ^~~
main.c:44:9: error: invalid suffix "x5" on integer constant
44 | 5x5=25
| ^~~
main.c:45:9: error: invalid suffix "x6" on integer constant
45 | 5x6=30
| ^~~
main.c:46:9: error: invalid suffix "x7" on integer constant
46 | 5x7=35
| ^~~
main.c:47:9: error: invalid suffix "x8" on integer constant
47 | 5x8=40
| ^~~
main.c:48:9: error: invalid suffix "x9" on integer constant
48 | 5x9=45
| ^~~
main.c:49:9: error: invalid suffix "x1" on integer constant
49 | 6x1=6
| ^~~
main.c:50:9: error: invalid suffix "x2" on integer constant
50 | 6x2=12
| ^~~
main.c:51:9: error: invalid suffix "x3" on integer constant
51 | 6x3=18
| ^~~
main.c:52:9: error: invalid suffix "x4" on integer constant
52 | 6x4=24
| ^~~
main.c:53:9: error: invalid suffix "x5" on integer constant
53 | 6x5=30
| ^~~
main.c:54:9: error: invalid suffix "x6" on integer constant
54 | 6x6=36
| ^~~
main.c:55:9: error: invalid suffix "x7" on integer constant
55 | 6x7=42
| ^~~
main.c:56:9: error: invalid suffix "x8" on integer constant
56 | 6x8=48
| ^~~
main.c:57:9: error: invalid suffix "x9" on integer constant
57 | 6x9=54
| ^~~
main.c:58:9: error: invalid suffix "x1" on integer constant
58 | 7x1=7
| ^~~
main.c:59:9: error: invalid suffix "x2" on integer constant
59 | 7x2=14
| ^~~
main.c:60:9: error: invalid suffix "x3" on integer constant
60 | 7x3=21
| ^~~
main.c:61:9: error: invalid suffix "x4" on integer constant
61 | 7x4=28
| ^~~
main.c:62:9: error: invalid suffix "x5" on integer constant
62 | 7x5=35
| ^~~
main.c:63:9: error: invalid suffix "x6" on integer constant
63 | 7x6=42
| ^~~
main.c:64:9: error: invalid suffix "x7" on integer constant
64 | 7x7=49
| ^~~
main.c:65:9: error: invalid suffix "x8" on integer constant
65 | 7x8=56
| ^~~
main.c:66:9: error: invalid suffix "x9" on integer constant
66 | 7x9=63
| ^~~
main.c:67:9: error: invalid suffix "x1" on integer constant
67 | 8x1=8
| ^~~
main.c:68:9: error: invalid suffix "x2" on integer constant
68 | 8x2=16
| ^~~
main.c:69:9: error: invalid suffix "x3" on integer constant
69 | 8x3=24
| ^~~
main.c:70:9: error: invalid suffix "x4" on integer constant
70 | 8x4=32
| ^~~
main.c:71:9: error: invalid suffix "x5" on integer constant
71 | 8x5=40
| ^~~
main.c:72:9: error: invalid suffix "x6" on integer constant
72 | 8x6=48
| ^~~
main.c:73:9: error: invalid suffix "x7" on integer constant
73 | 8x7=56
| ^~~
main.c:74:9: error: invalid suffix "x8" on integer constant
74 | 8x8=64
| ^~~
main.c:75:9: error: invalid suffix "x9" on integer constant
75 | 8x9=72
| ^~~
main.c:76:9: error: invalid suffix "x1" on integer constant
76 | 9x1=9
| ^~~
main.c:77:9: error: invalid suffix "x2" on integer constant
77 | 9x2=18
| ^~~
main.c:78:9: error: invalid suffix "x3" on integer constant
78 | 9x3=27
| ^~~
main.c:79:9: error: invalid suffix "x4" on integer constant
79 | 9x4=36
| ^~~
main.c:80:9: error: invalid suffix "x5" on integer constant
80 | 9x5=45
| ^~~
main.c:81:9: error: invalid suffix "x6" on integer constant
81 | 9x6=54
| ^~~
main.c:82:9: error: invalid suffix "x7" on integer constant
82 | 9x7=63
| ^~~
main.c:83:9: error: invalid suffix "x8" on integer constant
83 | 9x8=72
| ^~~
main.c:84:9: error: invalid suffix "x9" on integer constant
84 | 9x9=81
| ^~~
|
s043524564
|
p00000
|
C
|
#indlude<stdio.h>
int main(){
1x1=1
1x2=2
1x3=3
1x4=4
1x5=5
1x6=6
1x7=7
1x8=8
1x9=9
2x1=1
2x2=4
2x3=6
2x4=8
2x5=10
2x6=12
2x7=14
2x8=16
2x9=18
3x1=3
3x2=6
3x3=9
3x4=12
3x5=15
3x6=18
3x7=21
3x8=24
3x9=27
4x1=4
4x2=8
4x3=12
4x4=16
4x5=20
4x6=24
4x7=28
4x8=32
4x9=36
5x1=5
5x2=10
5x3=15
5x4=20
5x5=25
5x6=30
5x7=35
5x8=40
5x9=45
6x1=6
6x2=12
6x3=18
6x4=24
6x5=30
6x6=36
6x7=42
6x8=48
6x9=54
7x1=7
7x2=14
7x3=21
7x4=28
7x5=35
7x6=42
7x7=49
7x8=56
7x9=63
8x1=8
8x2=16
8x3=24
8x4=32
8x5=40
8x6=48
8x7=56
8x8=64
8x9=72
9x1=9
9x2=18
9x3=27
9x4=36
9x5=45
9x6=54
9x7=63
9x8=72
9x9=81
return 0;
}
|
main.c:1:2: error: invalid preprocessing directive #indlude; did you mean #include?
1 | #indlude<stdio.h>
| ^~~~~~~
| include
main.c: In function 'main':
main.c:4:9: error: invalid suffix "x1" on integer constant
4 | 1x1=1
| ^~~
main.c:5:9: error: invalid suffix "x2" on integer constant
5 | 1x2=2
| ^~~
main.c:4:14: error: expected ';' before numeric constant
4 | 1x1=1
| ^
| ;
5 | 1x2=2
| ~~~
main.c:6:9: error: invalid suffix "x3" on integer constant
6 | 1x3=3
| ^~~
main.c:7:9: error: invalid suffix "x4" on integer constant
7 | 1x4=4
| ^~~
main.c:8:9: error: invalid suffix "x5" on integer constant
8 | 1x5=5
| ^~~
main.c:9:9: error: invalid suffix "x6" on integer constant
9 | 1x6=6
| ^~~
main.c:10:9: error: invalid suffix "x7" on integer constant
10 | 1x7=7
| ^~~
main.c:11:9: error: invalid suffix "x8" on integer constant
11 | 1x8=8
| ^~~
main.c:12:9: error: invalid suffix "x9" on integer constant
12 | 1x9=9
| ^~~
main.c:13:9: error: invalid suffix "x1" on integer constant
13 | 2x1=1
| ^~~
main.c:14:9: error: invalid suffix "x2" on integer constant
14 | 2x2=4
| ^~~
main.c:15:9: error: invalid suffix "x3" on integer constant
15 | 2x3=6
| ^~~
main.c:16:9: error: invalid suffix "x4" on integer constant
16 | 2x4=8
| ^~~
main.c:17:9: error: invalid suffix "x5" on integer constant
17 | 2x5=10
| ^~~
main.c:18:9: error: invalid suffix "x6" on integer constant
18 | 2x6=12
| ^~~
main.c:19:9: error: invalid suffix "x7" on integer constant
19 | 2x7=14
| ^~~
main.c:20:9: error: invalid suffix "x8" on integer constant
20 | 2x8=16
| ^~~
main.c:21:9: error: invalid suffix "x9" on integer constant
21 | 2x9=18
| ^~~
main.c:22:9: error: invalid suffix "x1" on integer constant
22 | 3x1=3
| ^~~
main.c:23:9: error: invalid suffix "x2" on integer constant
23 | 3x2=6
| ^~~
main.c:24:9: error: invalid suffix "x3" on integer constant
24 | 3x3=9
| ^~~
main.c:25:9: error: invalid suffix "x4" on integer constant
25 | 3x4=12
| ^~~
main.c:26:9: error: invalid suffix "x5" on integer constant
26 | 3x5=15
| ^~~
main.c:27:9: error: invalid suffix "x6" on integer constant
27 | 3x6=18
| ^~~
main.c:28:9: error: invalid suffix "x7" on integer constant
28 | 3x7=21
| ^~~
main.c:29:9: error: invalid suffix "x8" on integer constant
29 | 3x8=24
| ^~~
main.c:30:9: error: invalid suffix "x9" on integer constant
30 | 3x9=27
| ^~~
main.c:31:9: error: invalid suffix "x1" on integer constant
31 | 4x1=4
| ^~~
main.c:32:9: error: invalid suffix "x2" on integer constant
32 | 4x2=8
| ^~~
main.c:33:9: error: invalid suffix "x3" on integer constant
33 | 4x3=12
| ^~~
main.c:34:9: error: invalid suffix "x4" on integer constant
34 | 4x4=16
| ^~~
main.c:35:9: error: invalid suffix "x5" on integer constant
35 | 4x5=20
| ^~~
main.c:36:9: error: invalid suffix "x6" on integer constant
36 | 4x6=24
| ^~~
main.c:37:9: error: invalid suffix "x7" on integer constant
37 | 4x7=28
| ^~~
main.c:38:9: error: invalid suffix "x8" on integer constant
38 | 4x8=32
| ^~~
main.c:39:9: error: invalid suffix "x9" on integer constant
39 | 4x9=36
| ^~~
main.c:40:9: error: invalid suffix "x1" on integer constant
40 | 5x1=5
| ^~~
main.c:41:9: error: invalid suffix "x2" on integer constant
41 | 5x2=10
| ^~~
main.c:42:9: error: invalid suffix "x3" on integer constant
42 | 5x3=15
| ^~~
main.c:43:9: error: invalid suffix "x4" on integer constant
43 | 5x4=20
| ^~~
main.c:44:9: error: invalid suffix "x5" on integer constant
44 | 5x5=25
| ^~~
main.c:45:9: error: invalid suffix "x6" on integer constant
45 | 5x6=30
| ^~~
main.c:46:9: error: invalid suffix "x7" on integer constant
46 | 5x7=35
| ^~~
main.c:47:9: error: invalid suffix "x8" on integer constant
47 | 5x8=40
| ^~~
main.c:48:9: error: invalid suffix "x9" on integer constant
48 | 5x9=45
| ^~~
main.c:49:9: error: invalid suffix "x1" on integer constant
49 | 6x1=6
| ^~~
main.c:50:9: error: invalid suffix "x2" on integer constant
50 | 6x2=12
| ^~~
main.c:51:9: error: invalid suffix "x3" on integer constant
51 | 6x3=18
| ^~~
main.c:52:9: error: invalid suffix "x4" on integer constant
52 | 6x4=24
| ^~~
main.c:53:9: error: invalid suffix "x5" on integer constant
53 | 6x5=30
| ^~~
main.c:54:9: error: invalid suffix "x6" on integer constant
54 | 6x6=36
| ^~~
main.c:55:9: error: invalid suffix "x7" on integer constant
55 | 6x7=42
| ^~~
main.c:56:9: error: invalid suffix "x8" on integer constant
56 | 6x8=48
| ^~~
main.c:57:9: error: invalid suffix "x9" on integer constant
57 | 6x9=54
| ^~~
main.c:58:9: error: invalid suffix "x1" on integer constant
58 | 7x1=7
| ^~~
main.c:59:9: error: invalid suffix "x2" on integer constant
59 | 7x2=14
| ^~~
main.c:60:9: error: invalid suffix "x3" on integer constant
60 | 7x3=21
| ^~~
main.c:61:9: error: invalid suffix "x4" on integer constant
61 | 7x4=28
| ^~~
main.c:62:9: error: invalid suffix "x5" on integer constant
62 | 7x5=35
| ^~~
main.c:63:9: error: invalid suffix "x6" on integer constant
63 | 7x6=42
| ^~~
main.c:64:9: error: invalid suffix "x7" on integer constant
64 | 7x7=49
| ^~~
main.c:65:9: error: invalid suffix "x8" on integer constant
65 | 7x8=56
| ^~~
main.c:66:9: error: invalid suffix "x9" on integer constant
66 | 7x9=63
| ^~~
main.c:67:9: error: invalid suffix "x1" on integer constant
67 | 8x1=8
| ^~~
main.c:68:9: error: invalid suffix "x2" on integer constant
68 | 8x2=16
| ^~~
main.c:69:9: error: invalid suffix "x3" on integer constant
69 | 8x3=24
| ^~~
main.c:70:9: error: invalid suffix "x4" on integer constant
70 | 8x4=32
| ^~~
main.c:71:9: error: invalid suffix "x5" on integer constant
71 | 8x5=40
| ^~~
main.c:72:9: error: invalid suffix "x6" on integer constant
72 | 8x6=48
| ^~~
main.c:73:9: error: invalid suffix "x7" on integer constant
73 | 8x7=56
| ^~~
main.c:74:9: error: invalid suffix "x8" on integer constant
74 | 8x8=64
| ^~~
main.c:75:9: error: invalid suffix "x9" on integer constant
75 | 8x9=72
| ^~~
main.c:76:9: error: invalid suffix "x1" on integer constant
76 | 9x1=9
| ^~~
main.c:77:9: error: invalid suffix "x2" on integer constant
77 | 9x2=18
| ^~~
main.c:78:9: error: invalid suffix "x3" on integer constant
78 | 9x3=27
| ^~~
main.c:79:9: error: invalid suffix "x4" on integer constant
79 | 9x4=36
| ^~~
main.c:80:9: error: invalid suffix "x5" on integer constant
80 | 9x5=45
| ^~~
main.c:81:9: error: invalid suffix "x6" on integer constant
81 | 9x6=54
| ^~~
main.c:82:9: error: invalid suffix "x7" on integer constant
82 | 9x7=63
| ^~~
main.c:83:9: error: invalid suffix "x8" on integer constant
83 | 9x8=72
| ^~~
main.c:84:9: error: invalid suffix "x9" on integer constant
84 | 9x9=81
| ^~~
|
s397757734
|
p00000
|
C
|
hoge
|
main.c:1:1: error: expected '=', ',', ';', 'asm' or '__attribute__' at end of input
1 | hoge
| ^~~~
|
s391896206
|
p00000
|
C
|
#include<stdio.h>
int main(){
int a,b,c;
??????for(a=1;a<=9;a++)
{
for(b=1;b<=9;b++)
{
c=a*b;
printf("%d??%d=%d\n",a,b,c);
}
return 0;
}
|
main.c: In function 'main':
main.c:5:1: error: expected expression before '?' token
5 | ??????for(a=1;a<=9;a++)
| ^
main.c:14:1: error: expected declaration or statement at end of input
14 | }
| ^
|
s792051137
|
p00000
|
C
|
#include<stdio.h>
int main(){
int a,b,c;
??????for(a=1;a<=9;a++)
{
for(b=1;b<=9;b++)
{
c=a*b;
printf("%dx%d=%d\n",a,b,c);
}
return 0;
}
|
main.c: In function 'main':
main.c:5:1: error: expected expression before '?' token
5 | ??????for(a=1;a<=9;a++)
| ^
main.c:14:1: error: expected declaration or statement at end of input
14 | }
| ^
|
s586444127
|
p00000
|
C
|
#include<stdio.h>
int main(){
int a,b,c;
??????for(a=1;a<=9;a++)
{
for(b=1;b<=9;b++)
{
c=a*b;
printf("%dx%d=%d\n",a,b,c);
}
}
return 0;
}
|
main.c: In function 'main':
main.c:5:1: error: expected expression before '?' token
5 | ??????for(a=1;a<=9;a++)
| ^
|
s733331556
|
p00000
|
C
|
include<stdio.h>
int main(void)
{
int i,n=0;
for( i=1;i<10;i++){
printf("1*%d=%d\n", i,1*i);
}
for( i=1;i<10;i++){
printf("2*%d=%d\n", i,2*i);
}
for( i=1;i<10;i++){
printf("3*%d=%d\n", i,3*i);
}
for( i=1;i<10;i++){
printf("4*%d=%d\n", i,4*i);
}
for( i=1;i<10;i++){
printf("5*%d=%d\n", i,5*i);
}
for( i=1;i<10;i++){
printf("6*%d=%d\n", i,6*i);
}
for( i=1;i<10;i++){
printf("7*%d=%d\n", i,7*i);
}
for( i=1;i<10;i++){
printf("8*%d=%d\n", i,8*i);
}
for( i=1;i<10;i++){
printf("9*%d=%d\n", i,9*i);
}
return 0;
}
|
main.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
1 | include<stdio.h>
| ^
|
s709693681
|
p00000
|
C
|
#include<stdio.h>
int main() {
int a[][] = NULL;
int kuku[][](i, j);
int i = 0;
int j = 0;
for (i = 0; i < 9; i++)
{
for (j = 0; j < 9; j++)
{
printf("%d'x'%d=%d", i, j,i*j );
}
}
return 0;
}
|
main.c: In function 'main':
main.c:4:13: error: array type has incomplete element type 'int[]'
4 | int a[][] = NULL;
| ^
main.c:4:13: note: declaration of 'a' as multidimensional array must have bounds for all dimensions except the first
main.c:5:9: error: parameter names (without types) in function declaration [-Wdeclaration-missing-parameter-type]
5 | int kuku[][](i, j);
| ^~~
main.c:5:13: error: declaration of 'kuku' as array of functions
5 | int kuku[][](i, j);
| ^~~~
|
s668828676
|
p00000
|
C
|
#include<stadio.h>
|
main.c:1:9: fatal error: stadio.h: No such file or directory
1 | #include<stadio.h>
| ^~~~~~~~~~
compilation terminated.
|
s151515613
|
p00000
|
C
|
#include <stdio.h>
int main(void){
int i,j;
for(i=1;i<=9;i++){
for(j=1;j<=9;j++){
print("%dx%d=%d\n",i,j,i*j);
}
}
return 0;
}
|
main.c: In function 'main':
main.c:10:1: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration]
10 | print("%dx%d=%d\n",i,j,i*j);
| ^~~~~
| printf
|
s306437761
|
p00000
|
C
|
0000
|
main.c:1:1: error: expected identifier or '(' before numeric constant
1 | 0000
| ^~~~
|
s563106474
|
p00000
|
C
|
#include<stdio.h>
int main(){
int i,j;
for(i=1;i<10;i++){
for(j=1j<10;j++){
printf("%dx%d\n",i*j);
return 0;
}
|
main.c: In function 'main':
main.c:6:16: error: invalid operands to binary < (have 'complex int' and 'int')
6 | for(j=1j<10;j++){
| ^
main.c:6:23: error: expected ';' before ')' token
6 | for(j=1j<10;j++){
| ^
| ;
main.c:9:1: error: expected declaration or statement at end of input
9 | }
| ^
main.c:9:1: error: expected declaration or statement at end of input
|
s883938923
|
p00000
|
C
|
#include<stdio.h>
int main(void){
int i;
for(i=1;i<10;i++)
printf("%dx%d=%d",i,i,i*i);
return0;
}
|
main.c: In function 'main':
main.c:6:1: error: 'return0' undeclared (first use in this function)
6 | return0;
| ^~~~~~~
main.c:6:1: note: each undeclared identifier is reported only once for each function it appears in
|
s514553810
|
p00000
|
C
|
#include<stdio.h>
int main(void){
int i;
for(i=1;i<10;i++)
printf("%dx%d=%d",i,i,i*i);
return0;
}
|
main.c: In function 'main':
main.c:6:1: error: 'return0' undeclared (first use in this function)
6 | return0;
| ^~~~~~~
main.c:6:1: note: each undeclared identifier is reported only once for each function it appears in
|
s556194862
|
p00000
|
C
|
#include<stdio.h>
int main(void)
{
int i;
int j;
for(i=1;i<10;i++)
{ for(j=1;j<10;j++)
{
printf(ixj=i*j);
}
}
return 0;
}
|
main.c: In function 'main':
main.c:10:15: error: 'ixj' undeclared (first use in this function)
10 | printf(ixj=i*j);
| ^~~
main.c:10:15: note: each undeclared identifier is reported only once for each function it appears in
|
s794631196
|
p00000
|
C
|
#include<stdio.h>
int main(void)
{
int i;
int 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:10:27: error: expected ')' before 'j'
10 | printf("%dx%d=%d",i j i*j);
| ~ ^~
| )
|
s464568573
|
p00000
|
C
|
#include<stdio.h>
int main(){
int n=1, 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: In function 'main':
main.c:6:22: error: expected ';' before ')' token
6 | for (n=1, n < 10, n++){
| ^
| ;
main.c:6:22: error: expected expression before ')' token
main.c:7:23: error: expected ';' before ')' token
7 | for (m=1, m < 10, m++){
| ^
| ;
main.c:7:23: error: expected expression before ')' token
|
s438400604
|
p00000
|
C
|
#include <stdio.h>
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:3:1: error: return type defaults to 'int' [-Wimplicit-int]
3 | main(){
| ^~~~
|
s408471580
|
p00000
|
C
|
#include<stdio.h>
int main(){
for(i=0,i<=9,i++){
for(j=0, j<=9,j++){
printf("%dx%d=%d\n, 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=0,i<=9,i++){
| ^
main.c:4:5: note: each undeclared identifier is reported only once for each function it appears in
main.c:4:17: error: expected ';' before ')' token
4 | for(i=0,i<=9,i++){
| ^
| ;
main.c:4:17: error: expected expression before ')' token
main.c:5:6: error: 'j' undeclared (first use in this function)
5 | for(j=0, j<=9,j++){
| ^
main.c:5:19: error: expected ';' before ')' token
5 | for(j=0, j<=9,j++){
| ^
| ;
main.c:5:19: error: expected expression before ')' token
main.c:6:8: warning: missing terminating " character
6 | printf("%dx%d=%d\n, i, j, i*j);
| ^
main.c:6:8: error: missing terminating " character
6 | printf("%dx%d=%d\n, i, j, i*j);
| ^~~~~~~~~~~~~~~~~~~~~~~~
main.c:8:1: error: expected expression before '}' token
8 | }
| ^
main.c:6:8: error: expected ';' before '}' token
6 | printf("%dx%d=%d\n, i, j, i*j);
| ^
| ;
7 |
8 | }
| ~
|
s862099032
|
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\n, i, j, i*j);
}
}
return 0;
}
|
main.c: In function 'main':
main.c:5:17: error: expected ';' before ')' token
5 | for(i=0,i<=9,i++){
| ^
| ;
main.c:5:17: error: expected expression before ')' token
main.c:6:19: error: expected ';' before ')' token
6 | for(j=0, j<=9,j++){
| ^
| ;
main.c:6:19: error: expected expression before ')' token
main.c:7:8: warning: missing terminating " character
7 | printf("%dx%d=%d\n, i, j, i*j);
| ^
main.c:7:8: error: missing terminating " character
7 | printf("%dx%d=%d\n, i, j, i*j);
| ^~~~~~~~~~~~~~~~~~~~~~~~
main.c:9:1: error: expected expression before '}' token
9 | }
| ^
main.c:7:8: error: expected ';' before '}' token
7 | printf("%dx%d=%d\n, i, j, i*j);
| ^
| ;
8 |
9 | }
| ~
|
s392305208
|
p00000
|
C
|
#include<stdio.h>
int main(){
for (int n=1, n < 10, n++){
for (int m=1, m < 10, m++){
printf("%d×%d=%d\n", n, m, n*m);
}
}
return 0;
}
|
main.c: In function 'main':
main.c:5:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
5 | for (int n=1, n < 10, n++){
| ^
main.c:10:5: error: expected expression before 'return'
10 | return 0;
| ^~~~~~
main.c:11:1: error: expected expression before '}' token
11 | }
| ^
main.c:11:1: error: expected expression before '}' token
|
s964784463
|
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\n, i, j, i*j);
}
}
return 0;
}
|
main.c: In function 'main':
main.c:8:8: warning: missing terminating " character
8 | printf("%dx%d=%d\n, i, j, i*j);
| ^
main.c:8:8: error: missing terminating " character
8 | printf("%dx%d=%d\n, i, j, i*j);
| ^~~~~~~~~~~~~~~~~~~~~~~~
main.c:10:1: error: expected expression before '}' token
10 | }
| ^
main.c:8:8: error: expected ';' before '}' token
8 | printf("%dx%d=%d\n, i, j, i*j);
| ^
| ;
9 |
10 | }
| ~
|
s645446557
|
p00000
|
C
|
#include<stdio.h>
int main(){
int n, m;
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: In function 'main':
main.c:5:22: error: expected ';' before ')' token
5 | for (n=1, n < 10, n++){
| ^
| ;
main.c:5:22: error: expected expression before ')' token
main.c:6:23: error: expected ';' before ')' token
6 | for (m=1, m < 10, m++){
| ^
| ;
main.c:6:23: error: expected expression before ')' token
|
s447126412
|
p00000
|
C
|
#include<stdio.h>
int main (void){
int a,b,sum=0;
a=1,b=1;
while(a<=9){
sum=a*b;
printf("%dx%d=%d\n",a,b,sum);
b++;
if(b>9){
a++;
b=1;
}
}
return0;
}
|
main.c: In function 'main':
main.c:17:3: error: 'return0' undeclared (first use in this function)
17 | return0;
| ^~~~~~~
main.c:17:3: note: each undeclared identifier is reported only once for each function it appears in
|
s361348295
|
p00000
|
C
|
#include<stdio.h>
#include<conio.h>
void main()
{
long long int j,i;
clrscr();
printf("Multiplication table from 1 to 15 \n\n");
for(i=1;i<=9;i++)
{
for(j=1;j<=9;j++)
printf("% lld\n",i*j);
printf("\n");
}
return 0;
}
|
main.c:2:9: fatal error: conio.h: No such file or directory
2 | #include<conio.h>
| ^~~~~~~~~
compilation terminated.
|
s635203683
|
p00000
|
C
|
#include<stdio.h>
int main(){
int i,j;
for(i=1;i<10;i++){
for(j=1;j<10j++){
printf("%dx%d=%d\n",i,j,i*j);
}
}
return(0);
}
|
main.c: In function 'main':
main.c:5:18: error: lvalue required as increment operand
5 | for(j=1;j<10j++){
| ^~
main.c:5:20: error: expected ';' before ')' token
5 | for(j=1;j<10j++){
| ^
| ;
|
s372695877
|
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",i,j,i*j);
}
}
return 0;
}
|
main.c: In function 'main':
main.c:6:19: error: expected expression before ')' token
6 | for(i=1;i<=10;i=++){
| ^
main.c:7:19: error: expected expression before ')' token
7 | for(j=1;j<=10;j=++)
| ^
main.c: At top level:
main.c:11:1: error: expected identifier or '(' before 'return'
11 | return 0;
| ^~~~~~
main.c:12:1: error: expected identifier or '(' before '}' token
12 | }
| ^
|
s526055876
|
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:9: fatal error: iostream: No such file or directory
1 | #include<iostream>
| ^~~~~~~~~~
compilation terminated.
|
s178931304
|
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:9: fatal error: iostream: No such file or directory
1 | #include<iostream>
| ^~~~~~~~~~
compilation terminated.
|
s385585890
|
p00000
|
C
|
#include<stdio.h>
int main(){
for(int i; i<10; i++) {
for(int j; j<10; j++) {
printf(%d+%d=%d", i, j, i*j);
}
}
return 0;
}
|
main.c: In function 'main':
main.c:6:20: error: expected expression before '%' token
6 | printf(%d+%d=%d", i, j, i*j);
| ^
main.c:6:28: warning: missing terminating " character
6 | printf(%d+%d=%d", i, j, i*j);
| ^
main.c:6:28: error: missing terminating " character
6 | printf(%d+%d=%d", i, j, i*j);
| ^~~~~~~~~~~~~~
main.c:6:28: error: expected ';' before '}' token
6 | printf(%d+%d=%d", i, j, i*j);
| ^
| ;
7 | }
| ~
|
s915810930
|
p00000
|
C
|
#include<stdio.h>
int main(){
for(int i=0; i<10; i++) {
for(int j=0; j<10; j++) {
printf(%d+%d=%d", i, j, i*j);
}
}
return 0;
}
|
main.c: In function 'main':
main.c:6:20: error: expected expression before '%' token
6 | printf(%d+%d=%d", i, j, i*j);
| ^
main.c:6:28: warning: missing terminating " character
6 | printf(%d+%d=%d", i, j, i*j);
| ^
main.c:6:28: error: missing terminating " character
6 | printf(%d+%d=%d", i, j, i*j);
| ^~~~~~~~~~~~~~
main.c:6:28: error: expected ';' before '}' token
6 | printf(%d+%d=%d", i, j, i*j);
| ^
| ;
7 | }
| ~
|
s479413145
|
p00000
|
C
|
#include<stdio.h>
int main(void){
int x,y;
for(x=1;x<=9;x++){
for(y=1;y<=9;Y++){
printf("%dx%d=%d\n", x,y,x*y);
}
}
return 0;
}
|
main.c: In function 'main':
main.c:8:30: error: 'Y' undeclared (first use in this function)
8 | for(y=1;y<=9;Y++){
| ^
main.c:8:30: note: each undeclared identifier is reported only once for each function it appears in
|
s206500970
|
p00000
|
C
|
int i,j;
for(i = 1; i <= 9; i++){
for(j = 1; j <= 9; j++)
printf("%d*%d=%d\n", i,j, i*j);
}
|
main.c:3:9: error: expected identifier or '(' before 'for'
3 | for(i = 1; i <= 9; i++){
| ^~~
main.c:3:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<=' token
3 | for(i = 1; i <= 9; i++){
| ^~
main.c:3:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before '++' token
3 | for(i = 1; i <= 9; i++){
| ^~
|
s836084640
|
p00000
|
C
|
#include <stdio.h>
int main() {
int a,b;
for(a = 1; a <= 9; a++){
for(b = 1; b <= 9; b++)
printf("%d*%d=%d\n", i, j, i*j);
}
return 0;
}
|
main.c: In function 'main':
main.c:8:38: error: 'i' undeclared (first use in this function)
8 | printf("%d*%d=%d\n", i, j, i*j);
| ^
main.c:8:38: note: each undeclared identifier is reported only once for each function it appears in
main.c:8:41: error: 'j' undeclared (first use in this function)
8 | printf("%d*%d=%d\n", i, j, i*j);
| ^
|
s274031862
|
p00000
|
C
|
#include<stdio.h>
int main(){
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:5:5: error: 'i' undeclared (first use in this function)
5 | for(i=1;i<10;i++){
| ^
main.c:5:5: 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(j=1;j<10;j++){
| ^
main.c:8:16: error: expected expression before '%' token
8 | printf(%dx%d=%d,i,j,i*j);
| ^
|
s192407988
|
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:10:16: error: expected expression before '%' token
10 | printf(%dx%d=%d,i,j,i*j);
| ^
|
s222504286
|
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:10:16: error: expected expression before '%' token
10 | printf(%dx%d=%d,i,j,i*j);
| ^
|
s665182448
|
p00000
|
C
|
#include<stdio.h>
int main(){
int i,j,n;
for(i=1;i<10;i++){
for(j=1;j<10;j++){
n=i*j;
printf(%dx%d=%d,i,j,n);
}
}
return 0;
}
|
main.c: In function 'main':
main.c:10:16: error: expected expression before '%' token
10 | printf(%dx%d=%d,i,j,n);
| ^
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.