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

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

double main(int argc, char* argv[]){
 double x = double(atoi(argv));
 double y = pow(x,3);
 printf("%d\n",y);
 return y;
}

Compiler output:
main.c: In function 'main':
main.c:6:13: error: expected expression before 'double'
    6 |  double x = double(atoi(argv));
      |             ^~~~~~
Language: C

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

double main(int argc, char* argv[]){
 double x = double(atoi(argv[0]));
 double y =pow(x,3);
 printf("%f\n",y);
 return y;
}

Compiler output:
main.c: In function 'main':
main.c:6:13: error: expected expression before 'double'
    6 |  double x = double(atoi(argv[0]));
      |             ^~~~~~
Language: C

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

double main(int argc, char* argv[]){
 int x = atoi(argv[0]);
 double y =pow(double(x),3);
 printf("%f\n",y);
 return y;
}

Compiler output:
main.c: In function 'main':
main.c:7:16: error: expected expression before 'double'
    7 |  double y =pow(double(x),3);
      |                ^~~~~~
main.c:7:12: error: too few arguments to function 'pow'
    7 |  double y =pow(double(x),3);
      |            ^~~
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>
#include <stdlib.h>

double main(int argc, char* argv[]){
 int x = atoi(argv[0]);
 double y =pow(double(x),double(3));
 printf("%f\n",y);
 return y;
}

Compiler output:
main.c: In function 'main':
main.c:7:16: error: expected expression before 'double'
    7 |  double y =pow(double(x),double(3));
      |                ^~~~~~
main.c:7:12: error: too few arguments to function 'pow'
    7 |  double y =pow(double(x),double(3));
      |            ^~~
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>
#include <stdlib.h>

double main(int argc, char* argv[]){
double x,y;
 x = double(atoi(argc[1]));
 y = 3;
 double y =3;
 y = pow(x,y);
 printf("%f\n",y);
 return y;
}

Compiler output:
main.c: In function 'main':
main.c:7:6: error: expected expression before 'double'
    7 |  x = double(atoi(argc[1]));
      |      ^~~~~~
main.c:9:9: error: redeclaration of 'y' with no linkage
    9 |  double y =3;
      |         ^
main.c:6:10: note: previous declaration of 'y' with type 'double'
    6 | double x,y;
      |          ^
Language: C

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

int main(int argc, char* argv[]){
double x,y;
 x = double(atoi(argc[1]));
 y = 3;
 y =3;
 y = pow(x,y);
 printf("%f\n",y);
 return (int)y;
}

Compiler output:
main.c: In function 'main':
main.c:7:6: error: expected expression before 'double'
    7 |  x = double(atoi(argc[1]));
      |      ^~~~~~
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:7:16: error: expected expression before '%' token
    7 |     scanf("%d",%x);
      |                ^
