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

#include<stdio.h>
#include<conio.h>

int main()
{
    int a,b,c;
    char ch='0';
    scanf("%d%d%d",&a,&b,&c);
    if(b>=a*c)
    {
        printf("%d\n",c);
    }
    else if(b<a*c)
    {
        if(b%a==0)
        {
            printf("%d\n",b/a);
        }
    }
    else
        printf("0\n");
    return 0;
}


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

#include<stdio.h>
#include<conio.h>

int main()
{
    int a,b,c;
    char ch='0';
    scanf("%d%d%d",&a,&b,&c);
    if(b>=a*c)
    {
        printf("%d\n",(a*c)/2);
    }
    else if(b<a*c)
    {
        if(b>a)
        {
            printf("%d\n",b/a);
        }
    }
    else
        printf("\0");
    return 0;
}


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

#include <iostream>

int main()
{
	int a, b, c;
	cin >> a >> b >> c;
	if (a*c < b) {
		cout << c << endl;
	}
	else if (c > b / a) {
		cout << b / a << endl;
	}
}

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 >> a >> b >> c;
      |         ^~~
      |         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:8:17: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |                 cout << c << endl;
      |                 ^~~~
      |                 std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:8:30: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |                 cout << c << endl;
      |                              ^~~~
      |                              std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:11:17: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   11 |                 cout << b / a << endl;
      |                 ^~~~
      |                 std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:11:34: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   11 |                 cout << b / a << endl;
      |                                  ^~~~
      |                                  std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: Java

import java.io.BufferedReader;
import java.io.*;
import java.util.*;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Collections;
import java.util.Arrays;

public class Main {
	public static void main(final String[] args){
    
    final Scanner sc = new Scanner(System.in);
    final List<Integer> list = new ArrayList<>();
    final List<Integer> list2 = new ArrayList<>();
    final List<Long> list2 = new ArrayList<>();

    int a = sc.nextInt();
    int b = sc.nextInt();
    int c = sc.nextInt();

    if(a*c <= b){
        System.out.println(c);
    }else{
        System.out.println(b / a);
    }




    







}
}

Compiler output:
Main.java:16: error: variable list2 is already defined in method main(String[])
    final List<Long> list2 = new ArrayList<>();
                     ^
1 error
Language: C++

#include <iostream>
#include <algorithm>

