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

#include <stdio.h>
#define scanf scanf_s
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:2:15: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    2 | #define scanf scanf_s
      |               ^~~~~~~
main.c:6:9: note: in expansion of macro 'scanf'
    6 |         scanf("%d", &x);
      |         ^~~~~
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:2:15: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    2 | #define scanf scanf_s
      |               ^~~~~~~
main.c:6:9: note: in expansion of macro 'scanf'
    6 |         scanf("%d", &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:11: error: expected expression before ';' token
    5 |   x=x*x*x*;
      |           ^
Language: C

#include<stdio.h>

int main(void){
int i;
int m;
int d;
int sum=1;
scanf("%d",&m);

for(d=0;d<;++d)
sum *= m;

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


}

Compiler output:
main.c: In function 'main':
main.c:10:11: error: expected expression before ';' token
   10 | for(d=0;d<;++d)
      |           ^
Language: C

#include <stdio.h>

int main(){
  int 1<=x<=100;
  scanf("%d",&x);
  printf("%d",x*x*x);
}

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

#include <stdio.h>
#include <string.h>

int calculation(int a, int b, int *c){
	int i,x;
	x=1;
	if(1<=a&&a<=100){ //?????¶??????		for(i=0;i<b;i++){ //?????????????????±???????????????			x=x*a;
		}
		*c=x;
		if(c!=NULL){
			return 0;
		}
		else{
			return (-1);
		}
	}
	else
	{
		return (-1);
	}
}

int main(){
	int a,b,c,r;
	scanf("%d",&a); //?????\??????	b=3;
	r=calculation(a,b,&c);
	if(r==0){
	printf("%d\n",c); //????????????	return 0;
	}
	else
	{
		printf("over\n"); //???????????????		return 1;
	}
}

Compiler output:
main.c:17:9: error: expected identifier or '(' before 'else'
   17 |         else
      |         ^~~~
main.c:21:1: error: expected identifier or '(' before '}' token
   21 | }
      | ^
Language: C

#include <stdio.h>

main(){

int x;

scanf("%d", x);

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

}

Compiler output:
main.c:3:1: error: return type defaults to 'int' [-Wimplicit-int]
    3 | main(){
      | ^~~~
main.c: In function 'main':
main.c:9:1: error: implicit declaration of function 'prinf'; did you mean 'printf'? [-Wimplicit-function-declaration]
    9 | prinf("%d", x*x*x);
      | ^~~~~
      | printf
Language: C

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

	int a,b;
	scanf_s("%d", &a);
	b = a*a*a;
	printf("%d\n", b);

	return 0;
}

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

#include <stdio.h>

int f(int x) {
  return x*x*x;
}