main.c:9:12: warning: missing terminating " character
    9 |     printf("%d\n,x*x*x);
      |            ^
main.c:9:12: error: missing terminating " character
    9 |     printf("%d\n,x*x*x);
      |            ^~~~~~~~~~~~~
main.c:11:5: error: expected expression before 'return'
   11 |     return 0;
      |     ^~~~~~
main.c:11:14: error: expected ';' before '}' token
   11 |     return 0;
      |              ^
      |              ;
   12 | 
   13 | }
      | ~
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:7:5: error: expected declaration specifiers before 'scanf'
    7 |     scanf("%d",&x);
      |     ^~~~~
main.c:9:5: error: expected declaration specifiers before 'printf'
    9 |     printf("%d\n,x*x*x);
      |     ^~~~~~
main.c:9:12: warning: missing terminating " character
    9 |     printf("%d\n,x*x*x);
      |            ^
main.c:9:12: error: missing terminating " character
    9 |     printf("%d\n,x*x*x);
      |            ^~~~~~~~~~~~~
main.c:13:1: error: expected declaration specifiers before '}' token
   13 | }
      | ^
main.c:3:5: error: old-style parameter declarations in prototyped function definition
    3 | int main(void)
      |     ^~~~
main.c:16: error: expected '{' at end of input
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:4:11: error: invalid operands to binary & (have 'char *' and 'int')
    4 | scanf("%d"&x);
      |       ~~~~^
      |       |
      |       char *
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:4:11: error: invalid operands to binary & (have 'char *' and 'int')
    4 | scanf("%d"&x)
      |       ~~~~^
      |       |
      |       char *
main.c:4:14: error: expected ';' before 'printf'
    4 | scanf("%d"&x)
      |              ^
      |              ;
    5 | printf("%d\n",x*x*x);
      | ~~~~~~
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:4:11: error: invalid operands to binary & (have 'char *' and 'int')
    4 | scanf("%d"&x)
      |       ~~~~^
      |       |
      |       char *
main.c:4:14: error: expected ';' before 'y'
    4 | scanf("%d"&x)
      |              ^
      |              ;
    5 | y=x:x;
      | ~             
main.c:6:1: error: 'y' undeclared (first use in this function)
    6 | y=y*x;
      | ^
main.c:6:1: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include<stdio.h>

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

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

#include <stdio.h>

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

Compiler output:
main.c: In function 'main':
main.c:5:11: warning: missing terminating " character
    5 |     scanf("%d,&x);
      |           ^
main.c:5:11: error: missing terminating " character
    5 |     scanf("%d,&x);
      |           ^~~~~~~~
main.c:6:25: error: expected ')' before ';' token
    6 |     printf("%d\n",x*x*x);
      |                         ^
      |                         )
main.c:5:10: note: to match this '('
    5 |     scanf("%d,&x);
      |          ^
main.c:6:5: error: passing argument 1 of 'scanf' makes pointer from integer without a cast [-Wint-conversion]
    6 |     printf("%d\n",x*x*x);
      |     ^~~~~~~~~~~~~~~~~~~~
      |     |
      |     int
In file included from main.c:1:
/usr/include/stdio.h:428:42: note: expected 'const char *' but argument is of type 'int'
  428 | extern int scanf (const char *__restrict __format, ...) __wur;
      |                   ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:6:5: error: expected declaration or statement at end of input
    6 |     printf("%d\n",x*x*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:5:11: warning: missing terminating " character
    5 |     scanf("%d,&x);
      |           ^
main.c:5:11: error: missing terminating " character
    5 |     scanf("%d,&x);
      |           ^~~~~~~~
main.c:6:25: error: expected ')' before ';' token
    6 |     printf("%d\n",x*x*x);
      |                         ^
      |                         )
main.c:5:10: note: to match this '('
    5 |     scanf("%d,&x);
      |          ^
main.c:6:5: error: passing argument 1 of 'scanf' makes pointer from integer without a cast [-Wint-conversion]
    6 |     printf("%d\n",x*x*x);
      |     ^~~~~~~~~~~~~~~~~~~~
      |     |
      |     int
In file included from main.c:1:
/usr/include/stdio.h:428:42: note: expected 'const char *' but argument is of type 'int'
  428 | extern int scanf (const char *__restrict __format, ...) __wur;
      |                   ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:7:14: error: expected ';' before '}' token
    7 |     return 0;
      |              ^
      |              ;
    8 | }
      | ~
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: error: expected expression before '%' token
    9 | printf(%d\n,x*x*x)
      |        ^
main.c:9:10: error: stray '\' in program
    9 | printf(%d\n,x*x*x)
      |          ^
main.c:9:19: error: expected ';' before 'return'
    9 | printf(%d\n,x*x*x)
      |                   ^
      |                   ;
   10 | 
   11 | 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:21: error: expected ';' before 'return'
    9 | printf("%d\n",x*x*x)
      |                     ^
      |                     ;
   10 | 
   11 | return 0;
      | ~~~~~~
Language: C

#include <stdio.h>

int main(){
    int x,a;
    puts("??´??°?????\?????????????????????");
    scanf("%d", &x);
    a = x*x*x
    printf("3???????????¨%d??§???", a);

    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:14: error: expected ';' before 'printf'
    7 |     a = x*x*x
      |              ^
      |              ;
    8 |     printf("3???????????¨%d??§???", a);
      |     ~~~~~~
Language: C

#include <stdio.h>

int main(){
    int x;
    puts("??´??°?????\?????????????????????");
    scanf("%d", &x);
    a = x*x*x;
    printf("3???????????¨%d??§???", a);

    return 0;
}

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

#include<math.h>

int main(void){
  double pow(double x, double 3);
  printf("x\n");
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:31: error: expected ';', ',' or ')' before numeric constant
    4 |   double pow(double x, double 3);
      |                               ^
main.c:5:3: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    5 |   printf("x\n");
      |   ^~~~~~
main.c:2:1: note: include '<stdio.h>' or provide a declaration of 'printf'
    1 | #include<math.h>
  +++ |+#include <stdio.h>
    2 | 
main.c:5:3: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    5 |   printf("x\n");
      |   ^~~~~~
main.c:5:3: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

#include<studio.h>

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

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

#include<studio.h>

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

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

#include<studio.h>

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

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

#include<studio.h>

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

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

#include<studio.h>

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

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

#include<studio.h>

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

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

#include<studio.h>

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

Compiler output:
main.c:1:9: 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;

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

    return 0;
}

Compiler output:
main.c:1:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | include <stdio.h>
      |         ^
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:7:12: error: expected expression before '%' token
    7 |     printf(%d\n, x*x*x);
      |            ^
main.c:7:14: error: stray '\' in program
    7 |     printf(%d\n, x*x*x);
      |              ^
Language: C

#include <stdio.h>

int main(void)


{


 int x;


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


 return 0;


}

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

#include<stdio.h>

int main(){

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

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:13: error: 'x' undeclared (first use in this function)
    5 | scanf("%d",&x);
      |             ^
main.c:5:13: 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" \n,&x);
printf("%d \n",x*x*x);
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:12: error: stray '\' in program
    7 | scanf("%d" \n,&x);
      |            ^
main.c:7:11: error: expected ')' before 'n'
    7 | scanf("%d" \n,&x);
      |      ~    ^ ~
      |           )
Language: C

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

reture 0;
}

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

#include <stdio.h>

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

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

#include <stdio.h>

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

   return 0;

}

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

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

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

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

Compiler output:
main.c: In function 'main':
main.c:3:21: error: 'x' undeclared (first use in this function)
    3 |         scanf("%d",&x);
      |                     ^
main.c:3:21: 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("%d", &x);

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

    return (0);
}

Compiler output:
main.c: In function 'main':
main.c:9:16: error: expected ')' before 'x'
    9 |     printf("%d" 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:9:18: error: expected ')' before 'x'
    9 |     printf("%d\n" x * x * x);
      |           ~      ^~
      |                  )
Language: C

#include <stdio.h>

int main(void){
  int a,b;
  scanf("%d",&a);
  int b = a*a*a;
  printf("%d",b);

  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:7: error: redeclaration of 'b' with no linkage
    6 |   int b = a*a*a;
      |       ^
main.c:4:9: note: previous declaration of 'b' with type 'int'
    4 |   int a,b;
      |         ^
Language: C

#include <stdio.h>

int main(void){
  int a
  scanf("%d",&a);
  int b = a*a*a;
  printf("%d",b);

  return 0;
}

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

#include <stdio.h>

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

  return 0;
}

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

#include<stdio.h>

int main(){
    
    int a.b;
    
    scanf("%d",&x);

    b=a*a*a;
    
    printf("b",b);

    return 0;
}

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

#include<stdio.h>

int main(){
        int x;
        int z;
        printf("x:");
        scanf("%d",&x);
        z=x*x*x;
        printf("%d",z);
        return 0;
]

Compiler output:
main.c: In function 'main':
main.c:11:1: error: expected statement before ']' token
   11 | ]
      | ^
main.c:11:1: error: expected declaration or statement at end of input
Language: C

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

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

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

Compiler output:
main.c: In function 'main':
main.c:6:15: error: expected expression before '%' token
    6 |         scanf(%d\n,x);
      |               ^
main.c:6:17: error: stray '\' in program
    6 |         scanf(%d\n,x);
      |                 ^
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:9:25: error: 'result' undeclared (first use in this function)
    9 | printf("%d^%d=%d\n",x,i,result);
      |                         ^~~~~~
main.c:9:25: note: each undeclared identifier is reported only once for each function it appears in
main.c:10:11: error: invalid type argument of unary '*' (have 'int')
   10 | result =  * x;
      |           ^~~
main.c: At top level:
main.c:12:1: error: expected identifier or '(' before 'return'
   12 | return (0);
      | ^~~~~~
main.c:13:1: error: expected identifier or '(' before '}' token
   13 | }
      | ^
Language: C

#include <stdio.h>
int main(int argc, const char * argv[])
{
     int x,y;
     printf("x?");
     scanf("%d", &x);
     y =x * x * x; 
     printf("%d\n", y);
     return 0;

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

#include <stdio.h>
int main(int argc,const char * argv[]){
int x;
printf("x?????\?????????????????????");
scant("%d",&x);
printf("%d",x*x*x);
return 0;
}

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

#include<stdio.h>

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

return 0;
}

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

#include<stdio.h>

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

return 0;
}

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

#include<stdio.h>

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

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:15: error: expected ';' before 't'
    6 | scanf("%d",&x)
      |               ^
      |               ;
    7 | t = x*x*x
      | ~
Language: C

#include<stdio.h>

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

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:15: error: expected ';' before 't'
    6 | scanf("%d",&x)
      |               ^
      |               ;
    7 | t = x*x*x
      | ~
Language: C

#include<stdio.h>

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

return 0;
}

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

#include <studio.h>

int main(){

     int number;

     scanf("%d" &number);
     number = number^3
     printf("number\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 <stdio.h>

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

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

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

#include <stdio.h>

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

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

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", &x);
      |         ^~~~~~~
      |         scanf
Language: C

#include <stdio.h>

int main(void){
}

   int x;

   printf("Input:");

   scanf("%d",&x);

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

   return 0;
}

Compiler output:
main.c:8:11: error: expected declaration specifiers or '...' before string constant
    8 |    printf("Input:");
      |           ^~~~~~~~
main.c:10:10: error: expected declaration specifiers or '...' before string constant
   10 |    scanf("%d",&x);
      |          ^~~~
main.c:10:15: error: expected declaration specifiers or '...' before '&' token
   10 |    scanf("%d",&x);
      |               ^
main.c:12:11: error: expected declaration specifiers or '...' before string constant
   12 |    printf("%d^3=%d\n",x,x*x*x);
      |           ^~~~~~~~~~~
main.c:12:23: error: expected declaration specifiers or '...' before 'x'
   12 |    printf("%d^3=%d\n",x,x*x*x);
      |                       ^
main.c:12:25: error: expected declaration specifiers or '...' before 'x'
   12 |    printf("%d^3=%d\n",x,x*x*x);
      |                         ^
main.c:14:4: error: expected identifier or '(' before 'return'
   14 |    return 0;
      |    ^~~~~~
main.c:15:1: error: expected identifier or '(' before '}' token
   15 | }
      | ^
Language: C

#include <stdio.h>

int main(void){
}

   int x;

   printf("Input:");

   scanf("%d",&x);

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

   return 0;

Compiler output:
main.c:8:11: error: expected declaration specifiers or '...' before string constant
    8 |    printf("Input:");
      |           ^~~~~~~~
main.c:10:10: error: expected declaration specifiers or '...' before string constant
   10 |    scanf("%d",&x);
      |          ^~~~
main.c:10:15: error: expected declaration specifiers or '...' before '&' token
   10 |    scanf("%d",&x);
      |               ^
main.c:12:11: error: expected declaration specifiers or '...' before string constant
   12 |    printf("%d^3=%d\n",x,x*x*x);
      |           ^~~~~~~~~~~
main.c:12:23: error: expected declaration specifiers or '...' before 'x'
   12 |    printf("%d^3=%d\n",x,x*x*x);
      |                       ^
main.c:12:25: error: expected declaration specifiers or '...' before 'x'
   12 |    printf("%d^3=%d\n",x,x*x*x);
      |                         ^
main.c:14:4: error: expected identifier or '(' before 'return'
   14 |    return 0;
      |    ^~~~~~
Language: C

#include <stdio.h>

int main(){
}

   int x;

   printf("Input:");

   scanf("%d",&x);

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

   return 0;

Compiler output:
main.c:8:11: error: expected declaration specifiers or '...' before string constant
    8 |    printf("Input:");
      |           ^~~~~~~~
main.c:10:10: error: expected declaration specifiers or '...' before string constant
   10 |    scanf("%d",&x);
      |          ^~~~
main.c:10:15: error: expected declaration specifiers or '...' before '&' token
   10 |    scanf("%d",&x);
      |               ^
main.c:12:11: error: expected declaration specifiers or '...' before string constant
   12 |    printf("%d^3=%d\n",x,x*x*x);
      |           ^~~~~~~~~~~
main.c:12:23: error: expected declaration specifiers or '...' before 'x'
   12 |    printf("%d^3=%d\n",x,x*x*x);
      |                       ^
main.c:12:25: error: expected declaration specifiers or '...' before 'x'
   12 |    printf("%d^3=%d\n",x,x*x*x);
      |                         ^
main.c:14:4: error: expected identifier or '(' before 'return'
   14 |    return 0;
      |    ^~~~~~
Language: C

#include <stdio.h>

int main(){
}

   int x;

   printf("Input:");scanf("%d",&x);

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

   return 0;

Compiler output:
main.c:8:11: error: expected declaration specifiers or '...' before string constant
    8 |    printf("Input:");scanf("%d",&x);
      |           ^~~~~~~~
main.c:8:27: error: expected declaration specifiers or '...' before string constant
    8 |    printf("Input:");scanf("%d",&x);
      |                           ^~~~
main.c:8:32: error: expected declaration specifiers or '...' before '&' token
    8 |    printf("Input:");scanf("%d",&x);
      |                                ^
main.c:10:11: error: expected declaration specifiers or '...' before string constant
   10 |    printf("%d^3=%d\n",x,x*x*x);
      |           ^~~~~~~~~~~
main.c:10:23: error: expected declaration specifiers or '...' before 'x'
   10 |    printf("%d^3=%d\n",x,x*x*x);
      |                       ^
main.c:10:25: error: expected declaration specifiers or '...' before 'x'
   10 |    printf("%d^3=%d\n",x,x*x*x);
      |                         ^
main.c:12:4: error: expected identifier or '(' before 'return'
   12 |    return 0;
      |    ^~~~~~
Language: C

#include <stdio.h>

int main(){
}

   int x;

   printf("lnput:");scanf("%d",&x);

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

   return 0;

Compiler output:
main.c:8:11: error: expected declaration specifiers or '...' before string constant
    8 |    printf("lnput:");scanf("%d",&x);
      |           ^~~~~~~~
main.c:8:27: error: expected declaration specifiers or '...' before string constant
    8 |    printf("lnput:");scanf("%d",&x);
      |                           ^~~~
main.c:8:32: error: expected declaration specifiers or '...' before '&' token
    8 |    printf("lnput:");scanf("%d",&x);
      |                                ^
main.c:10:11: error: expected declaration specifiers or '...' before string constant
   10 |    printf("%d^3=%d\n",x,x*x*x);
      |           ^~~~~~~~~~~
main.c:10:23: error: expected declaration specifiers or '...' before 'x'
   10 |    printf("%d^3=%d\n",x,x*x*x);
      |                       ^
main.c:10:25: error: expected declaration specifiers or '...' before 'x'
   10 |    printf("%d^3=%d\n",x,x*x*x);
      |                         ^
main.c:12:4: error: expected identifier or '(' before 'return'
   12 |    return 0;
      |    ^~~~~~
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:12: error: expected expression before ';' token
    6 |    x=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);
   x=x*x*x*;
   printf("%d\n",x);
   return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:12: error: expected expression before ';' token
    5 |    x=x*x*x*;
      |            ^
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:12: error: expected expression before ';' token
    6 |    x=x*x*x*;
      |            ^
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:8:5: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration]
    8 |     print("%d %d\n",x,y);
      |     ^~~~~
      |     printf
