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

#include<iostream>
#include<iomanip>
 
int main(){
    while(1){
        int h,m,s;
        double T=0,N;
        std::cin>>h>>m>>s;
        if(h==-1&&m==-1&&s==-1)break;
        T+=h*60;
        T+=m;
        T+=(s/60);
        NT=120-T;
        h=NT/60;
        m=NT-h*60;
        s=(NT-h*60-m)*60;
        std::cout<<std::setw(2)<<std::setfill('0')<<h<<'':';
        std::cout<<std::setw(2)<<std::setfill('0')<<m<<':';         
        std::cout<<std::setw(2)<<std::setfill('0')<<s<<std::endl;
        NT*=3;
        h=NT/60;
        m=NT-h*60;
        s=(NT-h*60-m)*60;
        std::cout<<std::setw(2)<<std::setfill('0')<<h<<':';
        std::cout<<std::setw(2)<<std::setfill('0')<<m<<':';
        std::cout<<std::setw(2)<<std::setfill('0')<<s<<std::endl;
    }
    return 0;
}

Compiler output:
a.cc:17:56: error: empty character constant
   17 |         std::cout<<std::setw(2)<<std::setfill('0')<<h<<'':';
      |                                                        ^~
a.cc:17:59: warning: missing terminating ' character
   17 |         std::cout<<std::setw(2)<<std::setfill('0')<<h<<'':';
      |                                                           ^
a.cc:17:59: error: missing terminating ' character
   17 |         std::cout<<std::setw(2)<<std::setfill('0')<<h<<'':';
      |                                                           ^~
a.cc: In function 'int main()':
a.cc:13:9: error: 'NT' was not declared in this scope; did you mean 'N'?
   13 |         NT=120-T;
      |         ^~
      |         N
a.cc:17:58: error: expected ';' before ':' token
   17 |         std::cout<<std::setw(2)<<std::setfill('0')<<h<<'':';
      |                                                          ^
      |                                                          ;
Language: C++

#include<iostream>
#include<iomanip>
 
int main(){
    while(1){
        int h,m,s;
        double T=0,NT;
        std::cin>>h>>m>>s;
        if(h==-1&&m==-1&&s==-1)break;
        T+=h*60;
        T+=m;
        T+=(s/60);
        NT=120-T;
        h=NT/60;
        m=NT-h*60;
        s=(NT-h*60-m)*60;
        std::cout<<std::setw(2)<<std::setfill('0')<<h<<'':';
        std::cout<<std::setw(2)<<std::setfill('0')<<m<<':';         
        std::cout<<std::setw(2)<<std::setfill('0')<<s<<std::endl;
        NT*=3;
        h=NT/60;
        m=NT-h*60;
        s=(NT-h*60-m)*60;
        std::cout<<std::setw(2)<<std::setfill('0')<<h<<':';
        std::cout<<std::setw(2)<<std::setfill('0')<<m<<':';
        std::cout<<std::setw(2)<<std::setfill('0')<<s<<std::endl;
    }
    return 0;
}

Compiler output:
a.cc:17:56: error: empty character constant
   17 |         std::cout<<std::setw(2)<<std::setfill('0')<<h<<'':';
      |                                                        ^~
a.cc:17:59: warning: missing terminating ' character
   17 |         std::cout<<std::setw(2)<<std::setfill('0')<<h<<'':';
      |                                                           ^
a.cc:17:59: error: missing terminating ' character
   17 |         std::cout<<std::setw(2)<<std::setfill('0')<<h<<'':';
      |                                                           ^~
a.cc: In function 'int main()':
a.cc:17:58: error: expected ';' before ':' token
   17 |         std::cout<<std::setw(2)<<std::setfill('0')<<h<<'':';
      |                                                          ^
      |                                                          ;
Language: C++

#include<iostream>
#include<iomanip>
 
int main(){
    while(1){
        int h,m,s;
        double T=0,NT;
        std::cin>>h>>m>>s;
        if(h==-1&&m==-1&&s==-1)break;
        T+=h*60;
        T+=m;
        T+=(s/60);
        NT=120-T;
        h=NT/60;
        m=NT-h*60;
        s=(NT-h*60-m)*60;
        std::cout<<std::setw(2)<<std::setfill('0')<<h<<'':';
        std::cout<<std::setw(2)<<std::setfill('0')<<m<<':';                std::cout<<std::setw(2<<std::setfill('0'<<s<<std::endl;
        NT*=3;
        h=NT/60;
        m=NT-h*60;
        s=(NT-h*60-m)*60;
        std::cout<<std::setw(2)<<std::setfill('0')<<h<<':';
        std::cout<<std::setw(2)<<std::setfill('0')<<m<<':';
 std::cout<<std::setw(2)<<std::setfill('0')<<s<<std::endl;
    }
    return 0;
}

Compiler output:
a.cc:17:56: error: empty character constant
   17 |         std::cout<<std::setw(2)<<std::setfill('0')<<h<<'':';
      |                                                        ^~
a.cc:17:59: warning: missing terminating ' character
   17 |         std::cout<<std::setw(2)<<std::setfill('0')<<h<<'':';
      |                                                           ^
a.cc:17:59: error: missing terminating ' character
   17 |         std::cout<<std::setw(2)<<std::setfill('0')<<h<<'':';
      |                                                           ^~
a.cc: In function 'int main()':
a.cc:17:58: error: expected ';' before ':' token
   17 |         std::cout<<std::setw(2)<<std::setfill('0')<<h<<'':';
      |                                                          ^
      |                                                          ;
a.cc:18:119: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<<'
   18 |         std::cout<<std::setw(2)<<std::setfill('0')<<m<<':';                std::cout<<std::setw(2<<std::setfill('0'<<s<<std::endl;
      |                                                                                                                 ~~~~~~^~~~~~~~~~~
Language: Java

public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int stnum;
		double weight, height, BMI;
		String data, datap[];
		while( scan.hasNext()) {
			data = scan.next();
			datap = data.split(",",3);
			stnum = Integer.valueOf(datap[0]);
			weight = Double.valueOf(datap[1]);
			height = Double.valueOf(datap[2]);
			BMI = (weight)/(height*height);
			if(BMI>=25.0) System.out.println(stnum);
		}
	}

}

Compiler output:
Main.java:4: error: cannot find symbol
		Scanner scan = new Scanner(System.in);
		^
  symbol:   class Scanner
  location: class Main
Main.java:4: error: cannot find symbol
		Scanner scan = new Scanner(System.in);
		                   ^
  symbol:   class Scanner
  location: class Main
2 errors
Language: Java

import java.io.*;
class Main
{
    public static void main(String args[])throws IOException
    {
	BufferedReader input=new BufferedReader(new InputStreamReader(System.in));
	String str;
	while((str=input.readLine())!=null)
	    {
		String str_ary[]=str.split(",");
		Double a[]=new Double[3];
		for(int i=0;i<3;i++)
		    {
			a[i]=Double.parseDouble(str_ary[i]);
		    }
		if(a[1]/Math.pow(a[2],2)>=25)System.out.println((int)a[0]);
	    }
    }
}

Compiler output:
Main.java:16: error: incompatible types: Double cannot be converted to int
		if(a[1]/Math.pow(a[2],2)>=25)System.out.println((int)a[0]);
		                                                      ^
1 error
Language: Java

import java.util.ArrayList;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		ArrayList l = new ArrayList();
 		while(sc.hasNext()){
			String[] s = sc.next().split(",");
			double w = Double.parseDouble(s[1]);
			double h = Double.parseDouble(s[2]);
			if(w/(h*h)>=25)l.add(Integer.parseInt(s[0]));
		}
		if(l.isEmpty())System.out.println("該当なし");
		else for(Integer i:l)System.out.println(i);
	}
}