int main()
{
  int A, B, C;
  std::cin >> A >> B >> C;
  std::cout << min(A/B,C);
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:16: error: 'min' was not declared in this scope; did you mean 'std::min'?
    8 |   std::cout << min(A/B,C);
      |                ^~~
      |                std::min
In file included from /usr/include/c++/14/algorithm:61,
                 from a.cc:2:
/usr/include/c++/14/bits/stl_algo.h:5696:5: note: 'std::min' declared here
 5696 |     min(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
Language: C++

#include <iostream>
#include <algorithm>

int main()
{
  int A, B, C;
  std::cin >> A >> B >> C;
  std::cout << min(A/B,C)
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:16: error: 'min' was not declared in this scope; did you mean 'std::min'?
    8 |   std::cout << min(A/B,C)
      |                ^~~
      |                std::min
In file included from /usr/include/c++/14/algorithm:61,
                 from a.cc:2:
/usr/include/c++/14/bits/stl_algo.h:5696:5: note: 'std::min' declared here
 5696 |     min(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
Language: C++

#includ <bits/stdc++.h>

using namespace std;
int main(){
  int a,b,c,d;
  cin>>a>>b>>c;
  d=b/a;
    if(d>c){
      cout<<c;
    }else{
      cout<<d;
    }
}
 
  

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #includ; did you mean #include?
    1 | #includ <bits/stdc++.h>
      |  ^~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope
    6 |   cin>>a>>b>>c;
      |   ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #includ <bits/stdc++.h>
a.cc:9:7: error: 'cout' was not declared in this scope
    9 |       cout<<c;
      |       ^~~~
a.cc:9:7: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:11:7: error: 'cout' was not declared in this scope
   11 |       cout<<d;
      |       ^~~~
a.cc:11:7: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
Language: C++

#include <bits/stdc++.h>

using namespace std;
using ll = long long;
using pii = pair<int, int>;
using tiii = tuple<int, int, int>;
using vi = vector<int>;
using vvi = vector<vector<int>>;
using vpii = vector<pair<int, int>>;

int main()
{
  string s;
  cin >> s;
  ll k=s.size();
  ll cnt_0 = 0,cnt_1 = 0;
  for (int i = 0; i < k;i++){
    if(s[i]=='0')
      cnt_0++;
      else
        cnt_1++;
      }
      
  }
  cout << min(cnt_0, cnt_1) * 2 << endl;
}


Compiler output:
a.cc:25:3: error: 'cout' does not name a type
   25 |   cout << min(cnt_0, cnt_1) * 2 << endl;
      |   ^~~~
a.cc:26:1: error: expected declaration before '}' token
   26 | }
      | ^
Language: C++

#include <iostream>
using namespace std;


int main()
{
  int a,b,c,d;
  cin>> a;
  cin>> b;
  cin>> c;
  d= (b/a);
  {
  if (d>c)
    cout << c<< endl;
  }
  {
  if (d<c)
  cout << d<< endl;
  }
  return 0;
}

120

Compiler output:
a.cc:23:1: error: expected unqualified-id before numeric constant
   23 | 120
      | ^~~
Language: C++

#include<bits.stdc++.h>
using namespace std;
int main() {
  int a,b,c;cin >> a >> b >> c;
  cout << min(b/a,c) << endl;
  return 0;
}

Compiler output:
a.cc:1:9: fatal error: bits.stdc++.h: No such file or directory
    1 | #include<bits.stdc++.h>
      |         ^~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include<iostream>
using namespace std;
int main(){
	int a,b,c,k=0;
	cin>>a>>b>>c;
	while (k=<c && b>=a){
		k++;
		b-=a;
	}
	cout<<k;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:18: error: expected primary-expression before '<' token
    6 |         while (k=<c && b>=a){
      |                  ^
Language: C

#include <stdio.h>

int main(void){

  int a,b,c,i;
  int count=0;
  scanf_s("%d",&a);
  scanf_s("%d",&b);
  scanf_s("%d",&c);
  
  if(c*b<=a){
  	printf("%d",c);
  }
  else{
  	for(i=a;i<=0;i=i-b){
    	count++;
    }
    printf("%d",count);
  }
  return 0;
}
  


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

#include <stdio.h>

int main(void){

  int a,b,c,i;
  int count=0;
  scanf("%d",&a);
  scanf("%d",&b);
  scanf("%d",&c);
  
  if(c*b<=a){
  	printf("%d",c);
  }
  else{
  	for(i=a;i<0;i-=b){
    	count++;
    }
    printf("%d",count);
  }
  rerurn 0;
}
  


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

#include <stdio.h>

int main(void){

  int a,b,c,i;
  int count=0;
  scanf("%d",&a);
  scanf("%d",&b);
  scanf("%d",&c);
  
  if(c*b<=a){
  	fprintf("%d",c);
  }
  else{
  	for(i=a;i<0;i-=b){
    	count++;
    }
    fprintf("%d",count);
  }
  rerurn 0;
}
  


Compiler output:
main.c: In function 'main':
main.c:12:17: error: passing argument 1 of 'fprintf' from incompatible pointer type [-Wincompatible-pointer-types]
   12 |         fprintf("%d",c);
      |                 ^~~~
      |                 |
      |                 char *
In file included from main.c:1:
/usr/include/stdio.h:357:38: note: expected 'FILE * restrict' but argument is of type 'char *'
  357 | extern int fprintf (FILE *__restrict __stream,
      |                     ~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:12:22: error: passing argument 2 of 'fprintf' makes pointer from integer without a cast [-Wint-conversion]
   12 |         fprintf("%d",c);
      |                      ^
      |                      |
      |                      int
/usr/include/stdio.h:358:44: note: expected 'const char * restrict' but argument is of type 'int'
  358 |                     const char *__restrict __format, ...) __nonnull ((1));
      |                     ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:18:13: error: passing argument 1 of 'fprintf' from incompatible pointer type [-Wincompatible-pointer-types]
   18 |     fprintf("%d",count);
      |             ^~~~
      |             |
      |             char *
/usr/include/stdio.h:357:38: note: expected 'FILE * restrict' but argument is of type 'char *'
  357 | extern int fprintf (FILE *__restrict __stream,
      |                     ~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:18:18: error: passing argument 2 of 'fprintf' makes pointer from integer without a cast [-Wint-conversion]
   18 |     fprintf("%d",count);
      |                  ^~~~~
      |                  |
      |                  int
/usr/include/stdio.h:358:44: note: expected 'const char * restrict' but argument is of type 'int'
  358 |                     const char *__restrict __format, ...) __nonnull ((1));
      |                     ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:20:3: error: 'rerurn' undeclared (first use in this function)
   20 |   rerurn 0;
      |   ^~~~~~
main.c:20:3: note: each undeclared identifier is reported only once for each function it appears in
main.c:20:9: error: expected ';' before numeric constant
   20 |   rerurn 0;
      |         ^~
      |         ;
Language: C

#include <stdio.h>

int main(int){

  int a,b,c,i;
  int count=0;
  scanf("%d",&a);
  scanf("%d",&b);
  scanf("%d",&c);
  
  if(c*b<=a){
  	fprintf("%d",c);
  }
  else{
  	for(i=a;i<0;i-=b){
    	count++;
    }
    fprintf("%d",count);
  }
  rerurn 0;
}
  

Compiler output:
main.c: In function 'main':
main.c:12:17: error: passing argument 1 of 'fprintf' from incompatible pointer type [-Wincompatible-pointer-types]
   12 |         fprintf("%d",c);
      |                 ^~~~
      |                 |
      |                 char *
In file included from main.c:1:
/usr/include/stdio.h:357:38: note: expected 'FILE * restrict' but argument is of type 'char *'
  357 | extern int fprintf (FILE *__restrict __stream,
      |                     ~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:12:22: error: passing argument 2 of 'fprintf' makes pointer from integer without a cast [-Wint-conversion]
   12 |         fprintf("%d",c);
      |                      ^
      |                      |
      |                      int
/usr/include/stdio.h:358:44: note: expected 'const char * restrict' but argument is of type 'int'
  358 |                     const char *__restrict __format, ...) __nonnull ((1));
      |                     ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:18:13: error: passing argument 1 of 'fprintf' from incompatible pointer type [-Wincompatible-pointer-types]
   18 |     fprintf("%d",count);
      |             ^~~~
      |             |
      |             char *
/usr/include/stdio.h:357:38: note: expected 'FILE * restrict' but argument is of type 'char *'
  357 | extern int fprintf (FILE *__restrict __stream,
      |                     ~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:18:18: error: passing argument 2 of 'fprintf' makes pointer from integer without a cast [-Wint-conversion]
   18 |     fprintf("%d",count);
      |                  ^~~~~
      |                  |
      |                  int
/usr/include/stdio.h:358:44: note: expected 'const char * restrict' but argument is of type 'int'
  358 |                     const char *__restrict __format, ...) __nonnull ((1));
      |                     ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:20:3: error: 'rerurn' undeclared (first use in this function)
   20 |   rerurn 0;
      |   ^~~~~~
main.c:20:3: note: each undeclared identifier is reported only once for each function it appears in
main.c:20:9: error: expected ';' before numeric constant
   20 |   rerurn 0;
      |         ^~
      |         ;
Language: C

#include<iostream>
using namespace std;
int main ()
{

   int a,b,c;
    cin>>a>>b>>c;
       int cc=0,i;
    for(i=c; i<=b; i=i+c)
    {
        cc=cc+a;
    }
    cout<<cc<<endl;
    return 0;
}


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


import java.util.Scanner;

public class FavoriteSound {

	public static void main(String[] args) {
		Scanner scan=new Scanner(System.in);
		int a=scan.nextInt();
		int b=scan.nextInt();
		int c=scan.nextInt();
		int s=b/a;
		if(s<=c) {
			System.out.println(s);
		}
		else {
			System.out.println(s-1);
		}
	}

}

Compiler output:
Main.java:4: error: class FavoriteSound is public, should be declared in a file named FavoriteSound.java
public class FavoriteSound {
       ^
1 error
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
    int A,B,C;
    cin>>A>>B>>C;
    if(A<=B && B/A => C){
    cout<< C <<endl;
    }else if (A<=B && B/A < C){
        cout<< B/A <<endl;
    }else if (A > B){
        cout<< 0 <<endl;
    }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:21: error: expected primary-expression before '>' token
    7 |     if(A<=B && B/A => C){
      |                     ^
Language: C++

#include<bits/stdc++.h>
using namsespace std;
int main(){
	int a,b,c;
  cin>>a>>b>>c;
  if(a*c <= b){
  	cout<<c<<endl;
  }else{
  	cout<<b/a<<endl;
  }


	return 0;
}

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namsespace'
    2 | using namsespace std;
      |       ^~~~~~~~~~
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |   cin>>a>>b>>c;
      |   ^~~
      |   std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 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:7:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |         cout<<c<<endl;
      |         ^~~~
      |         std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:7:18: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    7 |         cout<<c<<endl;
      |                  ^~~~
      |                  std::endl
In file included from /usr/include/c++/14/istream:41,
                 from /usr/include/c++/14/sstream:40,
                 from /usr/include/c++/14/complex:45,
                 from /usr/include/c++/14/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:127:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:9:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |         cout<<b/a<<endl;
      |         ^~~~
      |         std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:9:20: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    9 |         cout<<b/a<<endl;
      |                    ^~~~
      |                    std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

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

int main(){
  
  int a,b,c;
  cin >> a >> b >> c;
  
  if( b - a*c >= 0 ){
    
    cout << c << endl;
    
  }
  
  else(){
    
    cout << b/a << endl;
    
  }
 
}


Compiler output:
a.cc: In function 'int main()':
a.cc:15:8: error: expected primary-expression before ')' token
   15 |   else(){
      |        ^
Language: Java

public class Main {
	public static void main(String[] args) {
		int A = args[0];
      	int B = args[1];
      	int C = args[2];
      	int count = B / A;
      	if (count > C) count = C;
      	System.out.println(count);
	}
}

Compiler output:
Main.java:3: error: incompatible types: String cannot be converted to int
		int A = args[0];
		            ^
Main.java:4: error: incompatible types: String cannot be converted to int
      	int B = args[1];
      	            ^
Main.java:5: error: incompatible types: String cannot be converted to int
      	int C = args[2];
      	            ^
3 errors
Language: Java


public class Main {
	public static void main(String[] args) {
		int A, B, C;
      	int count = B / A;
      	if (count > C) count = C;
      	System.out.println(count);
	}
}


Compiler output:
Main.java:5: error: variable B might not have been initialized
      	int count = B / A;
      	            ^
Main.java:5: error: variable A might not have been initialized
      	int count = B / A;
      	                ^
Main.java:6: error: variable C might not have been initialized
      	if (count > C) count = C;
      	            ^
3 errors
Language: Java

public class Main {
	public static void main(String[] args) {
		int count = B / A;
        if (count > C) count = C;
      	System.out.println(count);
	}
}


Compiler output:
Main.java:3: error: cannot find symbol
		int count = B / A;
		            ^
  symbol:   variable B
  location: class Main
Main.java:3: error: cannot find symbol
		int count = B / A;
		                ^
  symbol:   variable A
  location: class Main
Main.java:4: error: cannot find symbol
        if (count > C) count = C;
                    ^
  symbol:   variable C
  location: class Main
Main.java:4: error: cannot find symbol
        if (count > C) count = C;
                               ^
  symbol:   variable C
  location: class Main
4 errors
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
  int a,b,c;
  cin> >> a >> b >> c;
  cout << min(b/a,c) << endl;
  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:8: error: expected primary-expression before '>>' token
    5 |   cin> >> a >> b >> c;
      |        ^~
Language: C++

#include <iostream>
using namespace std;
int main()
{
  int A, B, C;
  cin >> A >> B >> C;
  itn ans = A / B;
  if (ans > C) ans = C;
  cout << ans << endl;
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:3: error: 'itn' was not declared in this scope; did you mean 'int'?
    7 |   itn ans = A / B;
      |   ^~~
      |   int
a.cc:8:7: error: 'ans' was not declared in this scope; did you mean 'abs'?
    8 |   if (ans > C) ans = C;
      |       ^~~
      |       abs
a.cc:9:11: error: 'ans' was not declared in this scope; did you mean 'abs'?
    9 |   cout << ans << endl;
      |           ^~~
      |           abs
Language: C++

#define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
using namespace std;
#define int long long
#define rep(i,n) for(int i=0;i<n;i++)
#define rep1(i,n) for(int i=1;i<=n;i++)
#define rep2(i,n) for(int i=0;i<=n;i++)
#define repr(i,a,n) for(int i=a;i<n;i++)
#define all(a) a.begin(),a.end()
#define P pair<long long,long long>
#define uni(e) e.erase(unique(e.begin(),e.end()),e.end())
#define double long double
template<class T> inline bool chmax(T& a, T b) { if (a < b) { a = b; return 1; } return 0; }
template<class T> inline bool chmin(T& a, T b) { if (a > b) { a = b; return 1; } return 0; }
int INF=1e10;
int MOD=1e9+7;
template<class T> void out(T a){cout<<a<<'\n';}
template<class T> void yesno(T b){if(b)out("yes");else out("no");}
template<class T> void YesNo(T b){if(b)out("Yes");else out("No");}
template<class T> void YESNO(T b){if(b)out("YES");else out("NO");}
template<class T> void noyes(T b){if(b)out("no");else out("yes");}
template<class T> void NoYes(T b){if(b)out("No");else out("Yes");}
template<class T> void NOYES(T b){if(b)out("NO");else out("YES");}
int keta(int a){
  double b=a;
  b=log10(b);
  int c=b;
  return c+1;
}
int gcd(int a,int b){
  if(a%b==0)
    return b;
  return gcd(b,a%b);
}
int lcm(int a,int b){
    return a/gcd(a,b)*b;
}
bool sosuu(int a){
  bool b=1;
  if(a<=1)
    return 0;
  else{
  rep1(i,sqrt(a)-1){
  if(a%(i+1)==0)
  b=0;
  }
  return b;
  }
}
int modpow(int a,int b,int m=MOD){
	if(!b)return 1;	if(b&1)return modpow(a,b-1,m)*a%m;
	int memo = modpow(a,b>>1,m);
	return memo*memo%m;
}
int fact_mod(int n) {
    int f=1; 
for(int i=2;i<n+1;i++) f=f*(i%MOD)% MOD;
    return f;
}
int mod_pow(int x,int n) {
    int res=1;
    while(n>0){
        if(n&1) res=(res*x)%MOD; 
        x=(x*x)%MOD;        
n>>=1; 
    }
    return res;
}
int c_mod(int n, int r) {
    if(r>n-r) r=n-r;
    if(r==0) return 1;
    int a=1;
    rep(i,r) 
a=a*((n-i)%MOD)%MOD;
    int b=mod_pow(fact_mod(r), MOD-2);
    return (a%MOD)*(b%MOD)%MOD;
}
signed main(){
  cin>>a>>b>>c;
  out(min(b/a,c));
}

Compiler output:
a.cc: In function 'int main()':
a.cc:79:8: error: 'a' was not declared in this scope
   79 |   cin>>a>>b>>c;
      |        ^
a.cc:79:11: error: 'b' was not declared in this scope
   79 |   cin>>a>>b>>c;
      |           ^
a.cc:79:14: error: 'c' was not declared in this scope
   79 |   cin>>a>>b>>c;
      |              ^
Language: C++

int main(){
    int a,b,c;
    cin >> a >> b >> c;
    cout << min(b/a,c) << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:3:5: error: 'cin' was not declared in this scope
    3 |     cin >> a >> b >> c;
      |     ^~~
a.cc:4:5: error: 'cout' was not declared in this scope
    4 |     cout << min(b/a,c) << endl;
      |     ^~~~
a.cc:4:13: error: 'min' was not declared in this scope; did you mean 'main'?
    4 |     cout << min(b/a,c) << endl;
      |             ^~~
      |             main
a.cc:4:27: error: 'endl' was not declared in this scope
    4 |     cout << min(b/a,c) << endl;
      |                           ^~~~
Language: C++

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

int main(){
    int sinnnyuuyouso;
    int puranya;
    cin >> sinnnyuuyouso >> puranya;
    int sinnnyuukijyun;
    cin >> sinnnyuukijyun;
    int autumn_eel = sinnyuudkijyun;
    if(puranya/sinnnyuuyouso > sinnnyuukijyun) {
        goto yabaisaba;
    }
    else {
        goto sinnnyuusaba;
    }
    yabaisaba :
    cout << autumn_eel << endl;
    sinnnyuusaba:
    cout << puranya/sinnnyouso << endl;
} 


Compiler output:
a.cc: In function 'int main()':
a.cc:10:22: error: 'sinnyuudkijyun' was not declared in this scope; did you mean 'sinnnyuukijyun'?
   10 |     int autumn_eel = sinnyuudkijyun;
      |                      ^~~~~~~~~~~~~~
      |                      sinnnyuukijyun
a.cc:20:21: error: 'sinnnyouso' was not declared in this scope; did you mean 'sinnnyuuyouso'?
   20 |     cout << puranya/sinnnyouso << endl;
      |                     ^~~~~~~~~~
      |                     sinnnyuuyouso
Language: C++

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

int main(){
    int sinnnyuuyouso;
    int puranya;
    cin >> sinnnyuuyouso >> puranya;
    int sinnnyuukijyun;
    cin >> sinnnyuukijyun;
    int autumn_eel = sinnyuudkijyun;
    if(puranya/sinnyuuyouso > sinnnyuukijyun) {
        goto yabaisaba;
    }
    else {
        goto sinnnyuusaba;
    }
    yabaisaba :
    cout << autumn_eel << endl;
    sinnnyuusaba:
    cout << puranya/sinnnyouso << endl;
} 


Compiler output:
a.cc: In function 'int main()':
a.cc:10:22: error: 'sinnyuudkijyun' was not declared in this scope; did you mean 'sinnnyuukijyun'?
   10 |     int autumn_eel = sinnyuudkijyun;
      |                      ^~~~~~~~~~~~~~
      |                      sinnnyuukijyun
a.cc:11:16: error: 'sinnyuuyouso' was not declared in this scope; did you mean 'sinnnyuuyouso'?
   11 |     if(puranya/sinnyuuyouso > sinnnyuukijyun) {
      |                ^~~~~~~~~~~~
      |                sinnnyuuyouso
a.cc:20:21: error: 'sinnnyouso' was not declared in this scope; did you mean 'sinnnyuuyouso'?
   20 |     cout << puranya/sinnnyouso << endl;
      |                     ^~~~~~~~~~
      |                     sinnnyuuyouso
Language: C++

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

int main(){
    int sinnnyuuyouso;
    int puranya;
    cin >> sinnnyuuyouso >> puranya;
    int sinnnyuukijyun;
    cin >> sinnnyuukijyun;
    int autumn_eel = sinnyuudkijyun;
    if(puranya/sinnyuuyouso > sinnnyuukijyun) {
        goto yabaisa-ba-;
    }
    else {
        goto sinnnyuusa-ba-;
    }
    yabaisa-ba- :
    cout << autumn_eel << endl;
    sinnnyuusa-ba-:
    cout << puranya/sinnnyouso << endl;
} 

Compiler output:
a.cc: In function 'int main()':
a.cc:10:22: error: 'sinnyuudkijyun' was not declared in this scope; did you mean 'sinnnyuukijyun'?
   10 |     int autumn_eel = sinnyuudkijyun;
      |                      ^~~~~~~~~~~~~~
      |                      sinnnyuukijyun
a.cc:11:16: error: 'sinnyuuyouso' was not declared in this scope; did you mean 'sinnnyuuyouso'?
   11 |     if(puranya/sinnyuuyouso > sinnnyuukijyun) {
      |                ^~~~~~~~~~~~
      |                sinnnyuuyouso
a.cc:12:21: error: expected ';' before '-' token
   12 |         goto yabaisa-ba-;
      |                     ^
      |                     ;
a.cc:12:22: error: 'ba' was not declared in this scope
   12 |         goto yabaisa-ba-;
      |                      ^~
a.cc:12:25: error: expected primary-expression before ';' token
   12 |         goto yabaisa-ba-;
      |                         ^
a.cc:15:24: error: expected ';' before '-' token
   15 |         goto sinnnyuusa-ba-;
      |                        ^
      |                        ;
a.cc:15:25: error: 'ba' was not declared in this scope
   15 |         goto sinnnyuusa-ba-;
      |                         ^~
a.cc:15:28: error: expected primary-expression before ';' token
   15 |         goto sinnnyuusa-ba-;
      |                            ^
a.cc:17:5: error: 'yabaisa' was not declared in this scope
   17 |     yabaisa-ba- :
      |     ^~~~~~~
a.cc:17:13: error: 'ba' was not declared in this scope
   17 |     yabaisa-ba- :
      |             ^~
a.cc:17:17: error: expected primary-expression before ':' token
   17 |     yabaisa-ba- :
      |                 ^
a.cc:19:5: error: 'sinnnyuusa' was not declared in this scope; did you mean 'sinnnyuuyouso'?
   19 |     sinnnyuusa-ba-:
      |     ^~~~~~~~~~
      |     sinnnyuuyouso
a.cc:19:19: error: expected primary-expression before ':' token
   19 |     sinnnyuusa-ba-:
      |                   ^
a.cc:12:14: error: label 'yabaisa' used but not defined
   12 |         goto yabaisa-ba-;
      |              ^~~~~~~
a.cc:15:14: error: label 'sinnnyuusa' used but not defined
   15 |         goto sinnnyuusa-ba-;
      |              ^~~~~~~~~~
Language: Java

import java.util.*;
public class Main {
	public static void main(String[] args){
      int a = sc.nextInt();
      int b = sc.nextInt();
      int c = sc.nextInt();
     
	  System.out.println(Math.min(b/a,c));
  }
}


Compiler output:
Main.java:4: error: cannot find symbol
      int a = sc.nextInt();
              ^
  symbol:   variable sc
  location: class Main
Main.java:5: error: cannot find symbol
      int b = sc.nextInt();
              ^
  symbol:   variable sc
  location: class Main
Main.java:6: error: cannot find symbol
      int c = sc.nextInt();
              ^
  symbol:   variable sc
  location: class Main
3 errors
Language: Java

class Main {
  public static void main(String[] args) {
   int a,b,c,d;/*a=價格 b=預算 c=次數上限 d=購買次數*/ 
   a=10;
   b=10;
   c=3;
   d=b/a;
  if(d>c){
    System.out.println(c);
  }else{
    System.out.println(d);
  }

Compiler output:
Main.java:12: error: reached end of file while parsing
  }
   ^
1 error
Language: Java

import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        String[] lines = getStdin();
        
        String[] input = lines[0].split(" ");
        int x = Integer.parseInt(input[0]);
        int a = Integer.parseInt(input[1]);
        
        System.out.println(Math.min(c,b/a));
    }
    
    private static String[] getStdin() {
        Scanner scanner = new Scanner(System.in);
        ArrayList<String> lines = new ArrayList<>();
        while (scanner.hasNext()) {
            lines.add(scanner.nextLine());
        }
        return lines.toArray(new String[lines.size()]);
    }
}

Compiler output:
Main.java:13: error: cannot find symbol
        System.out.println(Math.min(c,b/a));
                                    ^
  symbol:   variable c
  location: class Main
Main.java:13: error: cannot find symbol
        System.out.println(Math.min(c,b/a));
                                      ^
  symbol:   variable b
  location: class Main
2 errors
Language: C

#include<iostream>
using namespace std;
int main()
{
    int a,b,c;
    cin>>a>>b>>c;
    if(b/a<=c)
    cout<<b/a<<endl;
    else cout<<c<<endl;
}


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,b,c;
    scanf("%d %d %d",&a,&b,&c);
    if(b<a)
    {
        printf("0");
    }
    if(b>a)
    {
        if(a*c<=b)
        {
            printf("%d",c)
        }
        if(a*c>b)
        {
            printf("%d",b/a);
        }
        
    }
    return 0;    








}


Compiler output:
a.cc: In function 'int main()':
a.cc:14:27: error: expected ';' before '}' token
   14 |             printf("%d",c)
      |                           ^
      |                           ;
   15 |         }
      |         ~
Language: C++

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








}


Compiler output:
a.cc: In function 'int main()':
a.cc:14:27: error: expected ';' before '}' token
   14 |             printf("%d",c)
      |                           ^
      |                           ;
   15 |         }
      |         ~
Language: C

#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
int main()
{
    int a,b,c;
    while(cin>>a>>b>>c)
    {
        int t=0;
        t=b/a;
        if(t<=c)
            cout<<t<<endl;
        else
            cout<<c<<endl;

    }
    return 0;
}


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

#include <iostream>
using namespace std;
void ABC120(void);
void ABC121(void);
void ABC122(void);
void ABC123(void);
void ABC124(void);
void ABC125(void);
void ABC126(void);
void ABC127(void);
void ABC128(void);
void ABC129(void);

int main(void){
    ABC120();
}

void ABC(){
    int a,b,c;
    cin>>a>>b>>c;
    if(b>=a*c)cout<<c<<endl;
    else cout<<b/a<<endl;
}

Compiler output:
/usr/bin/ld: /tmp/ccFVo3lH.o: in function `main':
a.cc:(.text+0x5): undefined reference to `ABC120()'
collect2: error: ld returned 1 exit status
Language: Java

import java.util.Scanner;

class Main{
  public static void main(String... args){
    char[] s = sc.next().toCharArray();
    int[] arr = {0,0};
    
    for(char c : s){
      if(c == '1')arr[1]++;
      else arr[0]++;
    }
    
    
    System.out.println(2*Math.min(arr[0],arr[1]));
  }
}

Compiler output:
Main.java:5: error: cannot find symbol
    char[] s = sc.next().toCharArray();
               ^
  symbol:   variable sc
  location: class Main
1 error
Language: C

#include<stdio.h>
int main(void){
  int a,b,c,i=0;
  scanf("%d %d %d",&a,&b,&c);
  while(b>=a){
    b-=a;
    i++;
    if(i>c){
      return c;
    }
    return i;
  }

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

import java.util.*;
 
public class Main {
    public static void main(String args[]){
        Scanner scanner = new Scanner(System.in);
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = scanner.nextInt();
 
        if (b/a>=c) {
            System.out.println(c);
        }else{
            System.out.println(b/a);
        }
    }

Compiler output:
Main.java:15: error: reached end of file while parsing
    }
     ^
1 error
Language: Java

import java.util.*;

public class CtrlSpring2020_1 {
    public static void main(String args[]){
        Scanner scanner = new Scanner(System.in);
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = scanner.nextInt();

        if (b/a>=c) {
            System.out.println(c);
        }else{
            System.out.println(b/a);
        }
        
    }
}

Compiler output:
Main.java:3: error: class CtrlSpring2020_1 is public, should be declared in a file named CtrlSpring2020_1.java
public class CtrlSpring2020_1 {
       ^
1 error
Language: C++

import math

A, B, C = list(map(int, input().split()))

price = A
possession = B
maximum = C

number_of_purchases = min(math.floor(B / A), maximum)

print(number_of_purchases)


Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import math
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
Language: C++

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

int main()
{
	int A,B,C,Resultado;
	
	scanf("%d %d %d",&A,&B,&C);
	
	
	int x  = 0;
	
	do{
		B=B-A;
		
		if(A >= C){
			break;
		}
		if(x >= C){
			break;
		}
		x++;
	}while(B/A!=0);
	
	printf("%d\n",x);
	

Compiler output:
a.cc: In function 'int main()':
a.cc:25:26: error: expected '}' at end of input
   25 |         printf("%d\n",x);
      |                          ^
a.cc:5:1: note: to match this '{'
    5 | {
      | ^
Language: C

#include<stdio.h>
int main(void){
  int a,b,c,div_ba;
  scanf("%d %d %d",&a,&b,&c);
  div_ba=b/a;
  int min;
  if(div_ba>=c){
    min=c;
  }else{
    min=div_ba;
  }
  printf("%d\n",ans);
  return 0;
}

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

#include<bits/stdc++.h>
int main(){
  int a,b,c;
  std::cin >> a >> b >> c;
  std::cout << min(c,b/a);
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:16: error: 'min' was not declared in this scope; did you mean 'std::min'?
    5 |   std::cout << min(c,b/a);
      |                ^~~
      |                std::min
In file included from /usr/include/c++/14/algorithm:61,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:51,
                 from a.cc:1:
/usr/include/c++/14/bits/stl_algo.h:5696:5: note: 'std::min' declared here
 5696 |     min(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
Language: Java

import java.util.*;
public class Main{
  public static void main(String[] args){
    Scanner sc =new Scanner(System.in);
    int A =sc.nextInt();
    int B=sc.nextInt();
    int C =sc.nextInt();
    int D = B/A;
     int E = Math.min(C,D);
    System.out.pritnln( D );
  }
}

Compiler output:
Main.java:10: error: cannot find symbol
    System.out.pritnln( D );
              ^
  symbol:   method pritnln(int)
  location: variable out of type PrintStream
1 error
Language: Java

import java.util.*;
public class Main{
  public static void main(String[] args){
    Scanner sc =new Scanner(System.in);
    int A =sc.nextInt();
    int B=sc.nextInt();
    int C =sc.nextInt();
    int D = B/A;
     E = Math.min(C,D);
    System.out.pritnln( E );
  }
}

Compiler output:
Main.java:9: error: cannot find symbol
     E = Math.min(C,D);
     ^
  symbol:   variable E
  location: class Main
Main.java:10: error: cannot find symbol
    System.out.pritnln( E );
                        ^
  symbol:   variable E
  location: class Main
2 errors
Language: Java

import java.util.*;
public class Main{
  public static void main(String[] args){
    Scanner sc =new Scanner(System.in);
    int A =sc.nextInt();
    int B=sc.nextInt();
    int C =sc.nextInt();
    int D = B/A;
    int E =Math.min(C,D);
    System.out.pritnln( E );
  }
}

Compiler output:
Main.java:10: error: cannot find symbol
    System.out.pritnln( E );
              ^
  symbol:   method pritnln(int)
  location: variable out of type PrintStream
1 error
Language: Java

import java.util.*;
public class Main{
  public static void main(String[] args){
    Scanner sc =new Scanner(System.in);
    int A =sc.nextInt();
    int B=sc.nextInt();
    int C =sc.nextInt();
    int D = B/A;
    int E=Math.min(C,D);
    System.out.pritnln(E);
  }
}

Compiler output:
Main.java:10: error: cannot find symbol
    System.out.pritnln(E);
              ^
  symbol:   method pritnln(int)
  location: variable out of type PrintStream
1 error
Language: C++

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

int main(){
    int A=0,B=0,K=0,count=0;
    int a[count]={};
    cin >> A >> B >> K;
    //cout << A << B << K;
    for(int i=1;i<=100;i++){
        if(A%i==0&&B%i==0){count++;a[count-1]=i;//cout << count << a[count-1] << endl;}
    }
    //cout << K << endl;
    cout << a[count-K] << endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:15:2: error: expected '}' at end of input
   15 | }
      |  ^
a.cc:4:11: note: to match this '{'
    4 | int main(){
      |           ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main() {
  ll a, b, c;
  cin >> a >> b >> c;
  if (a * c >= b) {
    cout << b / a;
  } else {
    cout << c;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:4:3: error: 'll' was not declared in this scope
    4 |   ll a, b, c;
      |   ^~
a.cc:5:10: error: 'a' was not declared in this scope
    5 |   cin >> a >> b >> c;
      |          ^
a.cc:5:15: error: 'b' was not declared in this scope
    5 |   cin >> a >> b >> c;
      |               ^
a.cc:5:20: error: 'c' was not declared in this scope
    5 |   cin >> a >> b >> c;
      |                    ^
Language: C++

#pragma region
#include <bits/stdc++.h>
using namespace std;
inline void ci(void){
  return;
}
template <typename First, typename... Rest>
void ci(First& first, Rest&... rest){
  cin >> first;
  ci(rest...);
  return;
}
inline void co(void){
  cout << "\n";
  return;
}
template <typename First, typename... Rest>
void co(First first, Rest... rest){
  cout << first << " ";
  co(rest...);
  return;
}
#define ll long long
#define ld long double
#define st string
#define dl double
#define wh while
#define mp make_pair
#define mt make_tuple
#define pb push_back
#define tp tuple
#define ft first
#define sc second
#define ve vector
#define tos to_string
#define len length
#define rt return 0
#define gcd __gcd
#define lcm(n, m) n * m / gcd(n, m)
#define np next_permutation
#define repi(i, m, n) for(int i=(int)(m);i<(int)(n);i++)
#define rep(i, n) repi(i, 0, n)
#define sz(v) ((int)(v).size()) 
#define ea(i, n) for(auto&& i: n)
#define so(n) sort(n.begin(), n.end())
#define sp(n) cout << fixed << setprecision(n)
#pragma endregion
// rtsq ルート, int 2*10^9, __gcd

int main() {
  int A, B, C;
  ci(A, B, C);
  co(min(B / A, C))
}

Compiler output:
a.cc: In function 'int main()':
a.cc:53:20: error: expected ';' before '}' token
   53 |   co(min(B / A, C))
      |                    ^
      |                    ;
   54 | }
      | ~
Language: C++

import java.util.Scanner

object Main extends App {
  val sc = new Scanner(System.in)
  val (a, b, c) = (sc.nextInt(), sc.nextInt(), sc.nextInt())
  println(math.max(b / a, c))
}

Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import java.util.Scanner
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
Language: C++

// 失敗するからこそ そこから立ち向かって行く強さがあってそんな強さが本当の強さだと私は思うから
// ぜったいあきらめない
#if defined(DAIJOBU)
#include "/home/ichigo/includes.hpp"
#include "PP.hpp"
#define deb(x...) cerr << "[" << #x << "] = " << x << "\n";
#else
#include <bits/stdc++.h>
#define deb(x...)
#endif
#define mp make_pair
#define mt make_tuple
#define fi first
#define se second
#define pb push_back
#define all(x) (x).begin(), (x).end()
#define rall(x) (x).rbegin(), (x).rend()
#define forn(i, n) for (int i = 0; i < (int)(n); ++i)
#define for1(i, n) for (int i = 1; i <= (int)(n); ++i)
#define ford(i, n) for (int i = (int)(n) - 1; i >= 0; --i)
#define fore(i, a, b) for (int i = (int)(a); i <= (int)(b); ++i)

using namespace std;
mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());

typedef pair<int, int> pii;
typedef vector<int> vi;
typedef vector<pii> vpi;
typedef vector<vi> vvi;
typedef long long lint;
typedef vector<lint> vlint;
typedef vector<vlint> vvlint;
typedef pair<lint, lint> plint;
typedef double ld;

template<class T> bool chmin(T &a, T b) { return a > b ? (a = b, true) : false; }
template<class T> bool chmax(T &a, T b) { return a < b ? (a = b, true) : false; }

int main() {
    ios::sync_with_stdio(false);
	cin.tie(0);
	
	int a, b c;
	cin >> a >> b >> c;
	cout << min(b / a, c) << '\n';
	return 0;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:43:18: error: expected initializer before 'c'
   43 |         int a, b c;
      |                  ^
a.cc:44:21: error: 'b' was not declared in this scope
   44 |         cin >> a >> b >> c;
      |                     ^
a.cc:44:26: error: 'c' was not declared in this scope
   44 |         cin >> a >> b >> c;
      |                          ^
Language: C++

#include <iostream>
#include <cstdio>
#include <cmath>
#include <string>
#include <algorithm>
#include <map>
using namespace std;
typedef long long ll;

int main(){
  int a,b,c;cin>>a>>b>>c;
  if(a==0){
    cout<<c<<endl;
  }
  else sif(b>=a*c){
    cout<<a*c<<endl;
  }else{
    cout<<b/a<<endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:15:8: error: 'sif' was not declared in this scope; did you mean 'sinf'?
   15 |   else sif(b>=a*c){
      |        ^~~
      |        sinf
a.cc:17:4: error: 'else' without a previous 'if'
   17 |   }else{
      |    ^~~~
Language: C++

#include <bits/stdc++.h>

using namespace std;

int main() {
  int A, B, C, count;
  
  cin >> A >> B >> C;
  
  count = min(floor(B / A), C);
  
  cout << count << endl;
  
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:14: error: no matching function for call to 'min(__gnu_cxx::__enable_if<true, double>::__type, int&)'
   10 |   count = min(floor(B / A), C);
      |           ~~~^~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/14/algorithm:60,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:51,
                 from a.cc:1:
/usr/include/c++/14/bits/stl_algobase.h:233:5: note: candidate: 'template<class _Tp> constexpr const _Tp& std::min(const _Tp&, const _Tp&)'
  233 |     min(const _Tp& __a, const _Tp& __b)
      |     ^~~
/usr/include/c++/14/bits/stl_algobase.h:233:5: note:   template argument deduction/substitution failed:
a.cc:10:14: note:   deduced conflicting types for parameter 'const _Tp' ('double' and 'int')
   10 |   count = min(floor(B / A), C);
      |           ~~~^~~~~~~~~~~~~~~~~
/usr/include/c++/14/bits/stl_algobase.h:281:5: note: candidate: 'template<class _Tp, class _Compare> constexpr const _Tp& std::min(const _Tp&, const _Tp&, _Compare)'
  281 |     min(const _Tp& __a, const _Tp& __b, _Compare __comp)
      |     ^~~
/usr/include/c++/14/bits/stl_algobase.h:281:5: note:   candidate expects 3 arguments, 2 provided
In file included from /usr/include/c++/14/algorithm:61:
/usr/include/c++/14/bits/stl_algo.h:5686:5: note: candidate: 'template<class _Tp> constexpr _Tp std::min(initializer_list<_Tp>)'
 5686 |     min(initializer_list<_Tp> __l)
      |     ^~~
/usr/include/c++/14/bits/stl_algo.h:5686:5: note:   candidate expects 1 argument, 2 provided
/usr/include/c++/14/bits/stl_algo.h:5696:5: note: candidate: 'template<class _Tp, class _Compare> constexpr _Tp std::min(initializer_list<_Tp>, _Compare)'
 5696 |     min(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
/usr/include/c++/14/bits/stl_algo.h:5696:5: note:   template argument deduction/substitution failed:
a.cc:10:14: note:   mismatched types 'std::initializer_list<_Tp>' and 'double'
   10 |   count = min(floor(B / A), C);
      |           ~~~^~~~~~~~~~~~~~~~~
Language: C++

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

#define ll long long
#define all(a) a.begin(),a.end()
#define rep(i,n) for(int i=0;i<(int)(n);i++)
#define Rep(i,n,m) for(int i=(int)(n);i<(int)(m);i++)

//library----------------------------------------------


int main(){
  int a,b,c; cin>>a>>b>>c;
  int ans = 0;
  Rep(i,1,c+1){
    if(a*i=<b) ans = i;
  }
  printf("%d\n",ans);
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:16:12: error: expected primary-expression before '<' token
   16 |     if(a*i=<b) ans = i;
      |            ^
Language: Java

import java.util.*;

public class Main {

    static final int MOD = 1000000007;

    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);
        int a= sc.nextInt();
        int b = sc.nextInt();
                int c = sc.nextInt();
        System.out.println(Math.min(a/b,c);
    }
}


Compiler output:
Main.java:13: error: ')' or ',' expected
        System.out.println(Math.min(a/b,c);
                                          ^
1 error
Language: C++

#include <bits / stdc ++. h>
using namespace std;
int main ()
{
    int a, b, c, r, p;
    cin >> a >> b >> c;
    r = b / a;
    if (r> c) {
        cout << 4 << endl;
    }
    else {
        cout << r << endl;
    }
    return 0;
}


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

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

int main(){

int A,B,K;
cin>>A>>B>>K;
int ans=0;

for(int i=1;ans<=K;++i){
if(A%i==0&&B%i==0){ans++}}


}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:25: error: expected ';' before '}' token
   11 | if(A%i==0&&B%i==0){ans++}}
      |                         ^
      |                         ;