Language: C


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

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

#include <studio.h>
int main(void){
  
int x;
  
scanf("%d",&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 <studio.h>
int main(void){
  
int x,y;
  
scanf("%d",&x);
y=x*x*x;
printf("%d\n",y);
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 x;
  
scanf("%d",&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(void)
 
{
 int x,y;
 scanf("%d,x);
 y=x*x*x;
 printf("%d",y); 
 return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:8: warning: missing terminating " character
    6 |  scanf("%d,x);
      |        ^
main.c:6:8: error: missing terminating " character
    6 |  scanf("%d,x);
      |        ^~~~~~~
main.c:7:9: error: expected ')' before ';' token
    7 |  y=x*x*x;
      |         ^
      |         )
main.c:6:7: note: to match this '('
    6 |  scanf("%d,x);
      |       ^
main.c:7:3: error: passing argument 1 of 'scanf' makes pointer from integer without a cast [-Wint-conversion]
    7 |  y=x*x*x;
      |  ~^~~~~~
      |   |
      |   int
In file included from main.c:1:
/usr/include/stdio.h:428:42: note: expected 'const char *' but argument is of type 'int'
  428 | extern int scanf (const char *__restrict __format, ...) __wur;
      |                   ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:9:11: error: expected ';' before '}' token
    9 |  return 0;
      |           ^
      |           ;
   10 | }
      | ~
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:6:8: warning: missing terminating " character
    6 |  scanf("%d,x);
      |        ^
main.c:6:8: error: missing terminating " character
    6 |  scanf("%d,x);
      |        ^~~~~~~
main.c:7:9: error: expected ')' before ';' token
    7 |  y=x*x*x;
      |         ^
      |         )
main.c:6:7: note: to match this '('
    6 |  scanf("%d,x);
      |       ^
main.c:7:3: error: passing argument 1 of 'scanf' makes pointer from integer without a cast [-Wint-conversion]
    7 |  y=x*x*x;
      |  ~^~~~~~
      |   |
      |   int
In file included from main.c:1:
/usr/include/stdio.h:428:42: note: expected 'const char *' but argument is of type 'int'
  428 | extern int scanf (const char *__restrict __format, ...) __wur;
      |                   ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:9:11: error: expected ';' before '}' token
    9 |  return 0;
      |           ^
      |           ;
   10 | }
      | ~
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()
{
  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(){
	int i;

	do
		scanf("%d", &x);
	while(!(1 <= x && x <= 100))

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

Compiler output:
main.c: In function 'main':
main.c:7:30: error: 'x' undeclared (first use in this function)
    7 |                 scanf("%d", &x);
      |                              ^
main.c:7:30: note: each undeclared identifier is reported only once for each function it appears in
main.c:8:37: error: expected ';' before 'printf'
    8 |         while(!(1 <= x && x <= 100))
      |                                     ^
      |                                     ;
    9 | 
   10 |         printf("%d\n", x*x*x);
      |         ~~~~~~
Language: C

#include <stdio.h>

int main(){
	int x;

	do{
		scanf("%d", &x);
	}while(!(1 <= x && x <= 100))

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

Compiler output:
main.c: In function 'main':
main.c:8:38: error: expected ';' before 'printf'
    8 |         }while(!(1 <= x && x <= 100))
      |                                      ^
      |                                      ;
    9 | 
   10 |         printf("%d\n", x*x*x);
      |         ~~~~~~
Language: C

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

        scanf("%d", &x);

        if(x>=1 || x<=100){
                printf("x?????????:%d\n", x*x*x);
        }

        return 0;
}
~

Compiler output:
main.c:14:1: error: expected identifier or '(' before '~' token
   14 | ~
      | ^
Language: C

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

        scan("%d", &x);

        if(x>=1 || x<=100){
                printf("%d\n", x*x*x);
        }

        return 0;
}

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

1 #include<stdio.h>
  2 int main(void){
  3
  4     int x,y;
  5
  6     scanf("%d",&x);
  7     y = x*x*x;
  8     printf("%d\n",y);
  9
 10     return 0;
 11 }

Compiler output:
main.c:1:1: error: expected identifier or '(' before numeric constant
    1 | 1 #include<stdio.h>
      | ^
main.c:1:3: error: stray '#' in program
    1 | 1 #include<stdio.h>
      |   ^
Language: C

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

        printf("x:");
        scanf("%d", &x);

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

        return 0;
}
~
~
~
~

Compiler output:
main.c:13:1: error: expected identifier or '(' before '~' token
   13 | ~
      | ^
Language: C

1 #include<stdio.h>
  2 int main(void){
  3
  4     int x,y;
  5
  6     scanf("%d",&x);
  7     if(x<=100 && x>=1){
  8         y = x*x*x;
  9         printf("%d\n",y);
 10     }
 11
 12
 13     return 0;
 14 }

Compiler output:
main.c:1:1: error: expected identifier or '(' before numeric constant
    1 | 1 #include<stdio.h>
      | ^
main.c:1:3: error: stray '#' in program
    1 | 1 #include<stdio.h>
      |   ^
Language: C

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

        printf("x:");
        scanf("%d", &x);

        if(x<=100 || x>=1){
                y=x*x*x;
                printf("%d\n", y);
        }

        return 0;
}
~

Compiler output:
main.c:16:1: error: expected identifier or '(' before '~' token
   16 | ~
      | ^
Language: C

#include <stdio.h>

int main(void){

        int X, ans;

        if (1 <= X && X <= 100){
                scanf ("%d", &X);

                ans = X * X * X;

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

        return 0;
}

Compiler output:
main.c: In function 'main':
main.c:15:1: error: expected declaration or statement at end of input
   15 | }
      | ^
Language: C

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

        printf("x:");
        scanf("%d", &x);

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

        return 0;
}
~

Compiler output:
main.c:14:1: error: expected identifier or '(' before '~' token
   14 | ~
      | ^
Language: C

   #include<stdio.h>
   int main(void)
   {
     int x;
     y = 2*a - b/c;
    scanf("%d", &x);
    printf("%d\n", x);
    cin >> x;
    cout << x;
    return 0;
   }

Compiler output:
main.c: In function 'main':
main.c:5:6: error: 'y' undeclared (first use in this function)
    5 |      y = 2*a - b/c;
      |      ^
main.c:5:6: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:12: error: 'a' undeclared (first use in this function)
    5 |      y = 2*a - b/c;
      |            ^
main.c:5:16: error: 'b' undeclared (first use in this function)
    5 |      y = 2*a - b/c;
      |                ^
main.c:5:18: error: 'c' undeclared (first use in this function)
    5 |      y = 2*a - b/c;
      |                  ^
main.c:8:5: error: 'cin' undeclared (first use in this function)
    8 |     cin >> x;
      |     ^~~
main.c:9:5: error: 'cout' undeclared (first use in this function)
    9 |     cout << x;
      |     ^~~~
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:4:7: warning: missing terminating " character
    4 | scanf("%d,&x);
      |       ^
main.c:4:7: error: missing terminating " character
    4 | scanf("%d,&x);
      |       ^~~~~~~~
main.c:5:15: error: 'x' undeclared (first use in this function)
    5 | printf("%d\n",x);
      |               ^
main.c:5:15: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:17: error: expected ')' before ';' token
    5 | printf("%d\n",x);
      |                 ^
      |                 )
main.c:4:6: note: to match this '('
    4 | scanf("%d,&x);
      |      ^
main.c:6:10: error: expected ';' before '}' token
    6 | return 0;
      |          ^
      |          ;
    7 | }
      | ~
Language: C

#include <stdio.h>
int main(void){
   float x, a;
   a = x * x * x
   return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:17: error: expected ';' before 'return'
    4 |    a = x * x * x
      |                 ^
      |                 ;
    5 |    return 0;
      |    ~~~~~~
Language: C

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

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


    // ?????°
    double kisu = 3;

    // ?????°
    double shisu = 3;

    // ?????°?¨????
    double kekka = pow( kisu, shisu );
    

    printf("%lf\n", kekka);

Compiler output:
main.c:9:20: error: implicit declaration of function 'pow' [-Wimplicit-function-declaration]
    9 |     double kekka = pow( kisu, shisu );
      |                    ^~~
main.c:1:1: note: include '<math.h>' or provide a declaration of 'pow'
  +++ |+#include <math.h>
    1 | 
main.c:9:20: warning: incompatible implicit declaration of built-in function 'pow' [-Wbuiltin-declaration-mismatch]
    9 |     double kekka = pow( kisu, shisu );
      |                    ^~~
main.c:9:20: note: include '<math.h>' or provide a declaration of 'pow'
main.c:9:20: error: initializer element is not constant
main.c:12:12: error: expected declaration specifiers or '...' before string constant
   12 |     printf("%lf\n", kekka);
      |            ^~~~~~~
main.c:12:21: error: expected declaration specifiers or '...' before 'kekka'
   12 |     printf("%lf\n", kekka);
      |                     ^~~~~
Language: C

#include <stdio.h>

void main) {

    // ?????°
    double kisu = 3;

    // ?????°
    double shisu = 3;

    // ?????°?¨????
    double kekka = pow( kisu, shisu );
    

    printf("%lf\n", kekka);

    return 0;
}

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

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

    // ?????°
    //int kisu = 3;
    
    int *token1;

    scanf("%d", &token1);

    // ?????°
    int shisu = 3;

    // ?????°?¨????
    int x = pow( token1, shisu );
    
    printf("%d\n", x);

    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:16:13: error: implicit declaration of function 'pow' [-Wimplicit-function-declaration]
   16 |     int x = pow( token1, shisu );
      |             ^~~
main.c:3:1: note: include '<math.h>' or provide a declaration of 'pow'
    2 | #include <string.h>
  +++ |+#include <math.h>
    3 | int main() {
main.c:16:13: warning: incompatible implicit declaration of built-in function 'pow' [-Wbuiltin-declaration-mismatch]
   16 |     int x = pow( token1, shisu );
      |             ^~~
main.c:16:13: note: include '<math.h>' or provide a declaration of 'pow'
main.c:16:18: error: incompatible type for argument 1 of 'pow'
   16 |     int x = pow( token1, shisu );
      |                  ^~~~~~
      |                  |
      |                  int *
main.c:16:18: note: expected 'double' but argument is of type 'int *'
Language: C

#include <stdio.h>

int main(){
    int x, kekka;
    scanf("%d", &x);
    kekka = pow( 3, shisu );
    printf("%d\n", kekka);
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:13: error: implicit declaration of function 'pow' [-Wimplicit-function-declaration]
    6 |     kekka = pow( 3, shisu );
      |             ^~~
main.c:2:1: note: include '<math.h>' or provide a declaration of 'pow'
    1 | #include <stdio.h>
  +++ |+#include <math.h>
    2 | 
main.c:6:13: warning: incompatible implicit declaration of built-in function 'pow' [-Wbuiltin-declaration-mismatch]
    6 |     kekka = pow( 3, shisu );
      |             ^~~
main.c:6:13: note: include '<math.h>' or provide a declaration of 'pow'
main.c:6:21: error: 'shisu' undeclared (first use in this function)
    6 |     kekka = pow( 3, shisu );
      |                     ^~~~~
main.c:6:21: note: each undeclared identifier is reported only once for each function it appears in
Language: C

int main(){
    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: 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:5: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    3 |     scanf("%d", &x);
      |     ^~~~~
main.c:3:5: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:4:5: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    4 |     printf("%d\n", x*x*X);
      |     ^~~~~~
main.c:4:5: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:4:5: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:4:5: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:4:24: error: 'X' undeclared (first use in this function)
    4 |     printf("%d\n", x*x*X);
      |                        ^
main.c:4:24: 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:6:24: error: 'X' undeclared (first use in this function)
    6 |     printf("%d\n", x*x*X);
      |                        ^
main.c:6:24: note: each undeclared identifier is reported only once for each function it appears in