Compiler output:
Main.java:16: error: incompatible types: Object cannot be converted to Integer
		else for(Integer i:l)System.out.println(i);
		                   ^
Note: Main.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
Language: Java

import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		ArrayList l = new ArrayList();
		while(sc.hasNext()){
			double w = Double.parseDouble(s[1]);
			double h = Double.parseDouble(s[2]);
			if(w/(h*h)>=25)l.add(Integer.parseInt(s[0]));
		}
		if(l.isEmpty())System.out.println("該当なし");
		else for(Integer i:l)System.out.println(i);
	}
}

Compiler output:
Main.java:11: error: cannot find symbol
			double w = Double.parseDouble(s[1]);
			                              ^
  symbol:   variable s
  location: class Main
Main.java:12: error: cannot find symbol
			double h = Double.parseDouble(s[2]);
			                              ^
  symbol:   variable s
  location: class Main
Main.java:13: error: cannot find symbol
			if(w/(h*h)>=25)l.add(Integer.parseInt(s[0]));
			                                      ^
  symbol:   variable s
  location: class Main
Main.java:16: error: incompatible types: Object cannot be converted to Integer
		else for(Integer i:l)System.out.println(i);
		                   ^
4 errors
Language: C

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

int main(void){
	int a;double b,c;
	while(scanf("%d",&a) != EOF){
		scanf("%lf %lf",&b,&c)
		if(b/(c*c)>=25){
			printf("%d\n",a);
		}
	}
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:39: error: expected ';' before 'if'
    7 |                 scanf("%lf %lf",&b,&c)
      |                                       ^
      |                                       ;
    8 |                 if(b/(c*c)>=25){
      |                 ~~
Language: C

#include<stdio.h>

int main{

   int n;
   double w;
   double h;

   scanf("%d,%lf,%lf",&n,&w,&h);

   double bmi;
   bmi = w/(h*h);

   if(bmi>=25){
      printf("%d",n);
   }
   

   return 0;
}

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

#include<stdio.h>
int main(){
int i;
int a[10000],n=0,g
double w,h;
while(scanf("%d,%lf,%lf",&g,&w,&h)!=-1){
if(w/h/h>=25){
a[n]=g;
n++;
}
}
for(i=0;i<n;i++)
printf("%d\n",a[i]);
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'double'
    5 | double w,h;
      | ^~~~~~
main.c:6:27: error: 'g' undeclared (first use in this function)
    6 | while(scanf("%d,%lf,%lf",&g,&w,&h)!=-1){
      |                           ^
main.c:6:27: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:30: error: 'w' undeclared (first use in this function)
    6 | while(scanf("%d,%lf,%lf",&g,&w,&h)!=-1){
      |                              ^
main.c:6:33: error: 'h' undeclared (first use in this function)
    6 | while(scanf("%d,%lf,%lf",&g,&w,&h)!=-1){
      |                                 ^
Language: C

main(){
    int n;
    double g,m;

    while(scanf("%d,%lf,%lf",&n,&g,&m)!=EOF){
        if(25<=g/m/m)printf("%d\n",n);
    }
    return 0;
}

Compiler output:
main.c:1:1: error: return type defaults to 'int' [-Wimplicit-int]
    1 | main(){
      | ^~~~
main.c: In function 'main':
main.c:5:11: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    5 |     while(scanf("%d,%lf,%lf",&n,&g,&m)!=EOF){
      |           ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | main(){
main.c:5:11: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    5 |     while(scanf("%d,%lf,%lf",&n,&g,&m)!=EOF){
      |           ^~~~~
main.c:5:11: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:5:41: error: 'EOF' undeclared (first use in this function)
    5 |     while(scanf("%d,%lf,%lf",&n,&g,&m)!=EOF){
      |                                         ^~~
main.c:5:41: note: 'EOF' is defined in header '<stdio.h>'; this is probably fixable by adding '#include <stdio.h>'
main.c:5:41: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:22: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    6 |         if(25<=g/m/m)printf("%d\n",n);
      |                      ^~~~~~
main.c:6:22: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:6:22: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:6:22: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

n,g,m;int main(){

    while(scanf("%d,%lf,%lf",&n,&g,&m)!=EOF){
        if(25<=g/m/m)printf("%d\n",n);
    }
    return 0;
}

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | n,g,m;int main(){
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'n' [-Wimplicit-int]
main.c:1:3: error: type defaults to 'int' in declaration of 'g' [-Wimplicit-int]
    1 | n,g,m;int main(){
      |   ^
main.c:1:5: error: type defaults to 'int' in declaration of 'm' [-Wimplicit-int]
    1 | n,g,m;int main(){
      |     ^
main.c: In function 'main':
main.c:3:11: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    3 |     while(scanf("%d,%lf,%lf",&n,&g,&m)!=EOF){
      |           ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | n,g,m;int main(){
main.c:3:11: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    3 |     while(scanf("%d,%lf,%lf",&n,&g,&m)!=EOF){
      |           ^~~~~
main.c:3:11: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:3:41: error: 'EOF' undeclared (first use in this function)
    3 |     while(scanf("%d,%lf,%lf",&n,&g,&m)!=EOF){
      |                                         ^~~
main.c:3:41: note: 'EOF' is defined in header '<stdio.h>'; this is probably fixable by adding '#include <stdio.h>'
main.c:3:41: note: each undeclared identifier is reported only once for each function it appears in
main.c:4:22: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    4 |         if(25<=g/m/m)printf("%d\n",n);
      |                      ^~~~~~
main.c:4:22: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:4:22: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:4:22: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

n;int main(g,m){

    while(scanf("%d,%lf,%lf",&n,&g,&m)!=EOF){
        if(25<=g/m/m)printf("%d\n",n);
    }
    return 0;
}

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | n;int main(g,m){
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'n' [-Wimplicit-int]
main.c: In function 'main':
main.c:1:7: error: type of 'g' defaults to 'int' [-Wimplicit-int]
    1 | n;int main(g,m){
      |       ^~~~
main.c:1:7: error: type of 'm' defaults to 'int' [-Wimplicit-int]
main.c:3:11: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    3 |     while(scanf("%d,%lf,%lf",&n,&g,&m)!=EOF){
      |           ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | n;int main(g,m){
main.c:3:11: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    3 |     while(scanf("%d,%lf,%lf",&n,&g,&m)!=EOF){
      |           ^~~~~
main.c:3:11: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:3:41: error: 'EOF' undeclared (first use in this function)
    3 |     while(scanf("%d,%lf,%lf",&n,&g,&m)!=EOF){
      |                                         ^~~
main.c:3:41: note: 'EOF' is defined in header '<stdio.h>'; this is probably fixable by adding '#include <stdio.h>'
main.c:3:41: note: each undeclared identifier is reported only once for each function it appears in
main.c:4:22: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    4 |         if(25<=g/m/m)printf("%d\n",n);
      |                      ^~~~~~
main.c:4:22: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:4:22: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:4:22: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

int main(n){double g,m;while(scanf("%d,%lf,%lf",&n,&g,&m)!=EOF)if(25<=g/m/m)printf("%d\n",n);return 0;}

Compiler output:
main.c: In function 'main':
main.c:1:5: error: type of 'n' defaults to 'int' [-Wimplicit-int]
    1 | int main(n){double g,m;while(scanf("%d,%lf,%lf",&n,&g,&m)!=EOF)if(25<=g/m/m)printf("%d\n",n);return 0;}
      |     ^~~~
main.c:1:30: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    1 | int main(n){double g,m;while(scanf("%d,%lf,%lf",&n,&g,&m)!=EOF)if(25<=g/m/m)printf("%d\n",n);return 0;}
      |                              ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | int main(n){double g,m;while(scanf("%d,%lf,%lf",&n,&g,&m)!=EOF)if(25<=g/m/m)printf("%d\n",n);return 0;}
main.c:1:30: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    1 | int main(n){double g,m;while(scanf("%d,%lf,%lf",&n,&g,&m)!=EOF)if(25<=g/m/m)printf("%d\n",n);return 0;}
      |                              ^~~~~
main.c:1:30: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:1:60: error: 'EOF' undeclared (first use in this function)
    1 | int main(n){double g,m;while(scanf("%d,%lf,%lf",&n,&g,&m)!=EOF)if(25<=g/m/m)printf("%d\n",n);return 0;}
      |                                                            ^~~
main.c:1:60: note: 'EOF' is defined in header '<stdio.h>'; this is probably fixable by adding '#include <stdio.h>'
main.c:1:60: note: each undeclared identifier is reported only once for each function it appears in
main.c:1:77: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    1 | int main(n){double g,m;while(scanf("%d,%lf,%lf",&n,&g,&m)!=EOF)if(25<=g/m/m)printf("%d\n",n);return 0;}
      |                                                                             ^~~~~~
main.c:1:77: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:1:77: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:1:77: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

main(n){double g,m;while(scanf("%d,%lf,%lf",&n,&g,&m)!=EOF)if(25<=g/m/m)printf("%d\n",n);return 0;}

Compiler output:
main.c:1:1: error: return type defaults to 'int' [-Wimplicit-int]
    1 | main(n){double g,m;while(scanf("%d,%lf,%lf",&n,&g,&m)!=EOF)if(25<=g/m/m)printf("%d\n",n);return 0;}
      | ^~~~
main.c: In function 'main':
main.c:1:1: error: type of 'n' defaults to 'int' [-Wimplicit-int]
main.c:1:26: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    1 | main(n){double g,m;while(scanf("%d,%lf,%lf",&n,&g,&m)!=EOF)if(25<=g/m/m)printf("%d\n",n);return 0;}
      |                          ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | main(n){double g,m;while(scanf("%d,%lf,%lf",&n,&g,&m)!=EOF)if(25<=g/m/m)printf("%d\n",n);return 0;}
main.c:1:26: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    1 | main(n){double g,m;while(scanf("%d,%lf,%lf",&n,&g,&m)!=EOF)if(25<=g/m/m)printf("%d\n",n);return 0;}
      |                          ^~~~~
main.c:1:26: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:1:56: error: 'EOF' undeclared (first use in this function)
    1 | main(n){double g,m;while(scanf("%d,%lf,%lf",&n,&g,&m)!=EOF)if(25<=g/m/m)printf("%d\n",n);return 0;}
      |                                                        ^~~
main.c:1:56: note: 'EOF' is defined in header '<stdio.h>'; this is probably fixable by adding '#include <stdio.h>'
main.c:1:56: note: each undeclared identifier is reported only once for each function it appears in
main.c:1:73: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    1 | main(n){double g,m;while(scanf("%d,%lf,%lf",&n,&g,&m)!=EOF)if(25<=g/m/m)printf("%d\n",n);return 0;}
      |                                                                         ^~~~~~
main.c:1:73: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:1:73: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:1:73: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

main(n){double g,m;while(scanf("%d,%lf,%lf",&n,&g,&m)!=EOF)if(25<=g/m/m)printf("%d\n",n);}

Compiler output:
main.c:1:1: error: return type defaults to 'int' [-Wimplicit-int]
    1 | main(n){double g,m;while(scanf("%d,%lf,%lf",&n,&g,&m)!=EOF)if(25<=g/m/m)printf("%d\n",n);}
      | ^~~~
main.c: In function 'main':
main.c:1:1: error: type of 'n' defaults to 'int' [-Wimplicit-int]
main.c:1:26: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    1 | main(n){double g,m;while(scanf("%d,%lf,%lf",&n,&g,&m)!=EOF)if(25<=g/m/m)printf("%d\n",n);}
      |                          ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | main(n){double g,m;while(scanf("%d,%lf,%lf",&n,&g,&m)!=EOF)if(25<=g/m/m)printf("%d\n",n);}
main.c:1:26: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    1 | main(n){double g,m;while(scanf("%d,%lf,%lf",&n,&g,&m)!=EOF)if(25<=g/m/m)printf("%d\n",n);}
      |                          ^~~~~
main.c:1:26: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:1:56: error: 'EOF' undeclared (first use in this function)
    1 | main(n){double g,m;while(scanf("%d,%lf,%lf",&n,&g,&m)!=EOF)if(25<=g/m/m)printf("%d\n",n);}
      |                                                        ^~~
main.c:1:56: note: 'EOF' is defined in header '<stdio.h>'; this is probably fixable by adding '#include <stdio.h>'
main.c:1:56: note: each undeclared identifier is reported only once for each function it appears in
main.c:1:73: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    1 | main(n){double g,m;while(scanf("%d,%lf,%lf",&n,&g,&m)!=EOF)if(25<=g/m/m)printf("%d\n",n);}
      |                                                                         ^~~~~~
main.c:1:73: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:1:73: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:1:73: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

#include<stdio.h>
int main(){
	float a,b,c;
	printf("????¢¨??????????????????????????\???????????????:");
	while(1){
		scanf("%f",&a);
		if(a<85){
			printf("????????????\n??????????????\?????????:");
		}
		else{
			printf("?????????????????§?????????(^??^)9m??????????????¬??°\n");
			break;
		}
	}
	printf("???????????\???????????????(m):");
	scanf("%f",&b);
	c=a/(b*b);
	if(c<22){
		printf]("????????????BMI???%1.0f?????¨???????????§????????¨??£??¨??¨??????????????£?????????????????????\n",c);
	}
	else if(c>=25){
		printf("????????????BMI???%1.0f???????????°??????????????§??????\n",c);
	}
	else{
		printf("????????????BMI???%1.0f????¨??????§??????(??????\n",c);
	}
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:11:58: warning: trigraph ??( ignored, use -trigraphs to enable [-Wtrigraphs]
   11 |                         printf("?????????????????§?????????(^??^)9m??????????????¬??°\n");
main.c:15:42: warning: trigraph ??( ignored, use -trigraphs to enable [-Wtrigraphs]
   15 |         printf("???????????\???????????????(m):");
main.c:19:23: error: expected ';' before ']' token
   19 |                 printf]("????????????BMI???%1.0f?????¨???????????§????????¨??£??¨??¨??????????????£?????????????????????\n",c);
      |                       ^
      |                       ;
main.c:19:23: error: expected statement before ']' token
main.c:25:64: warning: trigraph ??( ignored, use -trigraphs to enable [-Wtrigraphs]
   25 |                 printf("????????????BMI???%1.0f????¨??????§??????(??????\n",c);
Language: C

#include<stdio.h>
int main(){
int x[1000],a,b,c,k=0,i;
scanf("%d,%lf,%lf",&a,&b,&c);
if(b/c/c>=25)
x[k++]=a;
}
for(i=0;i<k;i++)
printf("%d\n",x[i]);
return 0;
}

Compiler output:
main.c:8:1: error: expected identifier or '(' before 'for'
    8 | for(i=0;i<k;i++)
      | ^~~
main.c:8:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    8 | for(i=0;i<k;i++)
      |          ^
main.c:8:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before '++' token
    8 | for(i=0;i<k;i++)
      |              ^~
main.c:10:1: error: expected identifier or '(' before 'return'
   10 | return 0;
      | ^~~~~~
main.c:11:1: error: expected identifier or '(' before '}' token
   11 | }
      | ^
Language: C

main(n){for(float h,w;~scanf("%d,%f,%f",&n,&w,&h);w/h/h<25||printf("%d\n",n));}

Compiler output:
main.c:1:1: error: return type defaults to 'int' [-Wimplicit-int]
    1 | main(n){for(float h,w;~scanf("%d,%f,%f",&n,&w,&h);w/h/h<25||printf("%d\n",n));}
      | ^~~~
main.c: In function 'main':
main.c:1:1: error: type of 'n' defaults to 'int' [-Wimplicit-int]
main.c:1:24: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    1 | main(n){for(float h,w;~scanf("%d,%f,%f",&n,&w,&h);w/h/h<25||printf("%d\n",n));}
      |                        ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | main(n){for(float h,w;~scanf("%d,%f,%f",&n,&w,&h);w/h/h<25||printf("%d\n",n));}
main.c:1:24: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    1 | main(n){for(float h,w;~scanf("%d,%f,%f",&n,&w,&h);w/h/h<25||printf("%d\n",n));}
      |                        ^~~~~
main.c:1:24: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:1:61: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    1 | main(n){for(float h,w;~scanf("%d,%f,%f",&n,&w,&h);w/h/h<25||printf("%d\n",n));}
      |                                                             ^~~~~~
main.c:1:61: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:1:61: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:1:61: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

main(a){float b,c;for(;~scanf("%d,%f,%f",&a,&b,&c);)b/(c*c)>=25&&printf("%d\n",a),d++;exit(0);}

Compiler output:
main.c:1:1: error: return type defaults to 'int' [-Wimplicit-int]
    1 | main(a){float b,c;for(;~scanf("%d,%f,%f",&a,&b,&c);)b/(c*c)>=25&&printf("%d\n",a),d++;exit(0);}
      | ^~~~
main.c: In function 'main':
main.c:1:1: error: type of 'a' defaults to 'int' [-Wimplicit-int]
main.c:1:25: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    1 | main(a){float b,c;for(;~scanf("%d,%f,%f",&a,&b,&c);)b/(c*c)>=25&&printf("%d\n",a),d++;exit(0);}
      |                         ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | main(a){float b,c;for(;~scanf("%d,%f,%f",&a,&b,&c);)b/(c*c)>=25&&printf("%d\n",a),d++;exit(0);}
main.c:1:25: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    1 | main(a){float b,c;for(;~scanf("%d,%f,%f",&a,&b,&c);)b/(c*c)>=25&&printf("%d\n",a),d++;exit(0);}
      |                         ^~~~~
main.c:1:25: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:1:66: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    1 | main(a){float b,c;for(;~scanf("%d,%f,%f",&a,&b,&c);)b/(c*c)>=25&&printf("%d\n",a),d++;exit(0);}
      |                                                                  ^~~~~~
main.c:1:66: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:1:66: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:1:66: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:1:83: error: 'd' undeclared (first use in this function)
    1 | main(a){float b,c;for(;~scanf("%d,%f,%f",&a,&b,&c);)b/(c*c)>=25&&printf("%d\n",a),d++;exit(0);}
      |                                                                                   ^
main.c:1:83: note: each undeclared identifier is reported only once for each function it appears in
main.c:1:87: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
    1 | main(a){float b,c;for(;~scanf("%d,%f,%f",&a,&b,&c);)b/(c*c)>=25&&printf("%d\n",a),d++;exit(0);}
      |                                                                                       ^~~~
main.c:1:1: note: include '<stdlib.h>' or provide a declaration of 'exit'
  +++ |+#include <stdlib.h>
    1 | main(a){float b,c;for(;~scanf("%d,%f,%f",&a,&b,&c);)b/(c*c)>=25&&printf("%d\n",a),d++;exit(0);}
main.c:1:87: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
    1 | main(a){float b,c;for(;~scanf("%d,%f,%f",&a,&b,&c);)b/(c*c)>=25&&printf("%d\n",a),d++;exit(0);}
      |                                                                                       ^~~~
main.c:1:87: note: include '<stdlib.h>' or provide a declaration of 'exit'
Language: C

include <stdio.h>

int main(int argc,char* argv[]){
  
  int s_sum;
  double w,len;

  while(scanf("%d,%lf,%lf",&s_sum,&w,&len) != EOF){
    if(w/(len*len) >= 25.0){
      printf("%d\n",s_sum);
    }
  }
  
  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() {
int num;
double w , h;
while(1) {
scanf("%d",&num);
if(num==EOF)break;
scanf("%f",&w);
scanf("%f",&h);
if(w/(h*h)>=25.0)
printf("%d\n",count);
}
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:11:15: error: 'count' undeclared (first use in this function)
   11 | printf("%d\n",count);
      |               ^~~~~
main.c:11:15: note: each undeclared identifier is reported only once for each function it appears in
Language: C

main(){int x,sum=0;double a,b;while(scanf("%d,%lf,%lf",&x,&a,&b)!=EOF){float y=a/b;y/=b;if(y>=25)printf("%d\n",x);}return 0;} 

Compiler output:
main.c:1:1: error: return type defaults to 'int' [-Wimplicit-int]
    1 | main(){int x,sum=0;double a,b;while(scanf("%d,%lf,%lf",&x,&a,&b)!=EOF){float y=a/b;y/=b;if(y>=25)printf("%d\n",x);}return 0;}
      | ^~~~
main.c: In function 'main':
main.c:1:37: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    1 | main(){int x,sum=0;double a,b;while(scanf("%d,%lf,%lf",&x,&a,&b)!=EOF){float y=a/b;y/=b;if(y>=25)printf("%d\n",x);}return 0;}
      |                                     ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | main(){int x,sum=0;double a,b;while(scanf("%d,%lf,%lf",&x,&a,&b)!=EOF){float y=a/b;y/=b;if(y>=25)printf("%d\n",x);}return 0;}
main.c:1:37: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    1 | main(){int x,sum=0;double a,b;while(scanf("%d,%lf,%lf",&x,&a,&b)!=EOF){float y=a/b;y/=b;if(y>=25)printf("%d\n",x);}return 0;}
      |                                     ^~~~~
main.c:1:37: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:1:67: error: 'EOF' undeclared (first use in this function)
    1 | main(){int x,sum=0;double a,b;while(scanf("%d,%lf,%lf",&x,&a,&b)!=EOF){float y=a/b;y/=b;if(y>=25)printf("%d\n",x);}return 0;}
      |                                                                   ^~~
main.c:1:67: note: 'EOF' is defined in header '<stdio.h>'; this is probably fixable by adding '#include <stdio.h>'
main.c:1:67: note: each undeclared identifier is reported only once for each function it appears in
main.c:1:98: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    1 | main(){int x,sum=0;double a,b;while(scanf("%d,%lf,%lf",&x,&a,&b)!=EOF){float y=a/b;y/=b;if(y>=25)printf("%d\n",x);}return 0;}
      |                                                                                                  ^~~~~~
main.c:1:98: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:1:98: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:1:98: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C++

#include<stdio.h>

int main(){

double y,z;
int x;
while(scanf("%d,%lf,%lf",&x.&y,&z);
if((y/z/z)>=25)printf("%d\n",x);
}
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:29: error: expected unqualified-id before '&' token
    7 | while(scanf("%d,%lf,%lf",&x.&y,&z);
      |                             ^
a.cc:7:35: error: expected ')' before ';' token
    7 | while(scanf("%d,%lf,%lf",&x.&y,&z);
      |      ~                            ^
      |                                   )
a.cc: At global scope:
a.cc:10:1: error: expected unqualified-id before 'return'
   10 | return 0;
      | ^~~~~~
a.cc:11:1: error: expected declaration before '}' token
   11 | }
      | ^
Language: C++

#include<stdio.h>

int main(){

double y,z;
int x;
while(scanf("%d,%lf,%lf",&x.&y,&z)!=EOF){
if((y/z/z)>=25)printf("%d\n",x);
}
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:29: error: expected unqualified-id before '&' token
    7 | while(scanf("%d,%lf,%lf",&x.&y,&z)!=EOF){
      |                             ^
Language: C++

#include <iostream>
#include <cstdio>

using namespace std;
#define rep2(x,from,to) for(int x = (from); x < (to); ++(x))
#define rep(x,to) rep2(x,0,to)
int main() {
	int n;
	double w, h;
	char a, b;
	while(cin >> n >> a >> w >> b >> h) {
		if(w/pow(h,2.0) >= 25) cout << n << endl;
	}
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:22: error: 'pow' was not declared in this scope
   12 |                 if(w/pow(h,2.0) >= 25) cout << n << endl;
      |                      ^~~
Language: C++

#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <utility>
#include <cstring>
#include <cmath>
#include <queue>
#include <map>
#include <set>
using namespace std;
 
#define rep(i,n) for(int i=0; i<n; i++)
#define FOR(i,s,n) for(int i=s; i<n; i++)
#define ALL(x) x.begin(), x.end()
#define pb push_back
#define foreach(it,con) for(auto it=con.begin();it!=con.end();it++)
typedef long long ll;
typedef unsigned long long ull;
typedef pair<int,int> pii;
typedef vector<int> vi;

struct Person{
	Person(int _id,int _m,int _h):h(_h),m(_m),id(_id){
	}
	int id;
	float m;
	float h;
	float bmi(){
		return mass/h*h;
	}
};

int main(){
	list<Person> pers;
	while(cin>>n,n){
		rep(i,n){
			int id; float m,h;
			cin>>id,m,h;
			Person p(id,m,h);
			if(p.bmi()>=25.0){
				cout << id << endl;
			}
		}
	}
	return 0;	
}

Compiler output:
a.cc: In member function 'float Person::bmi()':
a.cc:30:24: error: 'mass' was not declared in this scope
   30 |                 return mass/h*h;
      |                        ^~~~
a.cc: In function 'int main()':
a.cc:35:9: error: 'list' was not declared in this scope
   35 |         list<Person> pers;
      |         ^~~~
a.cc:11:1: note: 'std::list' is defined in header '<list>'; this is probably fixable by adding '#include <list>'
   10 | #include <set>
  +++ |+#include <list>
   11 | using namespace std;
a.cc:35:20: error: expected primary-expression before '>' token
   35 |         list<Person> pers;
      |                    ^
a.cc:35:22: error: 'pers' was not declared in this scope
   35 |         list<Person> pers;
      |                      ^~~~
a.cc:36:20: error: 'n' was not declared in this scope; did you mean 'yn'?
   36 |         while(cin>>n,n){
      |                    ^
      |                    yn
Language: C++

#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <utility>
#include <cstring>
#include <cmath>
#include <queue>
#include <map>
#include <set>
using namespace std;
 
#define rep(i,n) for(int i=0; i<n; i++)
#define FOR(i,s,n) for(int i=s; i<n; i++)
#define ALL(x) x.begin(), x.end()
#define pb push_back
#define foreach(it,con) for(auto it=con.begin();it!=con.end();it++)
typedef long long ll;
typedef unsigned long long ull;
typedef pair<int,int> pii;
typedef vector<int> vi;

struct Person{
	Person(int _id,int _m,int _h):h(_h),m(_m),id(_id){
	}
	int id;
	float m;
	float h;
	float bmi(){
		return mass/h*h;
	}
};

int main(){
	int n;
	while(cin>>n,n){
		rep(i,n){
			int id; float m,h;
			cin>>id,m,h;
			Person p(id,m,h);
			if(p.bmi()>=25.0){
				cout << id << endl;
			}
		}
	}
	return 0;	
}

Compiler output:
a.cc: In member function 'float Person::bmi()':
a.cc:30:24: error: 'mass' was not declared in this scope
   30 |                 return mass/h*h;
      |                        ^~~~
Language: C++

#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <utility>
#include <cstring>
#include <cmath>
#include <queue>
#include <map>
#include <set>
using namespace std;
 
#define rep(i,n) for(int i=0; i<n; i++)
#define FOR(i,s,n) for(int i=s; i<n; i++)
#define ALL(x) x.begin(), x.end()
#define pb push_back
#define foreach(it,con) for(auto it=con.begin();it!=con.end();it++)
typedef long long ll;
typedef unsigned long long ull;
typedef pair<int,int> pii;
typedef vector<int> vi;

struct Person{
	Person(int _id,int _m,int _h):h(_h),m(_m),id(_id){
	}
	int id;
	float m;
	float h;
	float bmi(){
		return mass/h*h;
	}
};

int main(){
	int n;
	while(cin>>n,n){
		rep(i,n){
			int id;
			float m,h;
			cin>>id >> m >> h;
			Person p(id,m,h);
			if(p.bmi()>=25.0){
				cout << id << endl;
			}
		}
	}
	return 0;	
}

Compiler output:
a.cc: In member function 'float Person::bmi()':
a.cc:30:24: error: 'mass' was not declared in this scope
   30 |                 return mass/h*h;
      |                        ^~~~
Language: C++

#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <utility>
#include <cstring>
#include <cmath>
#include <queue>
#include <map>
#include <set>
using namespace std;
 
#define rep(i,n) for(int i=0; i<n; i++)
#define FOR(i,s,n) for(int i=s; i<n; i++)
#define ALL(x) x.begin(), x.end()
#define pb push_back
#define foreach(it,con) for(auto it=con.begin();it!=con.end();it++)
typedef long long ll;
typedef unsigned long long ull;
typedef pair<int,int> pii;
typedef vector<int> vi;

struct Person{
	Person(int _id,int _m,int _h):h(_h),m(_m),id(_id){
	}
	int id;
	float m;
	float h;
	float bmi(){
		return mass/h*h;
	}
};

int main(){
	int n;
	while(cin>>n,n){
		rep(i,n){

		}
	}
	return 0;	
}

Compiler output:
a.cc: In member function 'float Person::bmi()':
a.cc:30:24: error: 'mass' was not declared in this scope
   30 |                 return mass/h*h;
      |                        ^~~~
Language: C++

#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <utility>
#include <cstring>
#include <cmath>
#include <queue>
#include <map>
#include <set>
using namespace std;
 
#define rep(i,n) for(int i=0; i<n; i++)
#define FOR(i,s,n) for(int i=s; i<n; i++)
#define ALL(x) x.begin(), x.end()
#define pb push_back
#define foreach(it,con) for(auto it=con.begin();it!=con.end();it++)
typedef long long ll;
typedef unsigned long long ull;
typedef pair<int,int> pii;
typedef vector<int> vi;

struct Person{
	Person(int _id,float _m,float _h)
	:id(_id),h(_h),m(_m){
	}
	int id;
	float m;
	float h;
	float bmi(){
		return mass/h*h;
	}
};

int main(){
	int n;
	while(cin>>n,n){
		rep(i,n){

		}
	}
	return 0;	
}

Compiler output:
a.cc: In member function 'float Person::bmi()':
a.cc:31:24: error: 'mass' was not declared in this scope
   31 |                 return mass/h*h;
      |                        ^~~~
Language: C++

#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <utility>
#include <cstring>
#include <cmath>
#include <queue>
#include <map>
#include <set>
using namespace std;
 
#define rep(i,n) for(int i=0; i<n; i++)
#define FOR(i,s,n) for(int i=s; i<n; i++)
#define ALL(x) x.begin(), x.end()
#define pb push_back
#define foreach(it,con) for(auto it=con.begin();it!=con.end();it++)
typedef long long ll;
typedef unsigned long long ull;
typedef pair<int,int> pii;
typedef vector<int> vi;

struct Person{
	Person(int _id,int _m,int _h):h(_h),m(_m),id(_id){
	}
	int id;
	float m;
	float h;
	float bmi(){
		return m/h*h;
	}
};

int main(){
	stringstream str;
	while(cin>>str){
		int id;
		char split;
		float m,h;
		str >>id >> split >> m >> split >> h;
		Person p(id,m,h);
		if(p.bmi()>=25.0){
			cout << id << endl;
		}
	}
	return 0;	
}

Compiler output:
a.cc: In function 'int main()':
a.cc:35:22: error: aggregate 'std::stringstream str' has incomplete type and cannot be defined
   35 |         stringstream str;
      |                      ^~~
Language: C++

#include<stdio.h>

int main(){
	int l;
	double m,n;
	while(sscanf("%d,%lf,%lf",&l,&m,&n)){
		if(25.0<=m/(n*n))printf("%d\n",l);
	}
		return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:35: error: cannot convert 'int*' to 'const char*'
    6 |         while(sscanf("%d,%lf,%lf",&l,&m,&n)){
      |                                   ^~
      |                                   |
      |                                   int*
In file included from a.cc:1:
/usr/include/stdio.h:431:43: note:   initializing argument 2 of 'int sscanf(const char*, const char*, ...)'
  431 |                    const char *__restrict __format, ...) __THROW;
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
Language: C++

#include<stdio.h>
int main(){
	float a,b,c;
	printf("????¢¨??????????????????????????\???????????????:");
	while(1){
		scanf("%f",&a);
		if(a<85){
			printf("????????????\n??????????????\?????????:");
		}
		else{
			printf("?????????????????§?????????(^??^)9m??????????????¬??°\n");
			break;
		}
	}
	printf("???????????\???????????????(m):");
	scanf("%f",&b);
	c=a/(b*b);
	if(c<22){
		printf]("????????????BMI???%1.0f?????¨???????????§????????¨??£??¨??¨??????????????£?????????????????????\n",c);
	}
	else if(c>=25){
		printf("????????????BMI???%1.0f???????????°??????????????§??????\n",c);
	}
	else{
		printf("????????????BMI???%1.0f????¨??????§??????(??????\n",c);
	}
	return 0;
}

Compiler output:
a.cc:11:58: warning: trigraph ??( ignored, use -trigraphs to enable [-Wtrigraphs]
   11 |                         printf("?????????????????§?????????(^??^)9m??????????????¬??°\n");
a.cc:15:42: warning: trigraph ??( ignored, use -trigraphs to enable [-Wtrigraphs]
   15 |         printf("???????????\???????????????(m):");
a.cc:25:64: warning: trigraph ??( ignored, use -trigraphs to enable [-Wtrigraphs]
   25 |                 printf("????????????BMI???%1.0f????¨??????§??????(??????\n",c);
a.cc: In function 'int main()':
a.cc:19:23: error: expected ';' before ']' token
   19 |                 printf]("????????????BMI???%1.0f?????¨???????????§????????¨??£??¨??¨??????????????£?????????????????????\n",c);
      |                       ^
      |                       ;
Language: C++

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

int main()
{
    int id;
    double w;
    double h;
    while(cin>>id){
        scanf("%f",&w);
        scanf("%f",&h)
        double bmi = w/(h*h);
        if(bmi >= 25.0){
            cout<<id<<endl;
        }
    }
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:23: error: expected ';' before 'double'
   12 |         scanf("%f",&h)
      |                       ^
      |                       ;
   13 |         double bmi = w/(h*h);
      |         ~~~~~~         
a.cc:14:12: error: 'bmi' was not declared in this scope
   14 |         if(bmi >= 25.0){
      |            ^~~
Language: C++

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

int main()
{
	int id;
	double w, h;
	while (scanf_s("%d,%lf,%lf",&id,&w,&h)) {
		double bmi = w / (h*h);
		if (bmi >= 25.0) {
			cout << id << endl;
		}
	}
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:16: error: 'scanf_s' was not declared in this scope; did you mean 'scanf'?
    9 |         while (scanf_s("%d,%lf,%lf",&id,&w,&h)) {
      |                ^~~~~~~
      |                scanf
Language: C++

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

int main()
{
	int id;
	double w, h;
	while (scanf_s("%d,%lf,%lf",&id,&w,&h) != EOF) {
		double bmi = w / (h*h);
		if (bmi >= 25.0) {
			cout << id << endl;
		}
	}
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:16: error: 'scanf_s' was not declared in this scope; did you mean 'scanf'?
    9 |         while (scanf_s("%d,%lf,%lf",&id,&w,&h) != EOF) {
      |                ^~~~~~~
      |                scanf
Language: C++

#include<iostream>
#include<vector>
using namespace std;
int main()
{
	int s[50] = {};
	double w[50] = {};
	double h[50] = {};
	int i = 0;
	vector <int> sb = {};
	while (scanf_s("%d,%f,%f", s[i], w[i], h[i])) {
		if ((w[i] / (h[i] ^ 2)) >= 25) {
			sb.push_back(s[i]);
		}
		i++;
	}
	int j = 0;
	while (sb[j] == 0) {
		cout << sb[j] << endl;
		j++;
	}

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:16: error: 'scanf_s' was not declared in this scope; did you mean 'scanf'?
   11 |         while (scanf_s("%d,%f,%f", s[i], w[i], h[i])) {
      |                ^~~~~~~
      |                scanf
a.cc:12:35: error: invalid operands of types 'double' and 'int' to binary 'operator^'
   12 |                 if ((w[i] / (h[i] ^ 2)) >= 25) {
      |                              ~~~~ ^ ~
      |                                 |   |
      |                                 |   int
      |                                 double
Language: C++

#include<iostream>
#include<vector>
using namespace std;
int main()
{
	int s[50] = {};
	double w[50] = {};
	double h[50] = {};
	int i = 0;
	vector <int> sb(50, 0);
	while (scanf_s("%d,%f,%f", &s[i], &w[i], &h[i]) != EOF) {
		if ((w[i] / (h[i] * h[i])) >= 25) {
			sb.push_back(s[i]);
		}
		i++;
	}
	int j = 0;
	while (sb[j] == 0) {
		cout << sb[j] << endl;
		j++;
	}

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:16: error: 'scanf_s' was not declared in this scope; did you mean 'scanf'?
   11 |         while (scanf_s("%d,%f,%f", &s[i], &w[i], &h[i]) != EOF) {
      |                ^~~~~~~
      |                scanf
Language: C++

#include<iostream>
#include<stdio.h>
#include<vector>
using namespace std;
int main()
{
	int s[50] = {};
	double w[50] = {};
	double h[50] = {};
	int i = 0;
	vector <int> sb(50, 0);
	while (scanf_s("%d,%f,%f", &s[i], &w[i], &h[i]) != EOF) {
		if ((w[i] / (h[i] * h[i])) >= 25) {
			sb.push_back(s[i]);
		}
		i++;
	}
	int j = 0;
	while (sb[j] == 0) {
		cout << sb[j] << endl;
		j++;
	}

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:16: error: 'scanf_s' was not declared in this scope; did you mean 'scanf'?
   12 |         while (scanf_s("%d,%f,%f", &s[i], &w[i], &h[i]) != EOF) {
      |                ^~~~~~~
      |                scanf
Language: C++

int main()
{
        int s;
        double w, h;

        while (scanf("%d,%lf,%lf", &s, &w, &h) != EOF) {
                double bmi = w / (h * h);
                if (bmi > 25.0) {
                        printf("%d\n", s);
                }
        }

        return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:16: error: 'scanf' was not declared in this scope
    6 |         while (scanf("%d,%lf,%lf", &s, &w, &h) != EOF) {
      |                ^~~~~
a.cc:6:51: error: 'EOF' was not declared in this scope
    6 |         while (scanf("%d,%lf,%lf", &s, &w, &h) != EOF) {
      |                                                   ^~~
a.cc:1:1: note: 'EOF' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | int main()
a.cc:9:25: error: 'printf' was not declared in this scope
    9 |                         printf("%d\n", s);
      |                         ^~~~~~
a.cc:9:25: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'