criyle/codenet-compile-errors huggingface dataset:
Language: C

/*Cプログラムの例*/
#include<stdio.h>
int main(void)
{
   int x y
   scanf("%d",&x);
   scanf("%d",&y);
   y = x*x*x
   printf(%d\n",y);
   return 0;

Compiler output:
main.c: In function 'main':
main.c:5:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'y'
    5 |    int x y
      |          ^
main.c:5:10: error: unknown type name 'y'
main.c:6:10: error: expected declaration specifiers or '...' before string constant
    6 |    scanf("%d",&x);
      |          ^~~~
main.c:6:15: error: expected declaration specifiers or '...' before '&' token
    6 |    scanf("%d",&x);
      |               ^
main.c:7:16: error: 'y' undeclared (first use in this function)
    7 |    scanf("%d",&y);
      |                ^
main.c:7:16: note: each undeclared identifier is reported only once for each function it appears in
main.c:8:8: error: 'x' undeclared (first use in this function)
    8 |    y = x*x*x
      |        ^
main.c:8:13: error: expected ';' before 'printf'
    8 |    y = x*x*x
      |             ^
      |             ;
    9 |    printf(%d\n",y);
      |    ~~~~~~    
main.c:9:13: error: stray '\' in program
    9 |    printf(%d\n",y);
      |             ^
main.c:9:15: warning: missing terminating " character
    9 |    printf(%d\n",y);
      |               ^
main.c:9:15: error: missing terminating " character
    9 |    printf(%d\n",y);
      |               ^~~~~
main.c:10:4: error: expected declaration or statement at end of input
   10 |    return 0;
      |    ^~~~~~
Language: C

/*Cプログラムの例*/
#include<stdio.h>
int main(void)
{
   int x 
   scanf("%d",&x);
   y = x*x*x
   printf(%d\n",x*x*x);
   return 0;

Compiler output:
main.c: In function 'main':
main.c:6:4: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'scanf'
    6 |    scanf("%d",&x);
      |    ^~~~~
main.c:6:16: error: 'x' undeclared (first use in this function)
    6 |    scanf("%d",&x);
      |                ^
main.c:6:16: note: each undeclared identifier is reported only once for each function it appears in
main.c:7:4: error: 'y' undeclared (first use in this function)
    7 |    y = x*x*x
      |    ^
main.c:7:13: error: expected ';' before 'printf'
    7 |    y = x*x*x
      |             ^
      |             ;
    8 |    printf(%d\n",x*x*x);
      |    ~~~~~~    
main.c:8:13: error: stray '\' in program
    8 |    printf(%d\n",x*x*x);
      |             ^
main.c:8:15: warning: missing terminating " character
    8 |    printf(%d\n",x*x*x);
      |               ^
main.c:8:15: error: missing terminating " character
    8 |    printf(%d\n",x*x*x);
      |               ^~~~~~~~~
main.c:9:4: error: expected declaration or statement at end of input
    9 |    return 0;
      |    ^~~~~~
Language: C

/*Cプログラムの例*/
#include<stdio.h>
int main(void)
{
   int x 
   scanf("%d",&x);
   y = x*x*x
   printf(%d\n",x*x*x);
   return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:4: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'scanf'
    6 |    scanf("%d",&x);
      |    ^~~~~
main.c:6:16: error: 'x' undeclared (first use in this function)
    6 |    scanf("%d",&x);
      |                ^
main.c:6:16: note: each undeclared identifier is reported only once for each function it appears in
main.c:7:4: error: 'y' undeclared (first use in this function)
    7 |    y = x*x*x
      |    ^
main.c:7:13: error: expected ';' before 'printf'
    7 |    y = x*x*x
      |             ^
      |             ;
    8 |    printf(%d\n",x*x*x);
      |    ~~~~~~    
main.c:8:13: error: stray '\' in program
    8 |    printf(%d\n",x*x*x);
      |             ^
main.c:8:15: warning: missing terminating " character
    8 |    printf(%d\n",x*x*x);
      |               ^
main.c:8:15: error: missing terminating " character
    8 |    printf(%d\n",x*x*x);
      |               ^~~~~~~~~
main.c:10:1: error: expected declaration or statement at end of input
   10 | }
      | ^
Language: C

#include<stdio.h>
int main(void)
{
   int x;
   scanf("%d",&x);
   y = x*x*x
   printf(%d\n",x*x*x);
   return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:4: error: 'y' undeclared (first use in this function)
    6 |    y = x*x*x
      |    ^
main.c:6:4: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:13: error: expected ';' before 'printf'
    6 |    y = x*x*x
      |             ^
      |             ;
    7 |    printf(%d\n",x*x*x);
      |    ~~~~~~    
main.c:7:13: error: stray '\' in program
    7 |    printf(%d\n",x*x*x);
      |             ^
main.c:7:15: warning: missing terminating " character
    7 |    printf(%d\n",x*x*x);
      |               ^
main.c:7:15: error: missing terminating " character
    7 |    printf(%d\n",x*x*x);
      |               ^~~~~~~~~
main.c:9:1: error: expected declaration or statement at end of input
    9 | }
      | ^
Language: C

#include<stdio.h>
int main(void)
{
   int x;
   scanf("%d",&x);
   printf(%d\n" , x*x*x);
   return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:11: error: expected expression before '%' token
    6 |    printf(%d\n" , x*x*x);
      |           ^
main.c:6:13: error: stray '\' in program
    6 |    printf(%d\n" , x*x*x);
      |             ^
main.c:6:15: warning: missing terminating " character
    6 |    printf(%d\n" , x*x*x);
      |               ^
main.c:6:15: error: missing terminating " character
    6 |    printf(%d\n" , x*x*x);
      |               ^~~~~~~~~~~
main.c:7:13: error: expected ';' before '}' token
    7 |    return 0;
      |             ^
      |             ;
    8 | }
      | ~
Language: C

#include<stdio.h>
int x;
scanf("%d", &x);
printf("%d\n", x*x*x);
return 0;
}

Compiler output:
main.c:3:7: error: expected declaration specifiers or '...' before string constant
    3 | scanf("%d", &x);
      |       ^~~~
main.c:3:13: error: expected declaration specifiers or '...' before '&' token
    3 | scanf("%d", &x);
      |             ^
main.c:4:8: error: expected declaration specifiers or '...' before string constant
    4 | printf("%d\n", x*x*x);
      |        ^~~~~~
main.c:4:16: error: expected declaration specifiers or '...' before 'x'
    4 | printf("%d\n", x*x*x);
      |                ^
main.c:5:1: error: expected identifier or '(' before 'return'
    5 | return 0;
      | ^~~~~~
main.c:6:1: error: expected identifier or '(' before '}' token
    6 | }
      | ^
Language: C

int main
int x;
scanf("%d", &x);
printf("%d\n", x*x*x);
return 0;
}

Compiler output:
main.c:1:9: error: expected ';' before 'int'
    1 | int main
      |         ^
      |         ;
    2 | int x;
      | ~~~      
main.c:3:7: error: expected declaration specifiers or '...' before string constant
    3 | scanf("%d", &x);
      |       ^~~~
main.c:3:13: error: expected declaration specifiers or '...' before '&' token
    3 | scanf("%d", &x);
      |             ^
main.c:4:8: error: expected declaration specifiers or '...' before string constant
    4 | printf("%d\n", x*x*x);
      |        ^~~~~~
main.c:4:16: error: expected declaration specifiers or '...' before 'x'
    4 | printf("%d\n", x*x*x);
      |                ^
main.c:5:1: error: expected identifier or '(' before 'return'
    5 | return 0;
      | ^~~~~~
main.c:6:1: error: expected identifier or '(' before '}' token
    6 | }
      | ^
Language: C

#include<stdio.h>
int main(void)
{
   int x y
   scanf("%d", &x);
   scanf("%d", &y);
   y = x*x*x
   printf("%d\n", y);
   return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'y'
    4 |    int x y
      |          ^
main.c:4:10: error: unknown type name 'y'
main.c:5:10: error: expected declaration specifiers or '...' before string constant
    5 |    scanf("%d", &x);
      |          ^~~~
main.c:5:16: error: expected declaration specifiers or '...' before '&' token
    5 |    scanf("%d", &x);
      |                ^
main.c:6:17: error: 'y' undeclared (first use in this function)
    6 |    scanf("%d", &y);
      |                 ^
main.c:6:17: note: each undeclared identifier is reported only once for each function it appears in
main.c:7:8: error: 'x' undeclared (first use in this function)
    7 |    y = x*x*x
      |        ^
main.c:7:13: error: expected ';' before 'printf'
    7 |    y = x*x*x
      |             ^
      |             ;
    8 |    printf("%d\n", y);
      |    ~~~~~~
Language: C

#include <stdio.h>
int main()
{
	int i;
	while(true)
	{
		scanf("%d", &i);
		printf("%d\n", i*i*i);
	}
	return 0;
}


Compiler output:
main.c: In function 'main':
main.c:5:15: error: 'true' undeclared (first use in this function)
    5 |         while(true)
      |               ^~~~
main.c:2:1: note: 'true' is defined in header '<stdbool.h>'; this is probably fixable by adding '#include <stdbool.h>'
    1 | #include <stdio.h>
  +++ |+#include <stdbool.h>
    2 | int main()
main.c:5:15: note: each undeclared identifier is reported only once for each function it appears in
    5 |         while(true)
      |               ^~~~
Language: C

#include
int main(){
 int x=1<=x<=100
    printf("%d\n",x*x*x);
}
return 0;


Compiler output:
main.c:1:9: error: #include expects "FILENAME" or <FILENAME>
    1 | #include
      |         ^
main.c: In function 'main':
main.c:4:5: error: expected ',' or ';' before 'printf'
    4 |     printf("%d\n",x*x*x);
      |     ^~~~~~
main.c: At top level:
main.c:6:1: error: expected identifier or '(' before 'return'
    6 | return 0;
      | ^~~~~~
Language: C

#include
int main(){
 int x=1<=x<=100
    printf("%d\n",x*x*x);
 return 0;
}


Compiler output:
main.c:1:9: error: #include expects "FILENAME" or <FILENAME>
    1 | #include
      |         ^
main.c: In function 'main':
main.c:4:5: error: expected ',' or ';' before 'printf'
    4 |     printf("%d\n",x*x*x);
      |     ^~~~~~
Language: C

#include
int main(){
 int x<-x<-100
    printf("%d\n",x*x*x);
 return 0;
}


Compiler output:
main.c:1:9: error: #include expects "FILENAME" or <FILENAME>
    1 | #include
      |         ^
main.c: In function 'main':
main.c:3:7: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    3 |  int x<-x<-100
      |       ^
main.c:3:7: error: expected expression before '<' token
Language: C

#include "stdion.h"

int main(void){
     int x;
     scanf(&d,x);
     int cube = x**3;
     printf("%d",cube);
     return 0;
}


Compiler output:
main.c:1:10: fatal error: stdion.h: No such file or directory
    1 | #include "stdion.h"
      |          ^~~~~~~~~~
compilation terminated.
Language: C

#include<stdio.h>
int main(void){
int suti,kai;
for(suti<1||suti>100){
scanf("%d",suti);
}
kai=suti*suti*suti;
printf("%d",kai);
return 0;


Compiler output:
main.c: In function 'main':
main.c:4:21: error: expected ';' before ')' token
    4 | for(suti<1||suti>100){
      |                     ^
      |                     ;
main.c:4:21: error: expected expression before ')' token
main.c:9:1: error: expected declaration or statement at end of input
    9 | return 0;
      | ^~~~~~
Language: C

include<stdio.h>
int main()
{
    int a;
    scanf("%d",&a);
    printf("%d\n",a*a*a);
    return 0;
   }


Compiler output:
main.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | include<stdio.h>
      |        ^
Language: C

include<stdio.h>
 
int main(){
  int x;

  scanf("%d", &x);
 
  printf("%d\n",x*x*x);
 
  return 0;
}


Compiler output:
main.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | include<stdio.h>
      |        ^
Language: C

#include<stdio.h>

int main(void){

char str[100]

scanf("%s",str);
printf("%s\n",str);
return 0;

}


Compiler output:
main.c: In function 'main':
main.c:7:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'scanf'
    7 | scanf("%s",str);
      | ^~~~~
main.c:7:12: error: 'str' undeclared (first use in this function)
    7 | scanf("%s",str);
      |            ^~~
main.c:7:12: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include<stdio.h>
int main(){
int x;
scanf("%d",&x);
y=x*x*x;
printf("%d\n",y);
return 0;
}


Compiler output:
main.c: In function 'main':
main.c:5:1: error: 'y' undeclared (first use in this function)
    5 | y=x*x*x;
      | ^
main.c:5:1: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include<stdio.h>
main{
  int x;
  scanf("%d",x&);
  orintf("%d\n",x*x*x);
  return 0;
}


Compiler output:
main.c:2:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    2 | main{
      |     ^
Language: C

#include<stdio.h>
int main(void)
{
  int x;
  scanf("%d",&x);
  printf("%d\n",x*x*x*);
  return 0;
}



Compiler output:
main.c: In function 'main':
main.c:6:23: error: expected expression before ')' token
    6 |   printf("%d\n",x*x*x*);
      |                       ^
Language: C

#include<stdio.h>
int main(void)
{
  int x;
  scanf("%d",&x);
  printf("%d\n",x*x*x*);
  return 0;
}


Compiler output:
main.c: In function 'main':
main.c:6:23: error: expected expression before ')' token
    6 |   printf("%d\n",x*x*x*);
      |                       ^
Language: C

#include <stdio.h>
 
int main(void){
  int x;
  scanf("%d",&x);

  printf((x*x*x) + "\n")
 
  return 0;
}


Compiler output:
main.c:2:1: error: stray '\302' in program
    2 | <U+00A0>
      | ^~~~~~~~
main.c: In function 'main':
main.c:4:1: error: stray '\302' in program
    4 | <U+00A0><U+00A0>int x;
      | ^~~~~~~~
main.c:4:2: error: stray '\302' in program
    4 | <U+00A0><U+00A0>int x;
      |         ^~~~~~~~
main.c:8:1: error: stray '\302' in program
    8 | <U+00A0>
      | ^~~~~~~~
main.c:9:1: error: stray '\302' in program
    9 | <U+00A0><U+00A0>return 0;
      | ^~~~~~~~
main.c:9:2: error: stray '\302' in program
    9 | <U+00A0><U+00A0>return 0;
      |         ^~~~~~~~
main.c:7:25: error: expected ';' before 'return'
    7 |   printf((x*x*x) + "\n")
      |                         ^
      |                         ;
    8 |  
    9 |   return 0;
      |   ~~~~~~
Language: C

#include <stdio.h>

int main(void){
  int x;
  scanf("%d",&x);

  printf((x*x*x) + "\n")

  return 0;
}


Compiler output:
main.c: In function 'main':
main.c:7:25: error: expected ';' before 'return'
    7 |   printf((x*x*x) + "\n")
      |                         ^
      |                         ;
    8 | 
    9 |   return 0;
      |   ~~~~~~
Language: C

#include <stdio.h>
int main(int c,char **v){int a;a=atoi(*v);printf("%d",a*a*a;}



Compiler output:
main.c: In function 'main':
main.c:2:34: error: implicit declaration of function 'atoi' [-Wimplicit-function-declaration]
    2 | int main(int c,char **v){int a;a=atoi(*v);printf("%d",a*a*a;}
      |                                  ^~~~
main.c:2:60: error: expected ')' before ';' token
    2 | int main(int c,char **v){int a;a=atoi(*v);printf("%d",a*a*a;}
      |                                                 ~          ^
      |                                                            )
main.c:2:61: error: expected ';' before '}' token
    2 | int main(int c,char **v){int a;a=atoi(*v);printf("%d",a*a*a;}
      |                                                             ^
      |                                                             ;
Language: C

#include <stdio.h>
#include <stdlib.h>
int main(int c,char **v){char a[4];b;scanf("%d",a);b=atoi(*v);printf("%d",b*b*b);}



Compiler output:
main.c: In function 'main':
main.c:3:36: error: 'b' undeclared (first use in this function)
    3 | int main(int c,char **v){char a[4];b;scanf("%d",a);b=atoi(*v);printf("%d",b*b*b);}
      |                                    ^
main.c:3:36: note: each undeclared identifier is reported only once for each function it appears in
Language: C

lineLength = input()
print(pow(int(lineLength), 3))


Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | lineLength = input()
      | ^~~~~~~~~~
main.c:1:1: error: type defaults to 'int' in declaration of 'lineLength' [-Wimplicit-int]
main.c:1:14: error: implicit declaration of function 'input' [-Wimplicit-function-declaration]
    1 | lineLength = input()
      |              ^~~~~
main.c:1:14: error: initializer element is not constant
main.c:2:1: error: expected ',' or ';' before 'print'
    2 | print(pow(int(lineLength), 3))
      | ^~~~~
Language: C

#include<stdio.h>
main(){
  int x;
  scanf("%d",&x);
  printf("%d\n",x*x*x);
  return 0;
}


Compiler output:
main.c:2:1: error: return type defaults to 'int' [-Wimplicit-int]
    2 | main(){
      | ^~~~
main.c: In function 'main':
main.c:3:1: error: stray '\302' in program
    3 | <U+00A0><U+00A0>int x;
      | ^~~~~~~~
main.c:3:2: error: stray '\302' in program
    3 | <U+00A0><U+00A0>int x;
      |         ^~~~~~~~
main.c:4:1: error: stray '\302' in program
    4 | <U+00A0><U+00A0>scanf("%d",&x);
      | ^~~~~~~~
main.c:4:2: error: stray '\302' in program
    4 | <U+00A0><U+00A0>scanf("%d",&x);
      |         ^~~~~~~~
main.c:5:1: error: stray '\302' in program
    5 | <U+00A0><U+00A0>printf("%d\n",x*x*x);
      | ^~~~~~~~
main.c:5:2: error: stray '\302' in program
    5 | <U+00A0><U+00A0>printf("%d\n",x*x*x);
      |         ^~~~~~~~
main.c:6:1: error: stray '\302' in program
    6 | <U+00A0><U+00A0>return 0;
      | ^~~~~~~~
main.c:6:2: error: stray '\302' in program
    6 | <U+00A0><U+00A0>return 0;
      |         ^~~~~~~~
Language: C

#include<stdio.h>

int main(void)
{

    scanf("%s",a);
    printf("%d",a*a*a);

    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:6:16: error: 'a' undeclared (first use in this function)
    6 |     scanf("%s",a);
      |                ^
main.c:6:16: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include<stdio.h>
int main (void)
{
 int X;
 int sum;

 X = 2 ;
 sum = 0;

sum = X * X * X;
 printf("%d\n" sum );

return 0;
}
 
 


Compiler output:
main.c: In function 'main':
main.c:11:15: error: expected ')' before 'sum'
   11 |  printf("%d\n" sum );
      |        ~      ^~~~
      |               )
Language: C

#include<stdio.h>

int main(void)
{
	int x;
	scanf("%d",&x);
	x=x*x*x
	printf("%d\n",x);
	
	return 0;
}


Compiler output:
main.c: In function 'main':
main.c:7:16: error: expected ';' before 'printf'
    7 |         x=x*x*x
      |                ^
      |                ;
    8 |         printf("%d\n",x);
      |         ~~~~~~
Language: C

#include<stdio.h>

int main(){

int x;

scanf("%d",&x)

printf("%d\n",x*x*x);

return 0;
}


Compiler output:
main.c: In function 'main':
main.c:7:15: error: expected ';' before 'printf'
    7 | scanf("%d",&x)
      |               ^
      |               ;
    8 | 
    9 | printf("%d\n",x*x*x);
      | ~~~~~~
Language: C

#include <stdio.h>
int main(void)
{
int x
	scanf("%d",&x);
	printf("%d\n",x*x*x);
	return 0;
}		


Compiler output:
main.c: In function 'main':
main.c:5:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'scanf'
    5 |         scanf("%d",&x);
      |         ^~~~~
main.c:5:21: error: 'x' undeclared (first use in this function)
    5 |         scanf("%d",&x);
      |                     ^
main.c:5:21: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include<stdio.h>
int main()
{
	int x;
	scanf("%d,&x");
	printf("%d\n,x);
}


Compiler output:
main.c: In function 'main':
main.c:6:16: warning: missing terminating " character
    6 |         printf("%d\n,x);
      |                ^
main.c:6:16: error: missing terminating " character
    6 |         printf("%d\n,x);
      |                ^~~~~~~~~
main.c:7:1: error: expected expression before '}' token
    7 | }
      | ^
main.c:6:16: error: expected ';' before '}' token
    6 |         printf("%d\n,x);
      |                ^
      |                ;
    7 | }
      | ~
Language: C

#include<stdio.h>
int main()
{
	int x;
	scanf("%d,&x");
	printf("%d\n,x*x*x);
	
	return 0;
}


Compiler output:
main.c: In function 'main':
main.c:6:16: warning: missing terminating " character
    6 |         printf("%d\n,x*x*x);
      |                ^
main.c:6:16: error: missing terminating " character
    6 |         printf("%d\n,x*x*x);
      |                ^~~~~~~~~~~~~
main.c:8:9: error: expected expression before 'return'
    8 |         return 0;
      |         ^~~~~~
main.c:8:18: error: expected ';' before '}' token
    8 |         return 0;
      |                  ^
      |                  ;
    9 | }
      | ~
Language: C

#include<stdio.h>

int main(){

int x;

scanf("%d",&x);

printf("%d",x*x*x);

returm 0;
}


Compiler output:
main.c: In function 'main':
main.c:11:1: error: 'returm' undeclared (first use in this function)
   11 | returm 0;
      | ^~~~~~
main.c:11:1: note: each undeclared identifier is reported only once for each function it appears in
main.c:11:7: error: expected ';' before numeric constant
   11 | returm 0;
      |       ^~
      |       ;
Language: C

#include<stdio.h>
int main()
{
	int x;
	scanf("%d",&x);
	printf("%d\n,x*x*x);
	
	return 0;
}


Compiler output:
main.c: In function 'main':
main.c:6:16: warning: missing terminating " character
    6 |         printf("%d\n,x*x*x);
      |                ^
main.c:6:16: error: missing terminating " character
    6 |         printf("%d\n,x*x*x);
      |                ^~~~~~~~~~~~~
main.c:8:9: error: expected expression before 'return'
    8 |         return 0;
      |         ^~~~~~
main.c:8:18: error: expected ';' before '}' token
    8 |         return 0;
      |                  ^
      |                  ;
    9 | }
      | ~
Language: C

#include<stdio.h>
int main (void)
{
 int x;
 x = 0;

scanf("%d" &x)

 
printf("%d\n", x = x * x * x );  

return 0;
}


Compiler output:
main.c: In function 'main':
main.c:7:12: error: invalid operands to binary & (have 'char *' and 'int')
    7 | scanf("%d" &x)
      |       ~~~~ ^
      |       |
      |       char *
main.c:7:15: error: expected ';' before 'printf'
    7 | scanf("%d" &x)
      |               ^
      |               ;
......
   10 | printf("%d\n", x = x * x * x );
      | ~~~~~~
Language: C

#include<stdio.h>
int main (void)
{
 int x;
 x = 0;

scanf("%d" &x);

 
printf("%d\n", x = x * x * x );  

return 0;
}


Compiler output:
main.c: In function 'main':
main.c:7:12: error: invalid operands to binary & (have 'char *' and 'int')
    7 | scanf("%d" &x);
      |       ~~~~ ^
      |       |
      |       char *
Language: C

#include<stdio.h>
int x;
int y;
scanf("%d",&x);
if (1<=x<=100){
y=x*x*x;
printf("%d",y);

}
else{
return 0;
}
}




Compiler output:
main.c:4:7: error: expected declaration specifiers or '...' before string constant
    4 | scanf("%d",&x);
      |       ^~~~
main.c:4:12: error: expected declaration specifiers or '...' before '&' token
    4 | scanf("%d",&x);
      |            ^
main.c:5:1: error: expected identifier or '(' before 'if'
    5 | if (1<=x<=100){
      | ^~
main.c:10:1: error: expected identifier or '(' before 'else'
   10 | else{
      | ^~~~
main.c:13:1: error: expected identifier or '(' before '}' token
   13 | }
      | ^
Language: C

#include<stdio.h>
int main(){
int x=2;
pritnf("%d",x**3);
return 0;
}


Compiler output:
main.c: In function 'main':
main.c:4:1: error: implicit declaration of function 'pritnf'; did you mean 'printf'? [-Wimplicit-function-declaration]
    4 | pritnf("%d",x**3);
      | ^~~~~~
      | printf
main.c:4:15: error: invalid type argument of unary '*' (have 'int')
    4 | pritnf("%d",x**3);
      |               ^~
Language: C

#include <stdio.h>

int main()
{
	int x, y;

	scanf_s("%d", &x);

	if (x < 1 || 100 < x) {
		fprintf(stderr, "invalid input %d\n", x);
		return 1;
	}

	y = x * x * x;

	printf("%d\n", y);

	return 0;
}


Compiler output:
main.c: In function 'main':
main.c:7:9: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    7 |         scanf_s("%d", &x);
      |         ^~~~~~~
      |         scanf
Language: C

#include<stdio.h>

int main(){
int x

scanf("%d", &x);

printf("%d\n", x*x*x);

return 0;

}























Compiler output:
main.c: In function 'main':
main.c:6:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'scanf'
    6 | scanf("%d", &x);
      | ^~~~~
main.c:6:14: error: 'x' undeclared (first use in this function)
    6 | scanf("%d", &x);
      |              ^
main.c:6:14: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include<stdio.h>

int main(){
	
	int x;

	scanf("%d", &x);

	printf("%d\n" x*x*x);

	return 0;
}


Compiler output:
main.c: In function 'main':
main.c:9:22: error: expected ')' before 'x'
    9 |         printf("%d\n" x*x*x);
      |               ~      ^~
      |                      )
Language: C

#include<stdio.h>
int main(void){
    int a;
    scanf("%d",&a);
    printf("%d\n",a**3);
    
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:5:21: error: invalid type argument of unary '*' (have 'int')
    5 |     printf("%d\n",a**3);
      |                     ^~
Language: C

using System;
public static class x*x*x
{
    public static void Main()
    (
     int x=int.Parse(Console.ReadLine());
     Console.WriteLine(x*x*x); 
    
    )
}



Compiler output:
main.c:1:1: error: unknown type name 'using'
    1 | using System;
      | ^~~~~
main.c:2:7: error: expected ';' before 'static'
    2 | public static class x*x*x
      |       ^~~~~~~
      |       ;
main.c:2:15: error: unknown type name 'class'
    2 | public static class x*x*x
      |               ^~~~~
main.c:2:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
    2 | public static class x*x*x
      |                      ^
Language: C

int main() {
    int i;
    i=5
    scanf("%d",&i);
    /* printf("Hello World\n"); */
    printf("%d\n",i);
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:3:8: error: expected ';' before 'scanf'
    3 |     i=5
      |        ^
      |        ;
    4 |     scanf("%d",&i);
      |     ~~~~~
main.c:6:5: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    6 |     printf("%d\n",i);
      |     ^~~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'printf'
  +++ |+#include <stdio.h>
    1 | int main() {
main.c:6:5: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    6 |     printf("%d\n",i);
      |     ^~~~~~
main.c:6:5: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

#include<stdio.h>

int main(void){
    int x;
    scanf("%d", &x);
    printf("%d", x*x*x);
    
    retrun 0;
}


Compiler output:
main.c: In function 'main':
main.c:8:5: error: 'retrun' undeclared (first use in this function)
    8 |     retrun 0;
      |     ^~~~~~
main.c:8:5: note: each undeclared identifier is reported only once for each function it appears in
main.c:8:11: error: expected ';' before numeric constant
    8 |     retrun 0;
      |           ^~
      |           ;
Language: C

#include<stdio.h>
int main()
{
   int x,cube;
   scanf("%d\n",&x);
   
   cube=x*x*x*;
    printf("%d\n",cube);
  return 0;
}
    


Compiler output:
main.c: In function 'main':
main.c:7:15: error: expected expression before ';' token
    7 |    cube=x*x*x*;
      |               ^
Language: C

#include<stdio.h>
int main()
{
   int x,cube;
   scanf("%d\n",&x);
   
   cube = x*x*x*;
    printf("%d\n",cube);
  return 0;
}
    


Compiler output:
main.c: In function 'main':
main.c:7:17: error: expected expression before ';' token
    7 |    cube = x*x*x*;
      |                 ^
Language: C

#include<stdio.h>
int main()
{
   int x,cube;
   scanf("%d\n",&x);
   
   cube = x*x*x*;
    printf("%d\n,cube");
  return 0;
}
    


Compiler output:
main.c: In function 'main':
main.c:7:17: error: expected expression before ';' token
    7 |    cube = x*x*x*;
      |                 ^
Language: C

#include<stdio.h>
int main()
{
   int x,c;
   scanf("%d\n",&x);
   
   c = x*x*x*;
    printf("%d\n,c");
  return 0;
}
    


Compiler output:
main.c: In function 'main':
main.c:7:14: error: expected expression before ';' token
    7 |    c = x*x*x*;
      |              ^
Language: C

#include<stdio.h>

int main(){

	x = input(); //xは任意の整数

	y = x * x * x;　//xの3乗

	printf ("%d",y);

}

//	"%d"→引数を符号付き10進数に変換する


Compiler output:
main.c: In function 'main':
main.c:5:9: error: 'x' undeclared (first use in this function)
    5 |         x = input(); //xは任意の整数
      |         ^
main.c:5:9: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:13: error: implicit declaration of function 'input' [-Wimplicit-function-declaration]
    5 |         x = input(); //xは任意の整数
      |             ^~~~~
main.c:7:9: error: 'y' undeclared (first use in this function)
    7 |         y = x * x * x;　//xの3乗
      |         ^
main.c:7:23: error: stray '\343' in program
    7 |         y = x * x * x;<U+3000>//x<U+306E>3<U+4E57>
      |                       ^~~~~~~~
Language: C

#include<stdio.h>

int main(){

	x = input(); 

	y = x * x * x;　

	printf ("%d",y);

}





Compiler output:
main.c: In function 'main':
main.c:5:9: error: 'x' undeclared (first use in this function)
    5 |         x = input();
      |         ^
main.c:5:9: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:13: error: implicit declaration of function 'input' [-Wimplicit-function-declaration]
    5 |         x = input();
      |             ^~~~~
main.c:7:9: error: 'y' undeclared (first use in this function)
    7 |         y = x * x * x;　
      |         ^
main.c:7:23: error: stray '\343' in program
    7 |         y = x * x * x;<U+3000>
      |                       ^~~~~~~~
Language: C

#include<stdio.h>

int main(){

	x = input(); 

	y = x * x * x;　

	printf ("%d",y);

}




Compiler output:
main.c: In function 'main':
main.c:5:9: error: 'x' undeclared (first use in this function)
    5 |         x = input();
      |         ^
main.c:5:9: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:13: error: implicit declaration of function 'input' [-Wimplicit-function-declaration]
    5 |         x = input();
      |             ^~~~~
main.c:7:9: error: 'y' undeclared (first use in this function)
    7 |         y = x * x * x;　
      |         ^
main.c:7:23: error: stray '\343' in program
    7 |         y = x * x * x;<U+3000>
      |                       ^~~~~~~~
Language: C

#include<stdio.h>

int main(2){

	x = input(2); 

	y = x * x * x;　

	printf ("%d",y);

}




Compiler output:
main.c:3:10: error: expected declaration specifiers or '...' before numeric constant
    3 | int main(2){
      |          ^
main.c:7:23: error: stray '\343' in program
    7 |         y = x * x * x;<U+3000>
      |                       ^~~~~~~~
Language: C

#include<stdio.h>
 
int main(){
  intx;

  scanf("%d", &x);
 
  printf("%d\n",x*x*x);
 
  return 0;
}


Compiler output:
main.c: In function 'main':
main.c:4:3: error: 'intx' undeclared (first use in this function); did you mean 'int'?
    4 |   intx;
      |   ^~~~
      |   int
main.c:4:3: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:16: error: 'x' undeclared (first use in this function)
    6 |   scanf("%d", &x);
      |                ^
Language: C

#include<stdio.h>

int main(){

	x = input(); 

	y =(x * x * x);

	printf ("%d",y);

}



Compiler output:
main.c: In function 'main':
main.c:5:9: error: 'x' undeclared (first use in this function)
    5 |         x = input();
      |         ^
main.c:5:9: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:13: error: implicit declaration of function 'input' [-Wimplicit-function-declaration]
    5 |         x = input();
      |             ^~~~~
main.c:7:9: error: 'y' undeclared (first use in this function)
    7 |         y =(x * x * x);
      |         ^
Language: C

#include<stdio.h>

int x;

printf("%d",x*x*x);

return 0;

}


Compiler output:
main.c:5:8: error: expected declaration specifiers or '...' before string constant
    5 | printf("%d",x*x*x);
      |        ^~~~
main.c:5:13: error: expected declaration specifiers or '...' before 'x'
    5 | printf("%d",x*x*x);
      |             ^
main.c:7:1: error: expected identifier or '(' before 'return'
    7 | return 0;
      | ^~~~~~
main.c:9:1: error: expected identifier or '(' before '}' token
    9 | }
      | ^
Language: C

#include<stdio.h>
 
int x;

scanf_s("%d",x); 
printf("%d",x*x*x);
 
return 0;
 
}


Compiler output:
main.c:5:9: error: expected declaration specifiers or '...' before string constant
    5 | scanf_s("%d",x);
      |         ^~~~
main.c:5:14: error: expected declaration specifiers or '...' before 'x'
    5 | scanf_s("%d",x);
      |              ^
main.c:6:8: error: expected declaration specifiers or '...' before string constant
    6 | printf("%d",x*x*x);
      |        ^~~~
main.c:6:13: error: expected declaration specifiers or '...' before 'x'
    6 | printf("%d",x*x*x);
      |             ^
main.c:8:1: error: expected identifier or '(' before 'return'
    8 | return 0;
      | ^~~~~~
main.c:10:1: error: expected identifier or '(' before '}' token
   10 | }
      | ^
Language: C

#include <stdio.h>
int main(void){
int a, t;
a=0;
t=a*a*a;
printf("t"\n);
return(0);
}



Compiler output:
main.c: In function 'main':
main.c:6:11: error: stray '\' in program
    6 | printf("t"\n);
      |           ^
main.c:6:11: error: expected ')' before 'n'
    6 | printf("t"\n);
      |       ~   ^~
      |           )
Language: C

#include<stdio.h>
int main(void)
{
 scanf("%d",&x);
 printf("%d\n", x^3);
return 0;
}



Compiler output:
main.c: In function 'main':
main.c:4:14: error: 'x' undeclared (first use in this function)
    4 |  scanf("%d",&x);
      |              ^
main.c:4:14: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include <stdio.h>

int main(void){
int a,t;
a = 0;
t = a*a*a;
printf("%d,t"&t);
return();
}


Compiler output:
main.c: In function 'main':
main.c:7:14: error: invalid operands to binary & (have 'char *' and 'int')
    7 | printf("%d,t"&t);
      |        ~~~~~~^
      |        |
      |        char *
main.c:8:8: error: expected expression before ')' token
    8 | return();
      |        ^
Language: C

#include<stdio.h>
int main(void)
{
	int x;
	scanf("%d",x);
	y=x*x*x;
	printf("%d",x*x*x);
	return 0;
}


Compiler output:
main.c: In function 'main':
main.c:6:9: error: 'y' undeclared (first use in this function)
    6 |         y=x*x*x;
      |         ^
main.c:6:9: note: each undeclared identifier is reported only once for each function it appears in
Language: C

//itp1_topic1_b
#include <bits/stdc++.h>
using namespace std;
int main(){
  int x;
  cin>>x;
  cout<<x*x*x<<emdl;
  return 0;
}  



Compiler output:
main.c:2:10: fatal error: bits/stdc++.h: No such file or directory
    2 | #include <bits/stdc++.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
Language: C

#include<stdio.h>
int main(void)
{
int x;
scanf("%d", &x);
x=x*x*x
printf("%d\n", x);
return 0;
}


Compiler output:
main.c: In function 'main':
main.c:6:8: error: expected ';' before 'printf'
    6 | x=x*x*x
      |        ^
      |        ;
    7 | printf("%d\n", x);
      | ~~~~~~
Language: C

#include<stdio.h>
int main(){
int x;
scanf("%d", &x);
x=x*x*x
printf("%d\n", x);
return 0;
}


Compiler output:
main.c: In function 'main':
main.c:5:8: error: expected ';' before 'printf'
    5 | x=x*x*x
      |        ^
      |        ;
    6 | printf("%d\n", x);
      | ~~~~~~
Language: C

#include<stdio.h>
 
void main(){
 
    int x;
     
    scanf_s("%d",&x);
 
    printf("%d",x*x*x);
 
return 0;
     
}


Compiler output:
main.c: In function 'main':
main.c:7:5: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    7 |     scanf_s("%d",&x);
      |     ^~~~~~~
      |     scanf
main.c:11:8: error: 'return' with a value, in function returning void [-Wreturn-mismatch]
   11 | return 0;
      |        ^
main.c:3:6: note: declared here
    3 | void main(){
      |      ^~~~
Language: C

#include<stdio.h>
  
int main(){
  
    int x;
      
    scanf_s("%d",&x);
  
    printf("%d\n",x*x*x);
  
return 0;
      
}


Compiler output:
main.c: In function 'main':
main.c:7:5: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    7 |     scanf_s("%d",&x);
      |     ^~~~~~~
      |     scanf
Language: C

#include<stdio.h>
int main(void)
{
	int x;
	x = 0;

	scanf_s("%d", &x);
	printf("%d", x*x*x)

		return 0;
}


Compiler output:
main.c: In function 'main':
main.c:7:9: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    7 |         scanf_s("%d", &x);
      |         ^~~~~~~
      |         scanf
main.c:8:28: error: expected ';' before 'return'
    8 |         printf("%d", x*x*x)
      |                            ^
      |                            ;
    9 | 
   10 |                 return 0;
      |                 ~~~~~~
Language: C

#include<stdio.h>
int main(void)
{
	int x=0;

	scanf_s("%d", &x);
	printf("%d\n", x*x*x);

	return 0;
}


Compiler output:
main.c: In function 'main':
main.c:6:9: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    6 |         scanf_s("%d", &x);
      |         ^~~~~~~
      |         scanf
Language: C

#include<stdio.h>
int main(void)
{
	int x;

	scanf_s("%d", &x);
	printf("%d\n", x*x*x);

	return 0;
}


Compiler output:
main.c: In function 'main':
main.c:6:9: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    6 |         scanf_s("%d", &x);
      |         ^~~~~~~
      |         scanf
Language: C

#include<stdio.h>
int main()
{
	int x;

	scanf_s("%d", &x);
	printf("%d\n", x*x*x);

	return 0;
}


Compiler output:
main.c: In function 'main':
main.c:6:9: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    6 |         scanf_s("%d", &x);
      |         ^~~~~~~
      |         scanf
Language: C

#include<stdio.h>
int main(void)
{
	int x=0;

	scanf_s("%d", &x);

	printf("%d\n", x*x*x);

	return 0;
}


Compiler output:
main.c: In function 'main':
main.c:6:9: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    6 |         scanf_s("%d", &x);
      |         ^~~~~~~
      |         scanf
Language: C

int main(int x)
{
    int ret = x << 3;
    printf("%d\n", &ret);
    return 0
}



Compiler output:
main.c: In function 'main':
main.c:4:5: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    4 |     printf("%d\n", &ret);
      |     ^~~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'printf'
  +++ |+#include <stdio.h>
    1 | int main(int x)
main.c:4:5: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    4 |     printf("%d\n", &ret);
      |     ^~~~~~
main.c:4:5: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:5:13: error: expected ';' before '}' token
    5 |     return 0
      |             ^
      |             ;
    6 | }
      | ~
Language: C

int main(int x)
{
int x;
scanf("%d\n", &x);
printf("%d\n", x*x*x);
}



Compiler output:
main.c: In function 'main':
main.c:3:5: error: 'x' redeclared as different kind of symbol
    3 | int x;
      |     ^
main.c:1:14: note: previous definition of 'x' with type 'int'
    1 | int main(int x)
      |          ~~~~^
main.c:4:1: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    4 | scanf("%d\n", &x);
      | ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | int main(int x)
main.c:4:1: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    4 | scanf("%d\n", &x);
      | ^~~~~
main.c:4:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:5:1: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    5 | printf("%d\n", x*x*x);
      | ^~~~~~
main.c:5:1: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:5:1: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:5:1: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

int main(int x)
{
  int x;

  scanf("%d\n", &x);
  printf("%d\n", x*x*x);
  return 0;
}



Compiler output:
main.c: In function 'main':
main.c:3:7: error: 'x' redeclared as different kind of symbol
    3 |   int x;
      |       ^
main.c:1:14: note: previous definition of 'x' with type 'int'
    1 | int main(int x)
      |          ~~~~^
main.c:5:3: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    5 |   scanf("%d\n", &x);
      |   ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | int main(int x)
main.c:5:3: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    5 |   scanf("%d\n", &x);
      |   ^~~~~
main.c:5:3: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:6:3: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    6 |   printf("%d\n", x*x*x);
      |   ^~~~~~
main.c:6:3: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:6:3: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:6:3: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

#include<stdio.h>

int main(){
    int a;
    scanf("%d\n",a);
    a = a * a * a
    printf("%d",a)
}


Compiler output:
main.c: In function 'main':
main.c:6:18: error: expected ';' before 'printf'
    6 |     a = a * a * a
      |                  ^
      |                  ;
    7 |     printf("%d",a)
      |     ~~~~~~
Language: C

#include<stdio.h>

int main(){
    int a;
    scanf("%d\n",a);
    a = a * a * a
    printf("%d",a);
}


Compiler output:
main.c: In function 'main':
main.c:6:18: error: expected ';' before 'printf'
    6 |     a = a * a * a
      |                  ^
      |                  ;
    7 |     printf("%d",a);
      |     ~~~~~~
Language: C

#include<stdio.h>

int main(){
    int a;
    scanf("%d",&a);
    a = a * a * a
    printf("%d\n",a);
}


Compiler output:
main.c: In function 'main':
main.c:6:18: error: expected ';' before 'printf'
    6 |     a = a * a * a
      |                  ^
      |                  ;
    7 |     printf("%d\n",a);
      |     ~~~~~~
Language: C

int main(){
int x;
scanf ("%d",x)
printf(%d * %d * %d,x)
return 0,
}


Compiler output:
main.c: In function 'main':
main.c:3:1: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    3 | scanf ("%d",x)
      | ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | int main(){
main.c:3:1: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    3 | scanf ("%d",x)
      | ^~~~~
main.c:3:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:3:15: error: expected ';' before 'printf'
    3 | scanf ("%d",x)
      |               ^
      |               ;
    4 | printf(%d * %d * %d,x)
      | ~~~~~~
Language: C

#include<stdio.h>
 
int main(){
  int x;

  scanf("%d", &x);
  printf("%d\n",x*x*x);
 
  return 0;



Compiler output:
main.c: In function 'main':
main.c:9:3: error: expected declaration or statement at end of input
    9 |   return 0;
      |   ^~~~~~
Language: C

#include<stdio.h>
 
int main(){
  int x;

  scanf("%d", &x);
  
  printf("%d\n",x*x*x);
 
  return 0;



Compiler output:
main.c: In function 'main':
main.c:10:3: error: expected declaration or statement at end of input
   10 |   return 0;
      |   ^~~~~~
Language: C

#include<stdio.h>

int main(){

int x;

scanf("%d", &x);

printf("%d¥n, x*x*x);

return 0;

}


Compiler output:
main.c: In function 'main':
main.c:9:8: warning: missing terminating " character
    9 | printf("%d¥n, x*x*x);
      |        ^
main.c:9:8: error: missing terminating " character
    9 | printf("%d¥n, x*x*x);
      |        ^~~~~~~~~~~~~~
main.c:11:1: error: expected expression before 'return'
   11 | return 0;
      | ^~~~~~
main.c:11:10: error: expected ';' before '}' token
   11 | return 0;
      |          ^
      |          ;
   12 | 
   13 | }
      | ~
Language: C

#include <stdio.h>

int main(int argc, const char * argv[]) {
    int num;
    num=3*3*3;
    printf("%d\n"num);
    return 0;
}



Compiler output:
main.c: In function 'main':
main.c:6:18: error: expected ')' before 'num'
    6 |     printf("%d\n"num);
      |           ~      ^~~
      |                  )
Language: C

#include <stdio.h>
int main(void){
    int x;
    scanf("%d", x);
    printf("%d\n" x*x*x);
    return 0;
}



Compiler output:
main.c: In function 'main':
main.c:5:18: error: expected ')' before 'x'
    5 |     printf("%d\n" x*x*x);
      |           ~      ^~
      |                  )
Language: C

#include <stdio.h>
int main(void){
    int x;
    scanf("%d", &x);
    printf("%d\n" x*x*x);
    return 0;
}



Compiler output:
main.c: In function 'main':
main.c:5:18: error: expected ')' before 'x'
    5 |     printf("%d\n" x*x*x);
      |           ~      ^~
      |                  )
Language: C

#include <stdio.h>
int main()
{
	int x, y;
	
	scanf("%d", &x);
	y = x * x * x
	printf("%d\n", y);
	return 0;
}


Compiler output:
main.c: In function 'main':
main.c:7:22: error: expected ';' before 'printf'
    7 |         y = x * x * x
      |                      ^
      |                      ;
    8 |         printf("%d\n", y);
      |         ~~~~~~
Language: C

#include <stdio.h>
int main(void){
   int x,y;
   scanf("%d", &x);
   y = x *　x * x;
   printf("%d\n" , y);
   return 0;
}



Compiler output:
main.c: In function 'main':
main.c:5:11: error: stray '\343' in program
    5 |    y = x *<U+3000>x * x;
      |           ^~~~~~~~
Language: C

#include <stdio.h>
int main(void)
{
	int x;
	scanf("%d",&x);
	y=x*x;
	printf("%d\n",y);
	return 0;
}



Compiler output:
main.c: In function 'main':
main.c:6:9: error: 'y' undeclared (first use in this function)
    6 |         y=x*x;
      |         ^
main.c:6:9: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include<stdio.h>
int main(void)
{
	int 0<=x<=100;
	scanf("%d",&x);
	x=x*x*x
	printf("%d"x)
	return 0;
}


Compiler output:
main.c: In function 'main':
main.c:4:13: error: expected identifier or '(' before numeric constant
    4 |         int 0<=x<=100;
      |             ^
main.c:5:21: error: 'x' undeclared (first use in this function)
    5 |         scanf("%d",&x);
      |                     ^
main.c:5:21: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:16: error: expected ';' before 'printf'
    6 |         x=x*x*x
      |                ^
      |                ;
    7 |         printf("%d"x)
      |         ~~~~~~
Language: C

#include<stdio.h>
int main(void)
{
	int x;
	0<=x<=100
	scanf("%d",&x);
	x=x*x*x;
	printf("%d",x);
	return 0;
}


Compiler output:
main.c: In function 'main':
main.c:5:18: error: expected ';' before 'scanf'
    5 |         0<=x<=100
      |                  ^
      |                  ;
    6 |         scanf("%d",&x);
      |         ~~~~~
Language: C

#include <stdio.h>
int main(void)
{
int x;

scans("%d",&x);

printf("%d",x*x*x);

return 0;
}


Compiler output:
main.c: In function 'main':
main.c:6:1: error: implicit declaration of function 'scans'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    6 | scans("%d",&x);
      | ^~~~~
      | scanf
Language: C

#include <stdio.h>

int main(){
int x;

scans("%d",&x);
printf("%d\n",x*x*x);

return 0;
}


Compiler output:
main.c: In function 'main':
main.c:6:1: error: implicit declaration of function 'scans'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    6 | scans("%d",&x);
      | ^~~~~
      | scanf