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

#inclde<stdio.h>
int main(void)

{
  int d,i,d2;
  scanf("%d",&d);
  d2=d*d;
  for(i=0;i<=d;i++){
   s=d*(i*i);
   s+=s;
  }
  printf("%d",s)



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:3: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    6 |   scanf("%d",&d);
      |   ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | #inclde<stdio.h>
main.c:6:3: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    6 |   scanf("%d",&d);
      |   ^~~~~
main.c:6:3: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:9:4: error: 's' undeclared (first use in this function)
    9 |    s=d*(i*i);
      |    ^
main.c:9:4: note: each undeclared identifier is reported only once for each function it appears in
main.c:12:3: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   12 |   printf("%d",s)
      |   ^~~~~~
main.c:12:3: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:12:3: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:12:3: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:12:17: error: expected ';' at end of input
   12 |   printf("%d",s)
      |                 ^
      |                 ;
   13 | 
main.c:12:3: error: expected declaration or statement at end of input
   12 |   printf("%d",s)
      |   ^~~~~~
Language: C

#inclde<stdio.h>
int main(void)

{
  int d,i,d2;
  scanf("%d",&d);
  d2=d*d;
  for(i=0;i<=d;i++){
   s=d*(i*i);
   s+=s;
  }
  printf("%d",s);
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:3: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    6 |   scanf("%d",&d);
      |   ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | #inclde<stdio.h>
main.c:6:3: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    6 |   scanf("%d",&d);
      |   ^~~~~
main.c:6:3: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:9:4: error: 's' undeclared (first use in this function)
    9 |    s=d*(i*i);
      |    ^
main.c:9:4: note: each undeclared identifier is reported only once for each function it appears in
main.c:12:3: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   12 |   printf("%d",s);
      |   ^~~~~~
main.c:12:3: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:12:3: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:12:3: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

#inclde<stdio.h>
int main(void)

{
  int d,i;
  scanf("%d",&d);

  for(i=0;i<=d;i++)
  {
   s=d*(i*i);
   s+=s;
  }
  printf("%d",s);
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:3: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    6 |   scanf("%d",&d);
      |   ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | #inclde<stdio.h>
main.c:6:3: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    6 |   scanf("%d",&d);
      |   ^~~~~
main.c:6:3: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:10:4: error: 's' undeclared (first use in this function)
   10 |    s=d*(i*i);
      |    ^
main.c:10:4: note: each undeclared identifier is reported only once for each function it appears in
main.c:13:3: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   13 |   printf("%d",s);
      |   ^~~~~~
main.c:13:3: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:13:3: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:13:3: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

#inclde<stdio.h>
int main(void)

{
 int d,i,s,a;
 scanf("%d",&d);

  for(i=0;i<=d;i++)
  {
   s=d*(i*i);
   a+=s;
  }
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",&d);
      |  ^~~~~
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",&d);
      |  ^~~~~
main.c:6:2: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:13:1: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   13 | printf("%d",a);
      | ^~~~~~
main.c:13:1: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:13:1: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:13:1: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

#include <stdio.h>

int area(int x,int d);
int main(void) {
	int x, s, d, i, j;
		scanf("%d", &d);
		x = 600 / d;
		s = 0;
		for (j = 1; j < x; j++) {
			s += area(j,d);
		}
		printf("%d\n", s);
	}
	return 0;

int area(int x,int d) {
	return d*(600-x*d)*(600-x*d);
}


Compiler output:
main.c:14:9: error: expected identifier or '(' before 'return'
   14 |         return 0;
      |         ^~~~~~
Language: C

#include <iostream>
#include <cstdio>
using namespace std;

int area(int d) {
　　int d, x,;
　　d = x*x
　　for(x = 1; x <= 600; x++)
　　sum = sum + i
}

int main(void){
    int d;
    while(scanf("%d", &d) != EOF) {
       printf("%d\n", area(d));
    }
    return 0;
}


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

#include <stdio.h>
int main(void){
    
int i,d,b,s,t,y,sum=0;
    while(scanf("%d", &d)!= EOF) {
        
                 
    b=600/d;
    
        for(i=1;i<b;i++){
            y=i*d;
            t=y*y;
            s=d*t;
            sum+=s;
        }
        printf("%d",sum);
    
    
    if(d == 0) {
 　     break;
　          }
        
    }
　
    return 0;
    
}



Compiler output:
main.c: In function 'main':
main.c:20:2: error: stray '\343' in program
   20 |  <U+3000>     break;
      |  ^~~~~~~~
main.c:21:1: error: stray '\343' in program
   21 | <U+3000>          }
      | ^~~~~~~~
main.c:24:1: error: stray '\343' in program
   24 | <U+3000>
      | ^~~~~~~~
Language: C

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

{
 int d,i,a,s;
 scanf("%d", &d)!= EOF

  for(i=0;i<=(600-d);i+=d)
  {
   s=0;
   a=d*(i*i);
   s+=a;
  }
printf("%d\n",s);
return 0;
}


Compiler output:
main.c: In function 'main':
main.c:8:3: error: expected ';' before 'for'
    8 |   for(i=0;i<=(600-d);i+=d)
      |   ^~~
Language: C

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

{
 int d,i,a,s;
 while(scanf("%d", &d)!= EOF){
     for(i=0;i<=(600/d);i++)
  {
      s=0;
      a=d*(i*d*i*d);
      s+=a;
  }
printf("%d\n",s);
iof(d==0){
break;}
}
return 0;
}


Compiler output:
main.c: In function 'main':
main.c:14:1: error: implicit declaration of function 'iof' [-Wimplicit-function-declaration]
   14 | iof(d==0){
      | ^~~
main.c:14:10: error: expected ';' before '{' token
   14 | iof(d==0){
      |          ^
      |          ;
Language: C

#include<stdio.h>
int main(void)
{
 int d,i,a,s,b;
 while(scanf("%d", &d)!= EOF){
     s=0;
     b=(600/d)
     for(i=1;i<b;i++)
  {

      a=d*(i*d*i*d);
      s+=a;
  }
printf("%d\n",s);
if(d==0){
break;}
}
return 0;
}


Compiler output:
main.c: In function 'main':
main.c:7:15: error: expected ';' before 'for'
    7 |      b=(600/d)
      |               ^
      |               ;
    8 |      for(i=1;i<b;i++)
      |      ~~~
Language: C

#include <iostream>
#include <cstdio>
using namespace std;

int area(int d) {



}

int main(void){
    int d;
    while(scanf("%d", &d) != EOF) {
       printf("%d\n", area(d));
    }
    return 0;
}



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


#include <iostream>
#include <cstdio>
using namespace std;

int area(int d) {
　　return (d*d);
}

int main(void){
    int d;
    while(scanf("%d", &d) != EOF) {
       printf("%d\n", area(d));
    }
    return 0;
}




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

#include <stdio.h>>
int f(int d) {
　　return (d*d);
}

int main(void){
    int d;
    while(scanf("%d", &d) != EOF) {
       printf("%d\n",f(d));
    }
    return 0;
}




Compiler output:
main.c:1:19: warning: extra tokens at end of #include directive
    1 | #include <stdio.h>>
      |                   ^
main.c: In function 'f':
main.c:3:1: error: stray '\343' in program
    3 | <U+3000><U+3000>return (d*d);
      | ^~~~~~~~
main.c:3:3: error: stray '\343' in program
    3 | <U+3000><U+3000>return (d*d);
      |         ^~~~~~~~
Language: C

#include <stdio.h>>
int f(int d) {
　　return (d*d);
}

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




Compiler output:
main.c:1:19: warning: extra tokens at end of #include directive
    1 | #include <stdio.h>>
      |                   ^
main.c: In function 'f':
main.c:3:1: error: stray '\343' in program
    3 | <U+3000><U+3000>return (d*d);
      | ^~~~~~~~
main.c:3:3: error: stray '\343' in program
    3 | <U+3000><U+3000>return (d*d);
      |         ^~~~~~~~
Language: C

#include <stdio.h>

int area(int d) {
    
    int i,n,x,y,s,sum;
    
     n = 600/d ;
　　for (i=0; i < n; i++){
　　    x = i*d;
　　    y = x*x;
　　    s= y*d;
　　    
　　    sum=sum+s;
　　}
　　return sum;
　
　　       
}

int main(void){
    int d;
    while(scanf("%d", &d) != EOF) {
       printf("%d\n", area(d));
    }
    return 0;
}


Compiler output:
main.c: In function 'area':
main.c:8:1: error: stray '\343' in program
    8 | <U+3000><U+3000>for (i=0; i < n; i++){
      | ^~~~~~~~
main.c:8:3: error: stray '\343' in program
    8 | <U+3000><U+3000>for (i=0; i < n; i++){
      |         ^~~~~~~~
main.c:9:1: error: stray '\343' in program
    9 | <U+3000><U+3000>    x = i*d;
      | ^~~~~~~~
main.c:9:3: error: stray '\343' in program
    9 | <U+3000><U+3000>    x = i*d;
      |         ^~~~~~~~
main.c:10:1: error: stray '\343' in program
   10 | <U+3000><U+3000>    y = x*x;
      | ^~~~~~~~
main.c:10:3: error: stray '\343' in program
   10 | <U+3000><U+3000>    y = x*x;
      |         ^~~~~~~~
main.c:11:1: error: stray '\343' in program
   11 | <U+3000><U+3000>    s= y*d;
      | ^~~~~~~~
main.c:11:3: error: stray '\343' in program
   11 | <U+3000><U+3000>    s= y*d;
      |         ^~~~~~~~
main.c:12:1: error: stray '\343' in program
   12 | <U+3000><U+3000>
      | ^~~~~~~~
main.c:12:3: error: stray '\343' in program
   12 | <U+3000><U+3000>
      |         ^~~~~~~~
main.c:13:1: error: stray '\343' in program
   13 | <U+3000><U+3000>    sum=sum+s;
      | ^~~~~~~~
main.c:13:3: error: stray '\343' in program
   13 | <U+3000><U+3000>    sum=sum+s;
      |         ^~~~~~~~
main.c:14:1: error: stray '\343' in program
   14 | <U+3000><U+3000>}
      | ^~~~~~~~
main.c:14:3: error: stray '\343' in program
   14 | <U+3000><U+3000>}
      |         ^~~~~~~~
main.c:15:1: error: stray '\343' in program
   15 | <U+3000><U+3000>return sum;
      | ^~~~~~~~
main.c:15:3: error: stray '\343' in program
   15 | <U+3000><U+3000>return sum;
      |         ^~~~~~~~
main.c:16:1: error: stray '\343' in program
   16 | <U+3000>
      | ^~~~~~~~
main.c:17:1: error: stray '\343' in program
   17 | <U+3000><U+3000>
      | ^~~~~~~~
main.c:17:3: error: stray '\343' in program
   17 | <U+3000><U+3000>
      |         ^~~~~~~~
Language: C

#include <stdio.h>

int area(int d) {
    
    int i,n,x,y,s,sum=0;
    
     n = 600/d ;
　　for (i=0; i < n; i++){
　　    x = i*d;
　　    y = x*x;
　　    s= y*d;
　　    
　　    sum=sum+s;
　　}
　　return sum;
　
　　       
}

int main(void){
    int d;
    while(scanf("%d", &d) != EOF) {
       printf("%d\n", area(d));
    }
    return 0;
}


Compiler output:
main.c: In function 'area':
main.c:8:1: error: stray '\343' in program
    8 | <U+3000><U+3000>for (i=0; i < n; i++){
      | ^~~~~~~~
main.c:8:3: error: stray '\343' in program
    8 | <U+3000><U+3000>for (i=0; i < n; i++){
      |         ^~~~~~~~
main.c:9:1: error: stray '\343' in program
    9 | <U+3000><U+3000>    x = i*d;
      | ^~~~~~~~
main.c:9:3: error: stray '\343' in program
    9 | <U+3000><U+3000>    x = i*d;
      |         ^~~~~~~~
main.c:10:1: error: stray '\343' in program
   10 | <U+3000><U+3000>    y = x*x;
      | ^~~~~~~~
main.c:10:3: error: stray '\343' in program
   10 | <U+3000><U+3000>    y = x*x;
      |         ^~~~~~~~
main.c:11:1: error: stray '\343' in program
   11 | <U+3000><U+3000>    s= y*d;
      | ^~~~~~~~
main.c:11:3: error: stray '\343' in program
   11 | <U+3000><U+3000>    s= y*d;
      |         ^~~~~~~~
main.c:12:1: error: stray '\343' in program
   12 | <U+3000><U+3000>
      | ^~~~~~~~
main.c:12:3: error: stray '\343' in program
   12 | <U+3000><U+3000>
      |         ^~~~~~~~
main.c:13:1: error: stray '\343' in program
   13 | <U+3000><U+3000>    sum=sum+s;
      | ^~~~~~~~
main.c:13:3: error: stray '\343' in program
   13 | <U+3000><U+3000>    sum=sum+s;
      |         ^~~~~~~~
main.c:14:1: error: stray '\343' in program
   14 | <U+3000><U+3000>}
      | ^~~~~~~~
main.c:14:3: error: stray '\343' in program
   14 | <U+3000><U+3000>}
      |         ^~~~~~~~
main.c:15:1: error: stray '\343' in program
   15 | <U+3000><U+3000>return sum;
      | ^~~~~~~~
main.c:15:3: error: stray '\343' in program
   15 | <U+3000><U+3000>return sum;
      |         ^~~~~~~~
main.c:16:1: error: stray '\343' in program
   16 | <U+3000>
      | ^~~~~~~~
main.c:17:1: error: stray '\343' in program
   17 | <U+3000><U+3000>
      | ^~~~~~~~
main.c:17:3: error: stray '\343' in program
   17 | <U+3000><U+3000>
      |         ^~~~~~~~
Language: C

#include <stdio.h>

int area(int d) {
    
    int i,n,x,y,s,sum=0;
    
     n = 600/d ;
　　for (i=0; i < n; i++){
　　    x = i*d;
　　    y = x*x;
　　    s= y*d;
　　    
　　    sum=sum+s;
　　}
　　return sum;
　
　　       
}

int main(void){
    int d;
    while(scanf("%d", &d) != EOF) {
       printf("%d\n", area(d));
    }
    return 0;
}




Compiler output:
main.c: In function 'area':
main.c:8:1: error: stray '\343' in program
    8 | <U+3000><U+3000>for (i=0; i < n; i++){
      | ^~~~~~~~
main.c:8:3: error: stray '\343' in program
    8 | <U+3000><U+3000>for (i=0; i < n; i++){
      |         ^~~~~~~~
main.c:9:1: error: stray '\343' in program
    9 | <U+3000><U+3000>    x = i*d;
      | ^~~~~~~~
main.c:9:3: error: stray '\343' in program
    9 | <U+3000><U+3000>    x = i*d;
      |         ^~~~~~~~
main.c:10:1: error: stray '\343' in program
   10 | <U+3000><U+3000>    y = x*x;
      | ^~~~~~~~
main.c:10:3: error: stray '\343' in program
   10 | <U+3000><U+3000>    y = x*x;
      |         ^~~~~~~~
main.c:11:1: error: stray '\343' in program
   11 | <U+3000><U+3000>    s= y*d;
      | ^~~~~~~~
main.c:11:3: error: stray '\343' in program
   11 | <U+3000><U+3000>    s= y*d;
      |         ^~~~~~~~
main.c:12:1: error: stray '\343' in program
   12 | <U+3000><U+3000>
      | ^~~~~~~~
main.c:12:3: error: stray '\343' in program
   12 | <U+3000><U+3000>
      |         ^~~~~~~~
main.c:13:1: error: stray '\343' in program
   13 | <U+3000><U+3000>    sum=sum+s;
      | ^~~~~~~~
main.c:13:3: error: stray '\343' in program
   13 | <U+3000><U+3000>    sum=sum+s;
      |         ^~~~~~~~
main.c:14:1: error: stray '\343' in program
   14 | <U+3000><U+3000>}
      | ^~~~~~~~
main.c:14:3: error: stray '\343' in program
   14 | <U+3000><U+3000>}
      |         ^~~~~~~~
main.c:15:1: error: stray '\343' in program
   15 | <U+3000><U+3000>return sum;
      | ^~~~~~~~
main.c:15:3: error: stray '\343' in program
   15 | <U+3000><U+3000>return sum;
      |         ^~~~~~~~
main.c:16:1: error: stray '\343' in program
   16 | <U+3000>
      | ^~~~~~~~
main.c:17:1: error: stray '\343' in program
   17 | <U+3000><U+3000>
      | ^~~~~~~~
main.c:17:3: error: stray '\343' in program
   17 | <U+3000><U+3000>
      |         ^~~~~~~~
Language: C


#include <stdio.h>double zenka(double q){   double x=q/2;     while(x*x*x-q>=0.00001*q || x*x*x-q<=-0.00001*q)   {       x=x-((x*x*x)-q)/(3*x*x);   }     return x;}int main(void){   int q;     while(1)   {       scanf("%d",&q);       if(q==-1) break;       else       {           printf("%.7f\n",zenka(q));       }   }     return 0;}


Compiler output:
main.c:2:19: warning: extra tokens at end of #include directive
    2 | #include <stdio.h>double zenka(double q){   double x=q/2;     while(x*x*x-q>=0.00001*q || x*x*x-q<=-0.00001*q)   {       x=x-((x*x*x)-q)/(3*x*x);   }     return x;}int main(void){   int q;     while(1)   {       scanf("%d",&q);       if(q==-1) break;       else       {           printf("%.7f\n",zenka(q));       }   }     return 0;}
      |                   ^~~~~~
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
Language: C

#include <stdio.h>

int area(int d) {
    
    int i=0,n,x,y,s,sum=0;
    
     n = 600/d ;
　　for (i=0; i < n; i++){
　　    x = i*d;
　　    y = x*x;
　　    s= y*d;
　　    
　　    sum=sum+s;
　　}
　　return sum;
　
　　       
}

int main(void){
    int d;
    while(scanf("%d", &d) != EOF) {
       printf("%d\n", area(d));
    }
    return 0;
}




Compiler output:
main.c: In function 'area':
main.c:8:1: error: stray '\343' in program
    8 | <U+3000><U+3000>for (i=0; i < n; i++){
      | ^~~~~~~~
main.c:8:3: error: stray '\343' in program
    8 | <U+3000><U+3000>for (i=0; i < n; i++){
      |         ^~~~~~~~
main.c:9:1: error: stray '\343' in program
    9 | <U+3000><U+3000>    x = i*d;
      | ^~~~~~~~
main.c:9:3: error: stray '\343' in program
    9 | <U+3000><U+3000>    x = i*d;
      |         ^~~~~~~~
main.c:10:1: error: stray '\343' in program
   10 | <U+3000><U+3000>    y = x*x;
      | ^~~~~~~~
main.c:10:3: error: stray '\343' in program
   10 | <U+3000><U+3000>    y = x*x;
      |         ^~~~~~~~
main.c:11:1: error: stray '\343' in program
   11 | <U+3000><U+3000>    s= y*d;
      | ^~~~~~~~
main.c:11:3: error: stray '\343' in program
   11 | <U+3000><U+3000>    s= y*d;
      |         ^~~~~~~~
main.c:12:1: error: stray '\343' in program
   12 | <U+3000><U+3000>
      | ^~~~~~~~
main.c:12:3: error: stray '\343' in program
   12 | <U+3000><U+3000>
      |         ^~~~~~~~
main.c:13:1: error: stray '\343' in program
   13 | <U+3000><U+3000>    sum=sum+s;
      | ^~~~~~~~
main.c:13:3: error: stray '\343' in program
   13 | <U+3000><U+3000>    sum=sum+s;
      |         ^~~~~~~~
main.c:14:1: error: stray '\343' in program
   14 | <U+3000><U+3000>}
      | ^~~~~~~~
main.c:14:3: error: stray '\343' in program
   14 | <U+3000><U+3000>}
      |         ^~~~~~~~
main.c:15:1: error: stray '\343' in program
   15 | <U+3000><U+3000>return sum;
      | ^~~~~~~~
main.c:15:3: error: stray '\343' in program
   15 | <U+3000><U+3000>return sum;
      |         ^~~~~~~~
main.c:16:1: error: stray '\343' in program
   16 | <U+3000>
      | ^~~~~~~~
main.c:17:1: error: stray '\343' in program
   17 | <U+3000><U+3000>
      | ^~~~~~~~
main.c:17:3: error: stray '\343' in program
   17 | <U+3000><U+3000>
      |         ^~~~~~~~
Language: C

#include <stdio.h>

int area(int d) {
    
    int i=0,sum=0;
    int n,x,y,s;

     n = 600/d ;
　　for (i=0; i < n; i++){
　　    x = i*d;
　　    y = x*x;
　　    s= y*d;
　　    
　　    sum=sum+s;
　　}
　　return sum;
　
　　       
}

int main(void){
    int d;
    while(scanf("%d", &d) != EOF) {
       printf("%d\n", area(d));
    }
    return 0;
}




Compiler output:
main.c: In function 'area':
main.c:9:1: error: stray '\343' in program
    9 | <U+3000><U+3000>for (i=0; i < n; i++){
      | ^~~~~~~~
main.c:9:3: error: stray '\343' in program
    9 | <U+3000><U+3000>for (i=0; i < n; i++){
      |         ^~~~~~~~
main.c:10:1: error: stray '\343' in program
   10 | <U+3000><U+3000>    x = i*d;
      | ^~~~~~~~
main.c:10:3: error: stray '\343' in program
   10 | <U+3000><U+3000>    x = i*d;
      |         ^~~~~~~~
main.c:11:1: error: stray '\343' in program
   11 | <U+3000><U+3000>    y = x*x;
      | ^~~~~~~~
main.c:11:3: error: stray '\343' in program
   11 | <U+3000><U+3000>    y = x*x;
      |         ^~~~~~~~
main.c:12:1: error: stray '\343' in program
   12 | <U+3000><U+3000>    s= y*d;
      | ^~~~~~~~
main.c:12:3: error: stray '\343' in program
   12 | <U+3000><U+3000>    s= y*d;
      |         ^~~~~~~~
main.c:13:1: error: stray '\343' in program
   13 | <U+3000><U+3000>
      | ^~~~~~~~
main.c:13:3: error: stray '\343' in program
   13 | <U+3000><U+3000>
      |         ^~~~~~~~
main.c:14:1: error: stray '\343' in program
   14 | <U+3000><U+3000>    sum=sum+s;
      | ^~~~~~~~
main.c:14:3: error: stray '\343' in program
   14 | <U+3000><U+3000>    sum=sum+s;
      |         ^~~~~~~~
main.c:15:1: error: stray '\343' in program
   15 | <U+3000><U+3000>}
      | ^~~~~~~~
main.c:15:3: error: stray '\343' in program
   15 | <U+3000><U+3000>}
      |         ^~~~~~~~
main.c:16:1: error: stray '\343' in program
   16 | <U+3000><U+3000>return sum;
      | ^~~~~~~~
main.c:16:3: error: stray '\343' in program
   16 | <U+3000><U+3000>return sum;
      |         ^~~~~~~~
main.c:17:1: error: stray '\343' in program
   17 | <U+3000>
      | ^~~~~~~~
main.c:18:1: error: stray '\343' in program
   18 | <U+3000><U+3000>
      | ^~~~~~~~
main.c:18:3: error: stray '\343' in program
   18 | <U+3000><U+3000>
      |         ^~~~~~~~
Language: C

#include <stdio.h>

int area(int d) {
    
    int sum=0;
    int n,x,y,s;

     n = 600/d ;
　　for (i=0; i < n; i++){
　　    x = i*d;
　　    y = x*x;
　　    s= y*d;
　　    
　　    sum=sum+s;
　　}
　　return sum;
　
　　       
}

int main(void){
    int d;
    while(scanf("%d", &d) != EOF) {
       printf("%d\n", area(d));
    }
    return 0;
}




Compiler output:
main.c: In function 'area':
main.c:9:1: error: stray '\343' in program
    9 | <U+3000><U+3000>for (i=0; i < n; i++){
      | ^~~~~~~~
main.c:9:3: error: stray '\343' in program
    9 | <U+3000><U+3000>for (i=0; i < n; i++){
      |         ^~~~~~~~
main.c:9:10: error: 'i' undeclared (first use in this function)
    9 | 　　for (i=0; i < n; i++){
      |          ^
main.c:9:10: note: each undeclared identifier is reported only once for each function it appears in
main.c:10:1: error: stray '\343' in program
   10 | <U+3000><U+3000>    x = i*d;
      | ^~~~~~~~
main.c:10:3: error: stray '\343' in program
   10 | <U+3000><U+3000>    x = i*d;
      |         ^~~~~~~~
main.c:11:1: error: stray '\343' in program
   11 | <U+3000><U+3000>    y = x*x;
      | ^~~~~~~~
main.c:11:3: error: stray '\343' in program
   11 | <U+3000><U+3000>    y = x*x;
      |         ^~~~~~~~
main.c:12:1: error: stray '\343' in program
   12 | <U+3000><U+3000>    s= y*d;
      | ^~~~~~~~
main.c:12:3: error: stray '\343' in program
   12 | <U+3000><U+3000>    s= y*d;
      |         ^~~~~~~~
main.c:13:1: error: stray '\343' in program
   13 | <U+3000><U+3000>
      | ^~~~~~~~
main.c:13:3: error: stray '\343' in program
   13 | <U+3000><U+3000>
      |         ^~~~~~~~
main.c:14:1: error: stray '\343' in program
   14 | <U+3000><U+3000>    sum=sum+s;
      | ^~~~~~~~
main.c:14:3: error: stray '\343' in program
   14 | <U+3000><U+3000>    sum=sum+s;
      |         ^~~~~~~~
main.c:15:1: error: stray '\343' in program
   15 | <U+3000><U+3000>}
      | ^~~~~~~~
main.c:15:3: error: stray '\343' in program
   15 | <U+3000><U+3000>}
      |         ^~~~~~~~
main.c:16:1: error: stray '\343' in program
   16 | <U+3000><U+3000>return sum;
      | ^~~~~~~~
main.c:16:3: error: stray '\343' in program
   16 | <U+3000><U+3000>return sum;
      |         ^~~~~~~~
main.c:17:1: error: stray '\343' in program
   17 | <U+3000>
      | ^~~~~~~~
main.c:18:1: error: stray '\343' in program
   18 | <U+3000><U+3000>
      | ^~~~~~~~
main.c:18:3: error: stray '\343' in program
   18 | <U+3000><U+3000>
      |         ^~~~~~~~
Language: C

#include <iostream>
#include <cstdio>
using namespace std;

int gcd(int a, int b) {
 int x,y;
 int a,b,s;


 


}

int main(void){
    int a, b;
    while(cin >> a >> b) {
      int lcm = ...
      cout << gcd(a,b) << " " << lcm << endl;
    }
    return 0;
}




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

#include <studio.h>

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

int area (int d) {
    int s=0, i;

    for (i=0;i<600;i+=d) {
        s+=y(i)*d;
    }
    return s;
}

int main (void) {
    int d, s;

    while (scanf("%d", &d)!=EOF) {
        s=area (d);
        printf("%d\n", s);
    }

    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 f(int x){
  return x*x;
}

int area(int d)
{
 int i = 0, a, b, c = 0;
  a = 600/d;
   for(i = 0; i < a; i++){
    b = d*f(i*d);
    c = c + b;
  }
 return c;

int main(void)
{
  int d;
  while(scanf("%d",&d)!=EOF){
     printf("%d\n",area(d));
  }
  return(0);
}



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

#include<stdio.h>
main(){
a,b,i;
while(~scanf("%d",&a)){
b=i=0;
for(;i<600/a;){
b+=a*i*a*i++*a;
}
printf("%d\n",b);
}
}

Compiler output:
main.c:2:1: error: return type defaults to 'int' [-Wimplicit-int]
    2 | main(){
      | ^~~~
main.c: In function 'main':
main.c:3:1: error: 'a' undeclared (first use in this function)
    3 | a,b,i;
      | ^
main.c:3:1: note: each undeclared identifier is reported only once for each function it appears in
main.c:3:3: error: 'b' undeclared (first use in this function)
    3 | a,b,i;
      |   ^
main.c:3:5: error: 'i' undeclared (first use in this function)
    3 | a,b,i;
      |     ^
Language: C

a;main(){for(;~scanf("%d",&a);a=!printf("%d\n",72e6-d*18e4+d*d*100));}

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | a;main(){for(;~scanf("%d",&a);a=!printf("%d\n",72e6-d*18e4+d*d*100));}
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'a' [-Wimplicit-int]
main.c:1:3: error: return type defaults to 'int' [-Wimplicit-int]
    1 | a;main(){for(;~scanf("%d",&a);a=!printf("%d\n",72e6-d*18e4+d*d*100));}
      |   ^~~~
main.c: In function 'main':
main.c:1:16: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    1 | a;main(){for(;~scanf("%d",&a);a=!printf("%d\n",72e6-d*18e4+d*d*100));}
      |                ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | a;main(){for(;~scanf("%d",&a);a=!printf("%d\n",72e6-d*18e4+d*d*100));}
main.c:1:16: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    1 | a;main(){for(;~scanf("%d",&a);a=!printf("%d\n",72e6-d*18e4+d*d*100));}
      |                ^~~~~
main.c:1:16: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:1:34: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    1 | a;main(){for(;~scanf("%d",&a);a=!printf("%d\n",72e6-d*18e4+d*d*100));}
      |                                  ^~~~~~
main.c:1:34: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:1:34: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:1:34: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:1:53: error: 'd' undeclared (first use in this function)
    1 | a;main(){for(;~scanf("%d",&a);a=!printf("%d\n",72e6-d*18e4+d*d*100));}
      |                                                     ^
main.c:1:53: note: each undeclared identifier is reported only once for each function it appears in
Language: C

a;main(){for(;~scanf("%d",&a);a=!printf("%d00\n",(600-d)*(1200-d)));}

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | a;main(){for(;~scanf("%d",&a);a=!printf("%d00\n",(600-d)*(1200-d)));}
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'a' [-Wimplicit-int]
main.c:1:3: error: return type defaults to 'int' [-Wimplicit-int]
    1 | a;main(){for(;~scanf("%d",&a);a=!printf("%d00\n",(600-d)*(1200-d)));}
      |   ^~~~
main.c: In function 'main':
main.c:1:16: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    1 | a;main(){for(;~scanf("%d",&a);a=!printf("%d00\n",(600-d)*(1200-d)));}
      |                ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | a;main(){for(;~scanf("%d",&a);a=!printf("%d00\n",(600-d)*(1200-d)));}
main.c:1:16: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    1 | a;main(){for(;~scanf("%d",&a);a=!printf("%d00\n",(600-d)*(1200-d)));}
      |                ^~~~~
main.c:1:16: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:1:34: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    1 | a;main(){for(;~scanf("%d",&a);a=!printf("%d00\n",(600-d)*(1200-d)));}
      |                                  ^~~~~~
main.c:1:34: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:1:34: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:1:34: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:1:55: error: 'd' undeclared (first use in this function)
    1 | a;main(){for(;~scanf("%d",&a);a=!printf("%d00\n",(600-d)*(1200-d)));}
      |                                                       ^
main.c:1:55: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include<stdio.h>

int main(void){
	__int64 s=0,d,tate;
	int i;
	
	while(scanf("%I64u",&d)==1){
		for(i=1;i<600;i++){
			tate=i*d;
			if(tate>600-d)
				break;
			tate*=tate;
			s+=tate*d;
		}
		printf("%I64u\n",s);
		s=0;
	}
	
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:9: error: unknown type name '__int64'; did you mean '__int64_t'?
    4 |         __int64 s=0,d,tate;
      |         ^~~~~~~
      |         __int64_t
Language: C

#include<iostream>
using namespace std;
int main(){
	int n;
	while(cin >>n){
		int sum = 0;
		for(int i=0;i<600;i+=n){sum+=i*i*n}
		cout <<sum<<endl;
	}
	return 0;
}

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

#include<stdio.h>
int main(){
	int a,d,c;
	while(~scanf("%d",&d)){
		for(c=0;c<=600;c+=d){a+=c*c*d}
		printf("%d",a);
	}
	return 0;

}

Compiler output:
main.c: In function 'main':
main.c:5:46: error: expected ';' before '}' token
    5 |                 for(c=0;c<=600;c+=d){a+=c*c*d}
      |                                              ^
      |                                              ;
Language: C

#include <stdio.h>

int main(void)
{
	int d;
	int i;
	__int64 sum;
	
	while (scanf("%d", &d) != EOF){
		sum = 0;
		
		for (i = 1; i * d <= 600 - d; i++){
			sum += ((i * d) * (i * d)) * d;
		}
		
		printf("%I64d\n", sum);
	}
	
	return (0);
}

Compiler output:
main.c: In function 'main':
main.c:7:9: error: unknown type name '__int64'; did you mean '__int64_t'?
    7 |         __int64 sum;
      |         ^~~~~~~
      |         __int64_t
Language: C

#include <stdio.h>
#define sqr(x) ((x) * (x))

int main()
{
  int d;
  unsigned long s;
  while(scanf("%d",&d)!=EOF){
           if(600%d!=0) break;
           int i;
           for(i=d; i<600; i+=d){
                s += sqr(i)*d;
           }
printf("%lu\n",s);
return 0;
}

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

#include <stdio.h>
#define sqr(x) ((x) * (x))

int main()
{
  while(scanf("%d",&d)!=EOF){
   int d=0;
  unsigned long s=0;
           if(600%d!=0) break;
           int i;
           for(i=d; i<600; i+=d){
                s += sqr(i)*d;
           }
printf("%lu\n",s);
}
return 0;
}

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

#include<stdio.h>
#include<math.h>
int main(void){
    int d;
    while(scan("%d",&d)!=EOF){
        printf("%d",600*(600-d)*d*d);
    }
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:11: error: implicit declaration of function 'scan'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    5 |     while(scan("%d",&d)!=EOF){
      |           ^~~~
      |           scanf
Language: C

#include<stdio.h>
#include<math.h>
int main(void){
    int d,i;
    long long int a=0;
    while(scanf("%d",&d)!=EOF){
        for(i=1; i<(600/d); i++){
            a+=(d*d*d*i+i);
        }
        printf("%lld\n",a);
    return 0;
}

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

#include<iostream>
using namespace std;
int n;
int a[1000000];
int sum[1000000];
int main(int argc, char const *argv[])
{

	int d;
	int ans = 0;
	while (cin>>d)
	{
		ans =0;
		for (int i = d; i < 600;i+=d )
		{
			ans += d*(i-d)*(i-d)
		}
		cout<<ans;
	}
	return 0;
}
	
	

	




Compiler output:
a.cc: In function 'int main(int, const char**)':
a.cc:16:45: error: expected ';' before '}' token
   16 |                         ans += d*(i-d)*(i-d)
      |                                             ^
      |                                             ;
   17 |                 }
      |                 ~
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main(){
    // y = x^2
    int d, i, s;
    s = 0;
    for(cin >> d){
        for (i = 0; i < (600/d); ++i){
            s = s + (i * d) * (i * d) * d;
        }
        cout << s << endl;
    }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:17: error: expected ';' before ')' token
    8 |     for(cin >> d){
      |                 ^
      |                 ;
a.cc:14:1: error: expected primary-expression before '}' token
   14 | }
      | ^
a.cc:13:6: error: expected ';' before '}' token
   13 |     }
      |      ^
      |      ;
   14 | }
      | ~     
a.cc:14:1: error: expected primary-expression before '}' token
   14 | }
      | ^
a.cc:13:6: error: expected ')' before '}' token
   13 |     }
      |      ^
      |      )
   14 | }
      | ~     
a.cc:8:8: note: to match this '('
    8 |     for(cin >> d){
      |        ^
a.cc:14:1: error: expected primary-expression before '}' token
   14 | }
      | ^
Language: C++

#include <iostream>
using namespace std;

int main(){
	int d;
	while(cin >> d){
		int s=0;
		int x=600/d;
		for(int i = 1; i < x; ++i){
			s += (i*d*d)
		}
		cout << s << endl;
	}
	return 0;
}
			


Compiler output:
a.cc: In function 'int main()':
a.cc:10:37: error: expected ';' before '}' token
   10 |                         s += (i*d*d)
      |                                     ^
      |                                     ;
   11 |                 }
      |                 ~
Language: C++

#include<iostream>
#include<vector>
using namespace std;
int main(){
  int d,s;
  int S = 0;
  int n = 20;
  int y,x;
  while(n > 0){
    cin >> d;
    // int y = x * d;
    for(y < 600-d;y++;){
      int x[1000]; 
      int y = x * d;
    int s = y * d;
    int n = n - 1;
    int S = S + s;
  }
    cout << S << endl;
  }
  return 0;
}


    



Compiler output:
a.cc: In function 'int main()':
a.cc:14:17: error: invalid operands of types 'int [1000]' and 'int' to binary 'operator*'
   14 |       int y = x * d;
      |               ~ ^ ~
      |               |   |
      |               |   int
      |               int [1000]
Language: C++

#include<iostream>
#include<vector>
using namespace std;
int main(){
  int d,s;
  int S = 0;
  int n = 20;
  int y,x;
  while(n > 0){
    cin >> d;
    
    for(y < 600-d;y++;){
      int x[1000]; 
      int y = x * d;
    int s = y * d;
    int n = n - 1;
    int S = S + s;
  }
    cout << S << endl;
  }
  return 0;
}


    



Compiler output:
a.cc: In function 'int main()':
a.cc:14:17: error: invalid operands of types 'int [1000]' and 'int' to binary 'operator*'
   14 |       int y = x * d;
      |               ~ ^ ~
      |               |   |
      |               |   int
      |               int [1000]
Language: C++

#include<iostream>
using namespace std;

#define loop(i,a,b) for(int i = a ; i< b ; i ++)

int main(void){
  int d;
  while(cin>>d){
    long long int sum =0;
    loop(i,1,600/d)
      sum+=i*i*d*d*d;
    cout<<sum<<endl;
  }
  retrun 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:14:3: error: 'retrun' was not declared in this scope
   14 |   retrun 0;
      |   ^~~~~~
Language: C++

#inlcude <iostream>

using namespace std;
int main(){
  int sum;
  for(int d; cin >> d; ) {
    sum = 0;
    for(int i=1; i*d<=600; i++) {
      sum += d*i*d*i*d;
    }
    cout << sum << endl;
  }
  return 0;
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #inlcude; did you mean #include?
    1 | #inlcude <iostream>
      |  ^~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:6:14: error: 'cin' was not declared in this scope
    6 |   for(int d; cin >> d; ) {
      |              ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #inlcude <iostream>
a.cc:11:5: error: 'cout' was not declared in this scope
   11 |     cout << sum << endl;
      |     ^~~~
a.cc:11:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:11:20: error: 'endl' was not declared in this scope
   11 |     cout << sum << endl;
      |                    ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #inlcude <iostream>
Language: C++

#include <iostream>
#include <string>
using namespace std;

int main()
{
    int d;
    while(cin >> d){
        int s=0;
        for(int i=0 ; i<600 ; i+=d ){
            s+=i*i*d;
        }
    　　cout << s << endl;
    }
	return 0;
}

Compiler output:
a.cc:13:5: error: extended character 　 is not valid in an identifier
   13 |     　　cout << s << endl;
      |     ^
a.cc:13:5: error: extended character 　 is not valid in an identifier
a.cc: In function 'int main()':
a.cc:13:5: error: '\U00003000\U00003000cout' was not declared in this scope
   13 |     　　cout << s << endl;
      |     ^~~~~~~~
Language: C++

#include <iostream>
#include <string>
using namespace std;

int main()
{
    int d , s;
    while(cin >> d){
        s=0;
        for(int i=0 ; i<600 ; i+=d){
            s+=i*i*d;
        }
    　　cout << s << endl;
    }
	return 0;
}

Compiler output:
a.cc:13:5: error: extended character 　 is not valid in an identifier
   13 |     　　cout << s << endl;
      |     ^
a.cc:13:5: error: extended character 　 is not valid in an identifier
a.cc: In function 'int main()':
a.cc:13:5: error: '\U00003000\U00003000cout' was not declared in this scope
   13 |     　　cout << s << endl;
      |     ^~~~~~~~
Language: C++

#include <iostream>
#include <string>
using namespace std;

int main()
{
    int d,s;
    while(cin >> d){
        s=0;
        for(int i=0;i<600;i+=d){
            s+=i*i*d;
        }
    　　cout << s << endl;
    }
	return 0;
}

Compiler output:
a.cc:13:5: error: extended character 　 is not valid in an identifier
   13 |     　　cout << s << endl;
      |     ^
a.cc:13:5: error: extended character 　 is not valid in an identifier
a.cc: In function 'int main()':
a.cc:13:5: error: '\U00003000\U00003000cout' was not declared in this scope
   13 |     　　cout << s << endl;
      |     ^~~~~~~~
Language: C++

#include<stdio.h>
int main()
{
int d;
int sum=0;
while(scanf("%d",&d)!=0){
sum=0;
for(int i=d;i<=600-d;i+=d){
sum+=i*i*d;
}
printf("%d",&sum)}
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:18: error: expected ';' before '}' token
   11 | printf("%d",&sum)}
      |                  ^
      |                  ;
Language: C++

#include<iostream>
using namespace std;
 
int f(int _i)
{
    return _i*_i;
}
 
int main()
{
    int d;
    while(cin >> d){
        int S = 0;
 
        for(int i=0;i<600/d;i+di){
            S += f(d*i)*d;
        }
 
        cout << S << endl;
 
    }
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:15:31: error: 'di' was not declared in this scope; did you mean 'i'?
   15 |         for(int i=0;i<600/d;i+di){
      |                               ^~
      |                               i
Language: C++

#include <stdio.h>
#include <stdlib.h>
//#include <iostream>
//#include <vector>
//using namespace std;

#define MAX_LENGTH 8192
#define MYSCAN scanf_s

int f(int x);

int main(void){
	
	int large, input, count;
	int d[MAX_LENGTH];

	// テ・ツ仰陛ァツ堋?」ツ?ォテァツ「ツコテ、ツソツ敕」ツ?療」ツ?淌ゥツ?催・ツ按療」ツ?ォテ・ツ?・テ・ツ環崚」ツつ津ヲツオツ?」ツ?療ィツセツシテ」ツつ?
	for (count = 0; MYSCAN("%d", &d[count]) != EOF; count++);

	// テ・ツ青?・ツ?・テ・ツ環崚」ツ?ォテ・ツッツセテ」ツ?療」ツ?ヲテヲツ督催、ツスツ?
	for (int i = 0; i < count; i++){
		large = 0;
		for (int j = 0; j < (600 / d[i]) - 1; j++){
			large += f((j + 1) * d[i]) * d[i];
		}
		printf("%d\n", large);
	}

	system("PAUSE");
	return 0;
}

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:16: error: 'scanf_s' was not declared in this scope; did you mean 'scanf'?
    8 | #define MYSCAN scanf_s
      |                ^~~~~~~
a.cc:18:25: note: in expansion of macro 'MYSCAN'
   18 |         for (count = 0; MYSCAN("%d", &d[count]) != EOF; count++);
      |                         ^~~~~~
Language: C++

#include <iostream>
#include <cmath>

int main(void){
	int s = 0, d;
	cin >> d;
	
	for(int i = d; i < 600; i += d) s += pow(i, 2);

	cout << s;

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |         cin >> d;
      |         ^~~
      |         std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:10:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 |         cout << s;
      |         ^~~~
      |         std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C++

#include <iostream>

using namespace std;

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

int main()
{
    int d;
    
    while (cin>>n)
    {
        int ans = 0;
        
        for (int i = 1; d * i < 600; i++)
        {
            ans += f(d * i) * d; // equation is informed from question
        }
        
        cout<<ans<<endl;
    }
    
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:15:17: error: 'n' was not declared in this scope
   15 |     while (cin>>n)
      |                 ^
Language: C++

#include <bits/stdc++.h>
#define rep(i,n) for(int i=0;i<(int)(n);i++)
#define rep1(i,n) for(int i=1;i<=(int)(n);i++)
#define all(c) c.begin(),c.end()
#define pb push_back
#define fs first
#define sc second
#define show(x) cout << #x << " = " << x << endl
#define chmin(x,y) x=min(x,y)
#define chmax(x,y) x=max(x,y)
using namespace std;
int main(){
	int d;
	while(cin>>d){600;x+=d
{
	s+=x*x*d;
}		int s
cout<<s<<endl;=0;
		for(int x=d;xM)
	}
}

Compiler output:
a.cc: In function 'int main()':
a.cc:14:27: error: 'x' was not declared in this scope
   14 |         while(cin>>d){600;x+=d
      |                           ^
a.cc:18:1: error: expected initializer before 'cout'
   18 | cout<<s<<endl;=0;
      | ^~~~
a.cc:18:15: error: expected primary-expression before '=' token
   18 | cout<<s<<endl;=0;
      |               ^
a.cc:19:29: error: 'xM' was not declared in this scope; did you mean 'x'?
   19 |                 for(int x=d;xM)
      |                             ^~
      |                             x
a.cc:19:31: error: expected ';' before ')' token
   19 |                 for(int x=d;xM)
      |                               ^
      |                               ;
a.cc:20:9: error: expected primary-expression before '}' token
   20 |         }
      |         ^
Language: C++

<?php  
$range = trim(fgets(STDIN));  
$sum;
for($i = $range; $i <= 600; $i+=$range){
	$sum+=$i;
}
echo $sum;
?>

Compiler output:
a.cc:1:1: error: expected unqualified-id before '<' token
    1 | <?php
      | ^
a.cc:3:1: error: '$sum' does not name a type
    3 | $sum;
      | ^~~~
a.cc:4:1: error: expected unqualified-id before 'for'
    4 | for($i = $range; $i <= 600; $i+=$range){
      | ^~~
a.cc:4:18: error: '$i' does not name a type
    4 | for($i = $range; $i <= 600; $i+=$range){
      |                  ^~
a.cc:4:29: error: '$i' does not name a type
    4 | for($i = $range; $i <= 600; $i+=$range){
      |                             ^~
a.cc:7:1: error: 'echo' does not name a type
    7 | echo $sum;
      | ^~~~
a.cc:8:1: error: expected unqualified-id before '?' token
    8 | ?>
      | ^
Language: C++

<?php  
$r = trim(fgets(STDIN));  
$sum = 0;
for($i = 0; $i < 600; $i+=$r){
	$sum+=($i*$i)*$r;
}
echo $sum;
?>

Compiler output:
a.cc:1:1: error: expected unqualified-id before '<' token
    1 | <?php
      | ^
a.cc:3:1: error: '$sum' does not name a type
    3 | $sum = 0;
      | ^~~~
a.cc:4:1: error: expected unqualified-id before 'for'
    4 | for($i = 0; $i < 600; $i+=$r){
      | ^~~
a.cc:4:13: error: '$i' does not name a type
    4 | for($i = 0; $i < 600; $i+=$r){
      |             ^~
a.cc:4:23: error: '$i' does not name a type
    4 | for($i = 0; $i < 600; $i+=$r){
      |                       ^~
a.cc:7:1: error: 'echo' does not name a type
    7 | echo $sum;
      | ^~~~
a.cc:8:1: error: expected unqualified-id before '?' token
    8 | ?>
      | ^
Language: C++

<?php  
///$r = trim(fgets(STDIN))
while(fscanf(STDIN, "%d", $r)){  
	$sum = 0;
	for($i = 0; $i < 600; $i+=$r){
		$sum+=($i*$i)*$r;
	}
	echo $sum;
}
?>

Compiler output:
a.cc:1:1: error: expected unqualified-id before '<' token
    1 | <?php
      | ^
a.cc:10:1: error: expected unqualified-id before '?' token
   10 | ?>
      | ^
Language: C++

<?php
while($a=trim(fgets(STDIN))){
        $ans=0;
        for ($i=0; $i < 600; $i+=$a) {
                $ans+=$i*$i*$a;
        }
        echo $ans.PHP_EOL;
}

Compiler output:
a.cc:1:1: error: expected unqualified-id before '<' token
    1 | <?php
      | ^
Language: C++

while a=gets
	a=a.to_i
	c=a.to_i
	b=0
	while c<600
		b+=c*c*a
		c+=a
	end
	puts b	
end

Compiler output:
a.cc:1:1: error: expected unqualified-id before 'while'
    1 | while a=gets
      | ^~~~~
Language: C++

while (a=c=gets.to_i)>0
b=0
(600/a-1).times{b+=c*c*a;c+=a}
puts b
end

Compiler output:
a.cc:1:1: error: expected unqualified-id before 'while'
    1 | while (a=c=gets.to_i)>0
      | ^~~~~
a.cc:4:1: error: 'puts' does not name a type
    4 | puts b
      | ^~~~