int main() {
  int 1???x???100;
  scanf("%d",&x);
  printf("%d",f(x));
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:7: error: expected identifier or '(' before numeric constant
    8 |   int 1???x???100;
      |       ^
main.c:9:15: error: 'x' undeclared (first use in this function)
    9 |   scanf("%d",&x);
      |               ^
main.c:9:15: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include <stdio.h>

int f(int x) {
  return x*x*x;
}

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

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

#include <stdio.h>

int f(int x) {
  return x*x*x;
}

int main() {
  int 1<=x<=100;
  scanf("%d",&x);
  printf("%d",f(x));
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:7: error: expected identifier or '(' before numeric constant
    8 |   int 1<=x<=100;
      |       ^
main.c:9:15: error: 'x' undeclared (first use in this function)
    9 |   scanf("%d",&x);
      |               ^
main.c:9:15: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include <stdio.h>

int 1<=x<=100;

int f(int x) {
  return x*x*x;
}

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

Compiler output:
main.c:3:5: error: expected identifier or '(' before numeric constant
    3 | int 1<=x<=100;
      |     ^
main.c: In function 'main':
main.c:10:15: error: 'x' undeclared (first use in this function)
   10 |   scanf("%d",&x);
      |               ^
main.c:10:15: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include <stdio.h>

int f(int x) {
  return x*x*x;
}

int main() {
  unsigned int 1<=x<=100
  scanf("%d",x);
  printf("%d",f(x));
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:16: error: expected identifier or '(' before numeric constant
    8 |   unsigned int 1<=x<=100
      |                ^
main.c:10:17: error: 'x' undeclared (first use in this function)
   10 |   printf("%d",f(x));
      |                 ^
main.c:10:17: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include <stdio.h>

int main() {
  unsigned int 1<=x<=100
  scanf("%d",x);
  int f(int x) {
    return x*x*x;
  }
  printf("%d",f(x));
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:16: error: expected identifier or '(' before numeric constant
    4 |   unsigned int 1<=x<=100
      |                ^
main.c:9:17: error: 'x' undeclared (first use in this function)
    9 |   printf("%d",f(x));
      |                 ^
main.c:9:17: 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",x*x*x);
  return 0;
}

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

#include <stdio.h>

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

Compiler output:
main.c:3:1: error: unknown type name 'inr'; did you mean 'int'?
    3 | inr main(){
      | ^~~
      | int
Language: C

#include<stdio.h>

int main(){
 int num,sanzyou;
 
 scanf("%d", &num);
 sanzyou=i*i*i;

 printf("%d", sanzyou);

 return 0;
}
 

Compiler output:
main.c: In function 'main':
main.c:7:10: error: 'i' undeclared (first use in this function)
    7 |  sanzyou=i*i*i;
      |          ^
main.c:7:10: 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", x*x*x);

  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:17: error: expected ')' before 'printf'
    6 |   scanf("%d", &x
      |        ~        ^
      |                 )
    7 |   printf("%d", x*x*x);
      |   ~~~~~~         
main.c:9:12: error: expected ';' before '}' token
    9 |   return 0;
      |            ^
      |            ;
   10 | }
      | ~
Language: C

#include <stdio.h>

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

Compiler output:
main.c:3:1: error: unknown type name 'inr'; did you mean 'int'?
    3 | inr main(){
      | ^~~
      | int
Language: C

#include <stdio.h>

int main(void)
  int x,answer;
  
  for (x = 0; 1<= x <=200);
    answer = x*x*x;
    }
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:3: error: expected declaration specifiers before 'for'
    6 |   for (x = 0; 1<= x <=200);
      |   ^~~
main.c:6:15: error: expected declaration specifiers before numeric constant
    6 |   for (x = 0; 1<= x <=200);
      |               ^
main.c:7:5: error: expected declaration specifiers before 'answer'
    7 |     answer = x*x*x;
      |     ^~~~~~
main.c:8:5: error: expected declaration specifiers before '}' token
    8 |     }
      |     ^
main.c:9:3: error: expected declaration specifiers before 'return'
    9 |   return 0;
      |   ^~~~~~
main.c:10:1: error: expected declaration specifiers before '}' token
   10 | }
      | ^
main.c:3:5: error: old-style parameter declarations in prototyped function definition
    3 | int main(void)
      |     ^~~~
main.c:11: error: expected '{' at end of input
Language: C

#include <stdio.h>

int main(void)
  int x,answer;
  
  for (x = 0; 1<= x <=200){
    answer = x*x*x;
    printf("\n",answer);
    }
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:3: error: expected declaration specifiers before 'for'
    6 |   for (x = 0; 1<= x <=200){
      |   ^~~
main.c:6:15: error: expected declaration specifiers before numeric constant
    6 |   for (x = 0; 1<= x <=200){
      |               ^
main.c:10:3: error: expected declaration specifiers before 'return'
   10 |   return 0;
      |   ^~~~~~
main.c:11:1: error: expected declaration specifiers before '}' token
   11 | }
      | ^
main.c:3:5: error: old-style parameter declarations in prototyped function definition
    3 | int main(void)
      |     ^~~~
main.c:12: error: expected '{' at end of input
Language: C

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

 printf("%d",a*a*a);
}

Compiler output:
main.c: In function 'main':
main.c:5:13: error: invalid operands to binary & (have 'char *' and 'int')
    5 |  scanf("%d,"&a);
      |        ~~~~~^
      |        |
      |        char *
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:6:18: error: expected ';' before 'x'
    6 |   scanf("%d", &x)
      |                  ^
      |                  ;
    7 | 
    8 |   x = x * x * x
      |   ~
Language: C

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

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

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

#include <stdio.h>

int main() {

int a;
scanf("%d",&a);
printf("%d\n",a*a*a)

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:21: error: expected ';' before 'return'
    7 | printf("%d\n",a*a*a)
      |                     ^
      |                     ;
    8 | 
    9 | return 0;
      | ~~~~~~
Language: C

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

  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:28: error: expected ';' before ')' token
    5 |   for (x = 0; 1 <= x <= 200){
      |                            ^
      |                            ;
main.c:6:25: error: expected ';' before '}' token
    6 |     printf("%d\n",x*x*x)}
      |                         ^
      |                         ;
Language: C

#include <stdio.h>

int main {

  int x,ans;

    scanf("%d",&x);

     ans=x*x*x;

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

  return 0;


} 

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

#include <stdio.h>

int main() {

  int x;
  
  scanf("%d\n" &x);
  printf("x * x * x");

  return 0;

}

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

#include <studio.h>

int main(void)
{
int x;

scanf("%d\n",&x);

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

return 0;
}

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

#include <stdio.h>

int main(){

  int nyu, syutu;

  syutu = nyu * nyu * nyu;

  scanf ("%d",&nyu);
  printf("%d\n,syutu);

  return 0;
}

  

Compiler output:
main.c: In function 'main':
main.c:10:10: warning: missing terminating " character
   10 |   printf("%d\n,syutu);
      |          ^
main.c:10:10: error: missing terminating " character
   10 |   printf("%d\n,syutu);
      |          ^~~~~~~~~~~~~
main.c:12:3: error: expected expression before 'return'
   12 |   return 0;
      |   ^~~~~~
main.c:12:12: error: expected ';' before '}' token
   12 |   return 0;
      |            ^
      |            ;
   13 | }
      | ~
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:11:17: error: expected ')' before 'x'
   11 |  printf ( "%d\n" x ) ;
      |         ~       ^~
      |                 )
Language: C

#include <stdio.h>

int main(){

  int nyu, syutu;

  syutu = nyu * nyu * nyu;

  scanf ("%d",&nyu);
  printf("%d"\n,syutu);

  return 0;
}

  

Compiler output:
main.c: In function 'main':
main.c:10:14: error: stray '\' in program
   10 |   printf("%d"\n,syutu);
      |              ^
main.c:10:14: error: expected ')' before 'n'
   10 |   printf("%d"\n,syutu);
      |         ~    ^~
      |              )
Language: C

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

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

#include <stdio.h>

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

Compiler output:
main.c: In function 'main':
main.c:6:1: error: expected expression before '?' token
    6 | ?????? scanf("%d",&x);
      | ^
main.c:8:6: error: 'a' undeclared (first use in this function)
    8 |      a = x*x*x
      |      ^
main.c:8:6: note: each undeclared identifier is reported only once for each function it appears in
main.c:8:15: error: expected ';' before 'printf'
    8 |      a = x*x*x
      |               ^
      |               ;
    9 |      printf("%d\n",a);
      |      ~~~~~~
Language: C

#include <stdio.h>

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

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

#include <stdio.h>

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

Compiler output:
main.c: In function 'main':
main.c:6:1: error: expected expression before '?' token
    6 | ?????? scanf("%d",&x);
      | ^
Language: C

#include <stdio.h>

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

     return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:1: error: expected expression before '?' token
    6 | ?????? scanf("%d",&x);
      | ^
Language: C

#inclde <stdio.h>

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

Compiler output:
main.c:1:2: error: invalid preprocessing directive #inclde; did you mean #include?
    1 | #inclde <stdio.h>
      |  ^~~~~~
      |  include
main.c: In function 'main':
main.c:6:2: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    6 |  scanf("%d", &a);
      |  ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | #inclde <stdio.h>
main.c:6:2: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    6 |  scanf("%d", &a);
      |  ^~~~~
main.c:6:2: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:8:2: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    8 |  printf("%d", a);
      |  ^~~~~~
main.c:8:2: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:8:2: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:8:2: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

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

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

#include < stdio.h >
int main (void)
{
  int x;
  for (x=0 ;1<= x <= 100 ;x++) {
    printf("%d\n",x*x*x);
    }

  return 0;
}

  

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

#include <stdio.h>
int main(void)
{
  for(int x=0;1<=x<=100){
    printf("%d",x*x*x);
    }
  putchar('\n');
  
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:24: error: expected ';' before ')' token
    4 |   for(int x=0;1<=x<=100){
      |                        ^
      |                        ;
Language: C

#include <stdio.h>
int main(void)
{
  int x;
  for(x=0;1<=x<=100){
    printf("%d",x*x*x);
    }
  putchar('\n');
  
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:20: error: expected ';' before ')' token
    5 |   for(x=0;1<=x<=100){
      |                    ^
      |                    ;
Language: C

#include <stdio.h>
int main(void)
{
  int x;
  for(x=0;1<=x<=100;x++){
  printf("%d\n",x**3);
}

return 0;
}

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

#include <stdio.h>

int main(void)
{
  int x;
  for(x=0;1<=x&&x<=100;x++){
    printf("%d\n",x*x*x);
    }
  rerurn 0;
}

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

#include <stdio.h>

int main(void)
{

int x;

scanf_s("%d", &x);

x = x * x * x;

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

return 0;

}

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

y=x*x*x

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | y=x*x*x
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'y' [-Wimplicit-int]
main.c:1:3: error: 'x' undeclared here (not in a function)
    1 | y=x*x*x
      |   ^
main.c:1:1: error: expected ',' or ';' at end of input
    1 | y=x*x*x
      | ^
Language: C

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

    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:11: error: expected expression before '%' token
    4 |     scanf(%d, &x);
      |           ^
Language: C

#include <studio.h>
int main(void)
{
int suuti;
suuti = 2;
printf("suuti*suuti*suuti"\n);
return 0;
}

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

#include <studio.h>
int main(void)
{
int suuti;
suuti = 2;
printf("%d\n" ,suuti*suuti*suuti);
return 0;
}

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

#include <studio.h>
int main(void)
{
int suuti;
suuti=2;
printf("%d\n" ,suuti*suuti*suuti);
return 0;
}

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

#include <stdio.h>
int main(void)
{
int X Y;
X = 2;
Y = 3;
printf("%d\n" ,X*X*X);
printf("%d\n" ,Y*Y*Y);

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:7: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Y'
    4 | int X Y;
      |       ^
main.c:4:7: error: 'Y' undeclared (first use in this function)
main.c:4:7: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:1: error: 'X' undeclared (first use in this function)
    5 | X = 2;
      | ^
Language: C

#include <stdio.h>
int main(void)
{
int X Y;
X = 2;

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


return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:7: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Y'
    4 | int X Y;
      |       ^
main.c:4:7: error: 'Y' undeclared (first use in this function)
main.c:4:7: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:1: error: 'X' undeclared (first use in this function)
    5 | X = 2;
      | ^
Language: C

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

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


return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'X'
    5 | X=2;
      | ^
main.c:5:1: error: 'X' undeclared (first use in this function)
main.c:5:1: note: each undeclared identifier is reported only once for each function it appears in
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:4:7: error: expected expression before '?' token
    4 | int X;???X=2;???printf("%d\n" ,X*X*X);???return 0;
      |       ^
main.c:4:14: error: expected expression before '?' token
    4 | int X;???X=2;???printf("%d\n" ,X*X*X);???return 0;
      |              ^
main.c:4:38: error: expected ':' before ';' token
    4 | int X;???X=2;???printf("%d\n" ,X*X*X);???return 0;
      |                                      ^
      |                                      :
main.c:4:39: error: expected expression before '?' token
    4 | int X;???X=2;???printf("%d\n" ,X*X*X);???return 0;
      |                                       ^
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:4:7: error: expected expression before '?' token
    4 | int X;???
      |       ^
main.c:5:5: error: expected expression before '?' token
    5 | X=2;???
      |     ^
main.c:6:22: error: expected ':' before ';' token
    6 | printf("%d\n" ,X*X*X);???return 0;
      |                      ^
      |                      :
main.c:6:23: error: expected expression before '?' token
    6 | printf("%d\n" ,X*X*X);???return 0;
      |                       ^
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:4:7: error: expected expression before '?' token
    4 | int X;???
      |       ^
main.c:5:5: error: expected expression before '?' token
    5 | X=2;???
      |     ^
main.c:6:22: error: expected ':' before ';' token
    6 | printf("%d\n" ,X*X*X);???
      |                      ^
      |                      :
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;
X=2

printf("%d\n" ,X*X*X);
return 0;
}

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

#include <stdio.h>
int main(void) {
	
	// ?????????????????\???
	int number;
	scanf("%d",number);
	
	// ???????????????
	for(int cnt = 0; cnt < 2; cnt++) {
		
		number???*= number;
		
	}
	
	printf("number"\n);
	
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:11:24: error: expected expression before '?' token
   11 |                 number???*= number;
      |                        ^
main.c:15:24: error: stray '\' in program
   15 |         printf("number"\n);
      |                        ^
main.c:15:24: error: expected ')' before 'n'
   15 |         printf("number"\n);
      |               ~        ^~
      |                        )
Language: C

#include <stdio.h>
int main(void) {
	
	// ?????????????????\???
	int number;
	scanf("%d",number);
	
	// ???????????????
	for(int cnt = 0; cnt < 2; cnt++) {
		
		number???*= number;
		
	}
	
	printf("number\n");
	
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:11:24: error: expected expression before '?' token
   11 |                 number???*= number;
      |                        ^
Language: C

#include <stdio.h>
int main(void) {
	
	// ?????????????????\???
	int number;
	int sum;
	scanf("%d",number);
	
	// ???????????????
	for(int cnt = 0; cnt < 3; cnt++) {
		
		sum???*= number;
		
	}
	
	printf("sum"\n);
	
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:12:21: error: expected expression before '?' token
   12 |                 sum???*= number;
      |                     ^
main.c:16:21: error: stray '\' in program
   16 |         printf("sum"\n);
      |                     ^
main.c:16:21: error: expected ')' before 'n'
   16 |         printf("sum"\n);
      |               ~     ^~
      |                     )
Language: C

#include <stdio.h>

int main(void) {
int a;
a = 3
printf(a*a*a;)

return o;
}

Compiler output:
main.c: In function 'main':
main.c:5:6: error: expected ';' before 'printf'
    5 | a = 3
      |      ^
      |      ;
    6 | printf(a*a*a;)
      | ~~~~~~
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:3:5: error: expected identifier or '(' before '=' token
    3 | int = x;
      |     ^
main.c:5:14: error: 'x' undeclared (first use in this function)
    5 | scanf("%d", &x);
      |              ^
main.c:5: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);
	if(1<=x && x<=100){
		printf("%d\n"x*x*x);
	}

	return 0;
}

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

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

Compiler output:
main.c: In function 'main':
main.c:3:7: error: expected identifier or '(' before ';' token
    3 | int x,;
      |       ^
Language: C

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

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

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

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

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

Compiler output:
main.c: In function 'main':
main.c:6:12: error: too few arguments to function 'pow'
    6 |  int sum = pow(x*x*x);
      |            ^~~
In file included from /usr/include/features.h:523,
                 from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:28,
                 from main.c:1:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:173:1: note: declared here
  173 | __MATHCALL_VEC (pow,, (_Mdouble_ __x, _Mdouble_ __y));
      | ^~~~~~~~~~~~~~
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:6:8: error: too few arguments to function 'pow'
    6 |  sum = pow(x*x*x);
      |        ^~~
In file included from /usr/include/features.h:523,
                 from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:28,
                 from main.c:1:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:173:1: note: declared here
  173 | __MATHCALL_VEC (pow,, (_Mdouble_ __x, _Mdouble_ __y));
      | ^~~~~~~~~~~~~~
Language: C

#include<stdio.h>

int main(int argc, char argv[])
{

intinput = atoi(argv[1]);

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

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:1: error: 'intinput' undeclared (first use in this function)
    6 | intinput = atoi(argv[1]);
      | ^~~~~~~~
main.c:6:1: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:12: error: implicit declaration of function 'atoi' [-Wimplicit-function-declaration]
    6 | intinput = atoi(argv[1]);
      |            ^~~~
main.c:8:16: error: 'input' undeclared (first use in this function); did you mean 'int'?
    8 | printf("%d\n", input*input*input);
      |                ^~~~~
      |                int
Language: C

#include<stdio.h>
#include<stdlib.h>

int main(int argc, char *argv[])
{

intinput = atoi(argv[1]);

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

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:1: error: 'intinput' undeclared (first use in this function)
    7 | intinput = atoi(argv[1]);
      | ^~~~~~~~
main.c:7:1: note: each undeclared identifier is reported only once for each function it appears in
main.c:9:16: error: 'input' undeclared (first use in this function)
    9 | printf("%d\n", input*input*input);
      |                ^~~~~
Language: C

#include<stdio.h>
#include<stdlib.h>

int main(int argc, char *argv[])
{

intinput;
input = atoi(argv[1]);

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

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:1: error: 'intinput' undeclared (first use in this function)
    7 | intinput;
      | ^~~~~~~~
main.c:7:1: note: each undeclared identifier is reported only once for each function it appears in
main.c:8:1: error: 'input' undeclared (first use in this function)
    8 | input = atoi(argv[1]);
      | ^~~~~
Language: C

#include <stdio.h>

void main(){

int x;
scanf("%d",&x);
x = x*x*x;
printf("%d",x);

}

retrun 0;

Compiler output:
main.c:12:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before numeric constant
   12 | retrun 0;
      |        ^
Language: C

#include <stdio.h>
#include <math.h>

void main(){

int x;
scanf("%d",&x);
pow(x,3);
printf("%d",x);

}

retrun 0;

Compiler output:
main.c:13:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before numeric constant
   13 | retrun 0;
      |        ^
Language: C

#include <stdio.h>
#include <math.h>

void main(){

int x;
scanf("%d",&x);
pow(x,3);
printf("%d",x);

retrun 0;

}

Compiler output:
main.c: In function 'main':
main.c:11:1: error: 'retrun' undeclared (first use in this function)
   11 | retrun 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 | retrun 0;
      |       ^~
      |       ;
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:5:1: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    5 | scanf("%d"&x);
      | ^~~~~
main.c:2:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
    1 | #include <math.h>
  +++ |+#include <stdio.h>
    2 | int main(void)
main.c:5:1: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    5 | scanf("%d"&x);
      | ^~~~~
main.c:5:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:5:11: error: invalid operands to binary & (have 'char *' and 'int')
    5 | scanf("%d"&x);
      |       ~~~~^
      |       |
      |       char *
main.c:7:1: error: implicit declaration of function 'prinf' [-Wimplicit-function-declaration]
    7 | prinf("%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:6:23: error: expected ';' before 'return'
    6 | printf("%d?\n", x*x*x)
      |                       ^
      |                       ;
    7 | return 0;
      | ~~~~~~
Language: C

#include <stdio.h>

int main()
{
  x = int(input());
  print(x * x * x);
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:3: error: 'x' undeclared (first use in this function)
    5 |   x = int(input());
      |   ^
main.c:5:3: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:7: error: expected expression before 'int'
    5 |   x = int(input());
      |       ^~~
main.c:6:3: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration]
    6 |   print(x * x * x);
      |   ^~~~~
      |   printf
Language: C

#include <stdio.h>
int main(void)
{
 int X, total;
 total=x*x*x;
 printf("X", total);
return 0;
}

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

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

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

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

Compiler output:
main.c: In function 'main':
main.c:5:7: error: expected ';' before 'se'
    5 |  b = 3
      |       ^
      |       ;
    6 |  se = x^b
      |  ~~
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:5:13: error: expected expression before '%' token
    5 |  scanf("%d",%x);
      |             ^
Language: C

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

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

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

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

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

Compiler output:
main.c: In function 'main':
main.c:6:7: error: expected ';' before 'se'
    6 |  b = 3
      |       ^
      |       ;
    7 |  se = b*b*b;
      |  ~~    
main.c:8:16: error: 'se' undeclared (first use in this function)
    8 |  printf("%d\n",se);
      |                ^~
main.c:8:16: note: each undeclared identifier is reported only once for each function it appears in
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:7:2: error: 'se' undeclared (first use in this function)
    7 |  se = b*b*b;
      |  ^~
main.c:7:2: note: each undeclared identifier is reported only once for each function it appears in
Language: C

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

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

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

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

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

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

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

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

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

Compiler output:
main.c: In function 'main':
main.c:5:12: error: expected ')' before 'b'
    5 |  scanf("%d"b);
      |       ~    ^
      |            )
Language: C

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

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

#include <stdio.h>

int main ()
{
	int input;

	scanf("%d\n", &input);

	printf("%d\n", input ** 3);
}

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

#include<stdio.h>

int main()
{
	int a;
	a=2
	printf("2^3=%d\n",2*2*2);
	

}

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

#include<stdio.h>

int main()
{
	
	printf("x^3=%d\n",x*x*x);
	

}

Compiler output:
main.c: In function 'main':
main.c:6:27: error: 'x' undeclared (first use in this function)
    6 |         printf("x^3=%d\n",x*x*x);
      |                           ^
main.c:6:27: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include<stdio.h>

int main()
{
	
	scanff("2^3=%d\n",2*2*2);
	

}

Compiler output:
main.c: In function 'main':
main.c:6:9: error: implicit declaration of function 'scanff'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    6 |         scanff("2^3=%d\n",2*2*2);
      |         ^~~~~~
      |         scanf
Language: C

#include<stdio.h>
#include<math.h>

int main void(){

  int x;

  scanf("%d",&x);
  x=pow(x,3);
  puts("%d",x);

  return 0;

}

Compiler output:
main.c:4:9: error: expected ';' before 'void'
    4 | int main void(){
      |         ^~~~~
      |         ;
main.c:4:15: error: expected identifier or '(' before ')' token
    4 | int main void(){
      |               ^
Language: C

#include<stdio.h>
#include<math.h>

int main(void){

   int x;

   scanf("%d",&x);
   x=pow(x,3);
   puts("%d",x);

   return 0;

}

Compiler output:
main.c: In function 'main':
main.c:10:4: error: too many arguments to function 'puts'
   10 |    puts("%d",x);
      |    ^~~~
In file included from main.c:1:
/usr/include/stdio.h:714:12: note: declared here
  714 | extern int puts (const char *__s);
      |            ^~~~
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:5:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'X'
    5 |    int x X
      |          ^
main.c:5:10: error: unknown type name 'X'
main.c:6:10: error: expected declaration specifiers or '...' before string constant
    6 |    scanf("%d",&1 ? x ? 100 );
      |          ^~~~
main.c:6:15: error: expected declaration specifiers or '...' before '&' token
    6 |    scanf("%d",&1 ? x ? 100 );
      |               ^
main.c:7:16: error: 'X' undeclared (first use in this function)
    7 |    scanf("%d",&X);
      |                ^
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 |    X = x*x*x
      |        ^
main.c:8:13: error: expected ';' before 'printf'
    8 |    X = x*x*x
      |             ^
      |             ;
    9 |    printf(x*x*x = %d\n",X);
      |    ~~~~~~    
main.c:9:21: error: stray '\' in program
    9 |    printf(x*x*x = %d\n",X);
      |                     ^
main.c:9:23: warning: missing terminating " character
    9 |    printf(x*x*x = %d\n",X);
      |                       ^
main.c:9:23: error: missing terminating " character
    9 |    printf(x*x*x = %d\n",X);
      |                       ^~~~~
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 a
   scanf("%d",&1 ? x ? 100 );
   scanf("%d",&a);
   a = x*x*x
   printf(x*x*x = %d\n",X);
   return 0;

Compiler output:
main.c: In function 'main':
main.c:5:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'a'
    5 |    int x a
      |          ^
main.c:5:10: error: unknown type name 'a'
main.c:6:10: error: expected declaration specifiers or '...' before string constant
    6 |    scanf("%d",&1 ? x ? 100 );
      |          ^~~~
main.c:6:15: error: expected declaration specifiers or '...' before '&' token
    6 |    scanf("%d",&1 ? x ? 100 );
      |               ^
main.c:7:16: error: 'a' undeclared (first use in this function)
    7 |    scanf("%d",&a);
      |                ^
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 |    a = x*x*x
      |        ^
main.c:8:13: error: expected ';' before 'printf'
    8 |    a = x*x*x
      |             ^
      |             ;
    9 |    printf(x*x*x = %d\n",X);
      |    ~~~~~~    
main.c:9:21: error: stray '\' in program
    9 |    printf(x*x*x = %d\n",X);
      |                     ^
main.c:9:23: warning: missing terminating " character
    9 |    printf(x*x*x = %d\n",X);
      |                       ^
main.c:9:23: error: missing terminating " character
    9 |    printf(x*x*x = %d\n",X);
      |                       ^~~~~
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 a
   scanf("%d",&1 ? x ? 100 );
   scanf("%d",&a);
   a = x*x*x
   printf(x*x*x = %d\n",a);
   return 0;

Compiler output:
main.c: In function 'main':
main.c:5:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'a'
    5 |    int x a
      |          ^
main.c:5:10: error: unknown type name 'a'
main.c:6:10: error: expected declaration specifiers or '...' before string constant
    6 |    scanf("%d",&1 ? x ? 100 );
      |          ^~~~
main.c:6:15: error: expected declaration specifiers or '...' before '&' token
    6 |    scanf("%d",&1 ? x ? 100 );
      |               ^
main.c:7:16: error: 'a' undeclared (first use in this function)
    7 |    scanf("%d",&a);
      |                ^
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 |    a = x*x*x
      |        ^
main.c:8:13: error: expected ';' before 'printf'
    8 |    a = x*x*x
      |             ^
      |             ;
    9 |    printf(x*x*x = %d\n",a);
      |    ~~~~~~    
main.c:9:21: error: stray '\' in program
    9 |    printf(x*x*x = %d\n",a);
      |                     ^
main.c:9:23: warning: missing terminating " character
    9 |    printf(x*x*x = %d\n",a);
      |                       ^
main.c:9:23: error: missing terminating " character
    9 |    printf(x*x*x = %d\n",a);
      |                       ^~~~~
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 y
   scanf("%d",&x);
   scanf("%d",&y);
   y = x*x*x
   printf(x*x*x = %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(x*x*x = %d\n",y);
      |    ~~~~~~    
main.c:9:21: error: stray '\' in program
    9 |    printf(x*x*x = %d\n",y);
      |                     ^
main.c:9:23: warning: missing terminating " character
    9 |    printf(x*x*x = %d\n",y);
      |                       ^
main.c:9:23: error: missing terminating " character
    9 |    printf(x*x*x = %d\n",y);
      |                       ^~~~~
main.c:10:4: error: expected declaration or statement at end of input
   10 |    return 0;
      |    ^~~~~~