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

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i, srt, end) for (long long i = (srt); i < (long long)(end); i++)
#define VL vector<ll>
#define INF 100000000

int main(){
    ll T,X;
    cin>>T>>X;
    cout<<double T/X<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:11: error: expected primary-expression before 'double'
   11 |     cout<<double T/X<<endl;
      |           ^~~~~~
Language: C++

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

int main() {
  double t, x;
  cin >> t >> x;
  cout << c << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:11: error: 'c' was not declared in this scope
    7 |   cout << c << endl;
      |           ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
int T,X;
  cin >> T >> X;
 double ans = double(T) / X;
  cout << foxed << setprecision(5) << ans << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:11: error: 'foxed' was not declared in this scope
    8 |   cout << foxed << setprecision(5) << ans << endl;
      |           ^~~~~
Language: C++

#include<bist/stdc++.h>
using namespace std;
int main(){
  int T,X;
  cin>>T>>X;
  double ans=double(T)/X;
  cout<<fixed<<setprecision(10)<<ans<<endl;
  return 0;
}


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

#include<bit/stdc++.h>
using namespace std;
int main(){
  int T,X;
  cin>>T>>X;
  double ans=double(T)/X;
  cout<<fixed<<setprecision(10)<<ans<<endl;
  return 0;
}


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

#include<bit/stdc++.h>
using namespace std;
int main(){
  int T,X;
  cin>>T>>X;
  double ans=double(T)/X;
  cout<<fixed<<appreciation(10)<<ans<<endl;
  return 0;
}


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

#include<bit/stdc++.h>
using namespace std;
int main(){
  int T,X;
  scanf("%d%d",&T,&X);
  printf("%llf",T/X);
  return 0;
}

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

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

int main(void) {
	int N, M, i, x[100000], l[100000];
	long long sum = 0;
	scanf("%d %d\n", &N, &M);
	for (i = 0; i < M; i++) {
		scanf("%d ", &x[i]);
	}
	if (N >= M) {
		printf("0");
		return 0;
	}
	qsort(x, M, sizeof(int), (int(*)(const void *,const void*))compar);
	for (i = 0; i < M - 1; i++) {
		l[i] = x[i + 1] - x[i];
	}
	qsort(l, N - M, sizeof(int), (int(*)(const void*, const void*))compar);
	for (i = 0; i < M - N; i++) {
		sum += l[i];
	}
	printf("%lld\n", sum);

	return 0;
}

int compar(const int*val1, const int*val2) {
	if (*val1 < *val2) return -1;
	else if (*val1 == *val2) return 0;
	else return  1;
}

Compiler output:
main.c: In function 'main':
main.c:15:68: error: 'compar' undeclared (first use in this function)
   15 |         qsort(x, M, sizeof(int), (int(*)(const void *,const void*))compar);
      |                                                                    ^~~~~~
main.c:15:68: note: each undeclared identifier is reported only once for each function it appears in
Language: C++

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

int main() {
    double T,X;
    cin >> T >> X;

   cout << T/X << endl;
return 0;
}

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include<bits/stdc++.h>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:6:5: error: 'cin' was not declared in this scope
    6 |     cin >> T >> X;
      |     ^~~
a.cc:8:4: error: 'cout' was not declared in this scope
    8 |    cout << T/X << endl;
      |    ^~~~
a.cc:8:19: error: 'endl' was not declared in this scope
    8 |    cout << T/X << endl;
      |                   ^~~~
Language: C++

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

int main(){
  int X,T;
  
  cin>>X>>T;
  cout<<(T/X)+(T%X)/x<<endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:21: error: 'x' was not declared in this scope
    8 |   cout<<(T/X)+(T%X)/x<<endl;
      |                     ^
Language: C++

#include <bits/stdc++.h>
#define rep(i,n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;


int main() {
  int t, x;
  cin >> t, x;
  double ans =  double(t)/x;
  cout << fixed << septprecision(10) << ans << endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:20: error: 'septprecision' was not declared in this scope
   11 |   cout << fixed << septprecision(10) << ans << endl;
      |                    ^~~~~~~~~~~~~
Language: C++

#include <bits/stdc++.h>
#define rep(i,n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;


int main() {
  int t, x;
  cin >> t, x;
  double ans =  double(t)/x;
  cout << fixed << septprecision(10) << endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:20: error: 'septprecision' was not declared in this scope
   11 |   cout << fixed << septprecision(10) << endl;
      |                    ^~~~~~~~~~~~~
Language: C++

#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <queue>
#include <cmath>
#include <climits>
#include <iomanip>
#include <set>
#include <map>
using namespace std;
typedef long long ll;
int main(){
  int t,x;
  cin >> t >> x;
  double a = t / x;
  cout << fixed << setpricision(10) << a << endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:17:20: error: 'setpricision' was not declared in this scope
   17 |   cout << fixed << setpricision(10) << a << endl;
      |                    ^~~~~~~~~~~~
Language: C++

#include <iostream>
using namespace std;

int a[100];
 
int main()
{
	int n;
  	cinn >> n;
	for (int i = 0; i < n; ++i)
	{
		cin >> a[i];
	}
	int najduza = a[0];
	for (int i = 0; i < n; ++i)
	{
		if (najduza < a[i])
		najduza = a[i];
	}
	int sum = 0;
	for (int i = 0; i < n; ++i)
	{
		sum = sum + a[i];
	}
	sum = sum - najduza;
	if (najduza < sum)
	cout << "No";
	else
	cout << "Yes";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:9: error: 'cinn' was not declared in this scope
    9 |         cinn >> n;
      |         ^~~~
Language: C++

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

int main() {
  int t,x;
  cin >> t >> x;
  double ans = (doubel)t / x;
  printf("%.10f\n", ans);
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:17: error: 'doubel' was not declared in this scope; did you mean 'double'?
    7 |   double ans = (doubel)t / x;
      |                 ^~~~~~
      |                 double
Language: C++

#include <iostream>
#include <sstream>
#include <fstream>
#include <string>
#include <vector>
#include <deque>
#include <queue>
#include <stack>
#include <set>
#include <map>
#include <algorithm>
#include <functional>
#include <utility>
#include <bitset>
#include <cmath>
#include <cstdlib>
#include <ctime>
#include <cstdio>

using namespace std;
#define REP(i,n) for((i)=0;(i)<(int)(n);(i)++)
using ll = long long;
using P = pair<int,int>;

int main(void) {
  int t, x;
  cin >> t >> x;

  cout << T/X << endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:29:11: error: 'T' was not declared in this scope
   29 |   cout << T/X << endl;
      |           ^
a.cc:29:13: error: 'X' was not declared in this scope
   29 |   cout << T/X << endl;
      |             ^
Language: C++

#include<iostream>
using namespace std;
 
int main(){
  double t,x;cin>>t>>x;
  cout<<fixed<<setprecision(4);
  cout<<t/x;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:16: error: 'setprecision' was not declared in this scope
    6 |   cout<<fixed<<setprecision(4);
      |                ^~~~~~~~~~~~
a.cc:2:1: note: 'std::setprecision' is defined in header '<iomanip>'; this is probably fixable by adding '#include <iomanip>'
    1 | #include<iostream>
  +++ |+#include <iomanip>
    2 | using namespace std;
Language: C++

#inculude<iostream>
using namespace std;

int main(){
  double t,x;cin>>t>>x;
  cout<<fixed<<setprecision(4);
  cout<<t/x;
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #inculude; did you mean #include?
    1 | #inculude<iostream>
      |  ^~~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:5:14: error: 'cin' was not declared in this scope
    5 |   double t,x;cin>>t>>x;
      |              ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #inculude<iostream>
a.cc:6:3: error: 'cout' was not declared in this scope
    6 |   cout<<fixed<<setprecision(4);
      |   ^~~~
a.cc:6:3: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:6:9: error: 'fixed' was not declared in this scope
    6 |   cout<<fixed<<setprecision(4);
      |         ^~~~~
a.cc:1:1: note: 'std::fixed' is defined in header '<ios>'; this is probably fixable by adding '#include <ios>'
  +++ |+#include <ios>
    1 | #inculude<iostream>
a.cc:6:16: error: 'setprecision' was not declared in this scope
    6 |   cout<<fixed<<setprecision(4);
      |                ^~~~~~~~~~~~
a.cc:1:1: note: 'std::setprecision' is defined in header '<iomanip>'; this is probably fixable by adding '#include <iomanip>'
  +++ |+#include <iomanip>
    1 | #inculude<iostream>
Language: C++

#include <bits/stdc++.h>
#include<vector>
using namespace std;
#define rep(i, n)        for(int i=0; i<(int)(n); ++i)
int main() {
  double a,b;
  cin>>a>>b;
  cout<<fixed<<setprecisoin(5)<<a/b;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:16: error: 'setprecisoin' was not declared in this scope
    8 |   cout<<fixed<<setprecisoin(5)<<a/b;
      |                ^~~~~~~~~~~~
Language: C

#include <stdio.h>
int main(){
  int t,x;
  scanf("%d%d",&t,&x);
  printf("%.4f"(double)t/x);
}

Compiler output:
main.c: In function 'main':
main.c:5:17: error: expected expression before 'double'
    5 |   printf("%.4f"(double)t/x);
      |                 ^~~~~~
main.c:5:10: error: called object is not a function or function pointer
    5 |   printf("%.4f"(double)t/x);
      |          ^~~~~~
main.c:5:24: error: expected ')' before 't'
    5 |   printf("%.4f"(double)t/x);
      |         ~              ^
      |                        )
Language: C++

#include<iostream>

using namespace std;

int main(void)
{
  int t,x; cin>>t>>x;
  
  printf("%f¥n"(double)t/(double)x);
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:17: error: expected primary-expression before 'double'
    9 |   printf("%f¥n"(double)t/(double)x);
      |                 ^~~~~~
a.cc:9:23: error: expression cannot be used as a function
    9 |   printf("%f¥n"(double)t/(double)x);
      |                       ^
Language: C

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

	scanf("%lf" "%lf", &t, &x);

	printf("%lf", t / x);
	return 1
}

Compiler output:
main.c: In function 'main':
main.c:8:17: error: expected ';' before '}' token
    8 |         return 1
      |                 ^
      |                 ;
    9 | }
      | ~
Language: C++

#include<iostream>
#include<algorithm>
int main() {
  int a,b;
  cin >> a >> b;
  cout << double(a/b) << endl;
}

Compiler output:
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;
      |   ^~~
      |   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:6:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 |   cout << double(a/b) << 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:6:26: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    6 |   cout << double(a/b) << 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)
      |     ^~~~
Language: C++

#include <iostream>
#include <iomanip>

using namespace std;

int main(void){
  double T, X;
  cin>>T>>X;
  cout<setprecision(4)<<<T/X;
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:25: error: expected primary-expression before '<' token
    9 |   cout<setprecision(4)<<<T/X;
      |                         ^
Language: C++

#include <iostream>

using namespace std;

int main(void){
  double T, X;
  cin>>T>>X;
  cout<setprecision(4)<<<T/X;
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:8: error: 'setprecision' was not declared in this scope
    8 |   cout<setprecision(4)<<<T/X;
      |        ^~~~~~~~~~~~
a.cc:2:1: note: 'std::setprecision' is defined in header '<iomanip>'; this is probably fixable by adding '#include <iomanip>'
    1 | #include <iostream>
  +++ |+#include <iomanip>
    2 | 
a.cc:8:25: error: expected primary-expression before '<' token
    8 |   cout<setprecision(4)<<<T/X;
      |                         ^
Language: C++

#include <bits/stdc++.h>
#define ll long long int
#define MOD 1000000007
#define INF 1e18
#define PI 3.14159265358979

using namespace std;

int main(void){
  double t, x;
  cin >> t >> x;
  printf("%.10lf\n", t / x)


  return 0;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:12:28: error: expected ';' before 'return'
   12 |   printf("%.10lf\n", t / x)
      |                            ^
      |                            ;
......
   15 |   return 0;
      |   ~~~~~~
Language: C++

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

int main() {
  int T,X;
  cin >> T >> X;
  double n = double(T)/X
  cout << n << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:3: error: expected ',' or ';' before 'cout'
    8 |   cout << n << endl;
      |   ^~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main(){
  float T,X;cin>>T>>X;cout<<T/X<<endl;

Compiler output:
a.cc: In function 'int main()':
a.cc:5:39: error: expected '}' at end of input
    5 |   float T,X;cin>>T>>X;cout<<T/X<<endl;
      |                                       ^
a.cc:4:11: note: to match this '{'
    4 | int main(){
      |           ^
Language: C++

#include <iostream>
#include <cmath>
#include <cstdio>
#include <bits/stdc++.h>
typedef long long int ll;
using namespace std;


Compiler output:
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
Language: C++

#include <iostream>
int main(){
double t,x; 
std::cin >> t >> x;
std::cout << t / x << endl;
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:23: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    5 | std::cout << t / x << endl;
      |                       ^~~~
      |                       std::endl
In file included from /usr/include/c++/14/iostream:41,
                 from a.cc:1:
/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()
{
  double a , b ;
  cin >> a >> b ;
  cout << fixed << setpression(8) << a/b ;
  return 0 ;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:20: error: 'setpression' was not declared in this scope; did you mean 'setresuid'?
    7 |   cout << fixed << setpression(8) << a/b ;
      |                    ^~~~~~~~~~~
      |                    setresuid
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main(){

  double a,b,;
  cin >> a >> b;
  cout << a/b << endl;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:14: error: expected unqualified-id before ';' token
    5 |   double a,b,;
      |              ^
Language: C

#include<stdio.h>
int main(){
        int N,L[10];
        int i;
        int total=0
        int max=0;

        scanf("%d",&N);
        for(i=0;i<N;i++){
                scanf("%d",&L[i]);
                total+=L[i];
                if(max < L[i])max=L[i];
        }

        if( max < (total-max) ){
                printf("Yes\n");
        }else{
                printf("No\n");
        }

        return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:9: error: expected ',' or ';' before 'int'
    6 |         int max=0;
      |         ^~~
main.c:12:20: error: 'max' undeclared (first use in this function)
   12 |                 if(max < L[i])max=L[i];
      |                    ^~~
main.c:12:20: note: each undeclared identifier is reported only once for each function it appears in
Language: C++


#include <iostream>

int main() {
  double T, X;
  cin >> T >> X;
  printf("%.10lf\n", T / X);
}

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

#include <stdio.h>
#include <stdlib.h>
using namespace std;
 
 
int main() {
  int t, x;
  cin >> t >> x;
  
  cout << t / x << endl;
} 

Compiler output:
a.cc: In function 'int main()':
a.cc:8:3: error: 'cin' was not declared in this scope
    8 |   cin >> t >> x;
      |   ^~~
a.cc:3:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
    2 | #include <stdlib.h>
  +++ |+#include <iostream>
    3 | using namespace std;
a.cc:10:3: error: 'cout' was not declared in this scope
   10 |   cout << t / x << endl;
      |   ^~~~
a.cc:10:3: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:10:20: error: 'endl' was not declared in this scope
   10 |   cout << t / x << endl;
      |                    ^~~~
a.cc:3:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
    2 | #include <stdlib.h>
  +++ |+#include <ostream>
    3 | using namespace std;
Language: C++

#include <stdio.h>
#include <stdlib.h>
#include <math.h>
 
 
int main() {
  int t, x;
  cin >> t >> x;
  
  cout << t / x << endl;
} 

Compiler output:
a.cc: In function 'int main()':
a.cc:8:3: error: 'cin' was not declared in this scope; did you mean 'sin'?
    8 |   cin >> t >> x;
      |   ^~~
      |   sin
a.cc:10:3: error: 'cout' was not declared in this scope
   10 |   cout << t / x << endl;
      |   ^~~~
a.cc:10:20: error: 'endl' was not declared in this scope
   10 |   cout << t / x << endl;
      |                    ^~~~
Language: C++

#include <stdio.h>
#include <stdlib.h>
#include <math.h>
 
 
int main(void)
{
  int t, x;
  cin >> t >> x;
  
  cout << t / x << endl;
} 

Compiler output:
a.cc: In function 'int main()':
a.cc:9:3: error: 'cin' was not declared in this scope; did you mean 'sin'?
    9 |   cin >> t >> x;
      |   ^~~
      |   sin
a.cc:11:3: error: 'cout' was not declared in this scope
   11 |   cout << t / x << endl;
      |   ^~~~
a.cc:11:20: error: 'endl' was not declared in this scope
   11 |   cout << t / x << endl;
      |                    ^~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:3:43: error: expected '}' at end of input
    3 | int main(){double a,b;cin>>a>>b;cout<<a/b;
      |           ~                               ^
Language: C++

#include <iostream>
#include <string>
#include <vector>

using namespace std;
#define rep(i,n) for(int (i)=0;(i)<(n);(i)++)

int main(){
  double t,x;
  cin >> t >> x;;
  cout << fixed << setprecision(10) << t/x << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:11:20: error: 'setprecision' was not declared in this scope
   11 |   cout << fixed << setprecision(10) << t/x << endl;
      |                    ^~~~~~~~~~~~
a.cc:4:1: note: 'std::setprecision' is defined in header '<iomanip>'; this is probably fixable by adding '#include <iomanip>'
    3 | #include <vector>
  +++ |+#include <iomanip>
    4 |
Language: Java

mport java.util.Scanner;

public class Main {

    public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int t = sc.nextInt();
    int x = sc.nextInt();
    int T = t*x;
    System.out.println(T/x);
    
    }
 }

Compiler output:
Main.java:1: error: class, interface, enum, or record expected
mport java.util.Scanner;
^
1 error
Language: C++

#include <iostream>

using namespace std;

int n, sum = 0, max=-1;

int main() {
	cin >> n;
	int l;
	for (int i = 0; i < n; i ++) {
		cin >> l;
		if (max < l) {
			max = l;
		} else {
			sum += l;
		}
	}

	if (sum < l) {
		cout << "Yes" << endl;
	} else {
		cout << "No" << endl;
	}

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:21: error: reference to 'max' is ambiguous
   12 |                 if (max < l) {
      |                     ^~~
In file included from /usr/include/c++/14/string:51,
                 from /usr/include/c++/14/bits/locale_classes.h:40,
                 from /usr/include/c++/14/bits/ios_base.h:41,
                 from /usr/include/c++/14/ios:44,
                 from /usr/include/c++/14/ostream:40,
                 from /usr/include/c++/14/iostream:41,
                 from a.cc:1:
/usr/include/c++/14/bits/stl_algobase.h:303:5: note: candidates are: 'template<class _Tp, class _Compare> constexpr const _Tp& std::max(const _Tp&, const _Tp&, _Compare)'
  303 |     max(const _Tp& __a, const _Tp& __b, _Compare __comp)
      |     ^~~
/usr/include/c++/14/bits/stl_algobase.h:257:5: note:                 'template<class _Tp> constexpr const _Tp& std::max(const _Tp&, const _Tp&)'
  257 |     max(const _Tp& __a, const _Tp& __b)
      |     ^~~
a.cc:5:17: note:                 'int max'
    5 | int n, sum = 0, max=-1;
      |                 ^~~
a.cc:13:25: error: reference to 'max' is ambiguous
   13 |                         max = l;
      |                         ^~~
/usr/include/c++/14/bits/stl_algobase.h:303:5: note: candidates are: 'template<class _Tp, class _Compare> constexpr const _Tp& std::max(const _Tp&, const _Tp&, _Compare)'
  303 |     max(const _Tp& __a, const _Tp& __b, _Compare __comp)
      |     ^~~
/usr/include/c++/14/bits/stl_algobase.h:257:5: note:                 'template<class _Tp> constexpr const _Tp& std::max(const _Tp&, const _Tp&)'
  257 |     max(const _Tp& __a, const _Tp& __b)
      |     ^~~
a.cc:5:17: note:                 'int max'
    5 | int n, sum = 0, max=-1;
      |                 ^~~
Language: C++

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

int main(){
  	double t,x;
  	cin >> t >> x;
  	cout << setprecision(8) << fixed<< t/x << fixed(
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:9: error: expected primary-expression before 'return'
    8 |         return 0;
      |         ^~~~~~
Language: C++

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

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<stdio.h>

int main(){

    scanf("%d %d", &t, &x);
    printf("%d", t/x);

    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:21: error: 't' was not declared in this scope
    5 |     scanf("%d %d", &t, &x);
      |                     ^
a.cc:5:25: error: 'x' was not declared in this scope
    5 |     scanf("%d %d", &t, &x);
      |                         ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
  double x,t; cin >> t>>x;
  cout << t/x endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:14: error: expected ';' before 'endl'
    5 |   cout << t/x endl;
      |              ^~~~~
      |              ;
Language: C++

#include<algorithm>//sort(all(変数),greater<型名>())　で降順に
#include<cmath>//切り上げceil(値)
#include<deque>
#include<iomanip>//setprecision(数字)
#include<iostream>
#include<list>
#include<map>
#include<numeric> //xとyの最大公約数は__gcd(x,y),xとyの最小公倍数は(x*y)/__gcd
#include<queue>//priority_queue<型名> 変数：優先度付きキュー　最大値の探索が早い
#include<set>
#include<stack>
#include<string>
#include<vector>
 
#include<bits/stdc++.h>
#include<cstdio>
#include<cstdlib>
#include<limits>
#include<tuple>
#include<utility>
#define rep0(i,n)  for(ll i=0; i<n; i++)
#define rrep0(i,n) for(ll i=n-1; 0<=i; i--)
#define rep1(i,n)  for(ll i=1; i<=n; i++)
#define rrep1(i,n) for(ll i=n; 1<=i; i--)
#define vll vector<ll>
#define vi vector<int>
#define all(x) (x).begin(),(x).end()
#define mod 1000000007
#define INF 1e18
using ll = long long;
using namespace std;

int main(){
  int t,x;  cin >> t >> x;
  cout << setprecision(6) << (double)t/x;

Compiler output:
a.cc: In function 'int main()':
a.cc:35:42: error: expected '}' at end of input
   35 |   cout << setprecision(6) << (double)t/x;
      |                                          ^
a.cc:33:11: note: to match this '{'
   33 | int main(){
      |           ^
Language: C

#include<stdio.h>
int main()
{
double y,s,p;
scanf("%lf %lf"&s,&p);
y=s/p;
printf("%.10lf\n",y);
}




Compiler output:
main.c: In function 'main':
main.c:5:16: error: invalid operands to binary & (have 'char *' and 'double')
    5 | scanf("%lf %lf"&s,&p);
      |       ~~~~~~~~~^
      |       |
      |       char *
Language: C++

#include<stdio.h>
int main()
{
double y,s,p;
scanf("%lf %lf"&s,&p);
y=s/p;
printf("%.10lf\n",y);
}




Compiler output:
a.cc: In function 'int main()':
a.cc:5:16: error: invalid operands of types 'const char [8]' and 'double' to binary 'operator&'
    5 | scanf("%lf %lf"&s,&p);
      |       ~~~~~~~~~^~
      |       |         |
      |       |         double
      |       const char [8]
Language: C

#include<stdio.h>
int main()
{
float y,s,p;
scanf("%f %f"&s,&p);
y=s/p;
printf("%.10lf\n",y);
}




Compiler output:
main.c: In function 'main':
main.c:5:14: error: invalid operands to binary & (have 'char *' and 'float')
    5 | scanf("%f %f"&s,&p);
      |       ~~~~~~~^
      |       |
      |       char *
Language: C++

#iclude<iostream>
using namespace std;
int main(){
  int T, X;
  cin >> T >> X;
  double ans;
  cout << (double)T/(double)X << endl;
  return 0;
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #iclude; did you mean #include?
    1 | #iclude<iostream>
      |  ^~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope
    5 |   cin >> T >> X;
      |   ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #iclude<iostream>
a.cc:7:3: error: 'cout' was not declared in this scope
    7 |   cout << (double)T/(double)X << endl;
      |   ^~~~
a.cc:7:3: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:7:34: error: 'endl' was not declared in this scope
    7 |   cout << (double)T/(double)X << endl;
      |                                  ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #iclude<iostream>
Language: C++

#niclude<iostream>
using namespace std;
int main(){
  int T, X;
  cin >> T >> X;
  double ans;
  cout << (double)T/(double)X << endl;
  return 0;
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #niclude; did you mean #include?
    1 | #niclude<iostream>
      |  ^~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope
    5 |   cin >> T >> X;
      |   ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #niclude<iostream>
a.cc:7:3: error: 'cout' was not declared in this scope
    7 |   cout << (double)T/(double)X << endl;
      |   ^~~~
a.cc:7:3: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:7:34: error: 'endl' was not declared in this scope
    7 |   cout << (double)T/(double)X << endl;
      |                                  ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #niclude<iostream>
Language: C++

#include <bits/stdc++.h>

#define rep(i,n) for(int i=0;i<(n);i++)

using namespace std;

int main(){
	int t,x; cin>>t>>x; cout<<1.t/x<<endl;
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:35: error: unable to find numeric literal operator 'operator""t'
    8 |         int t,x; cin>>t>>x; cout<<1.t/x<<endl;
      |                                   ^~~
Language: C++

#include<iostream>
using namespace std;
int main{
  double T,X;
  cin >> T >>X;
  cout << T/X << endl;
  return 0;
}

Compiler output:
a.cc:3:5: error: cannot declare '::main' to be a global variable
    3 | int main{
      |     ^~~~
a.cc:4:3: error: expected primary-expression before 'double'
    4 |   double T,X;
      |   ^~~~~~
a.cc:4:3: error: expected '}' before 'double'
a.cc:3:9: note: to match this '{'
    3 | int main{
      |         ^
a.cc:5:3: error: 'cin' does not name a type
    5 |   cin >> T >>X;
      |   ^~~
a.cc:6:3: error: 'cout' does not name a type
    6 |   cout << T/X << endl;
      |   ^~~~
a.cc:7:3: error: expected unqualified-id before 'return'
    7 |   return 0;
      |   ^~~~~~
a.cc:8:1: error: expected declaration before '}' token
    8 | }
      | ^
Language: C++


#include<iostream>
using namespace std;
int main{
  float T,X;
  cin >> T >>X;
  cout << T/X << endl;
  return 0;
}

Compiler output:
a.cc:4:5: error: cannot declare '::main' to be a global variable
    4 | int main{
      |     ^~~~
a.cc:5:3: error: expected primary-expression before 'float'
    5 |   float T,X;
      |   ^~~~~
a.cc:5:3: error: expected '}' before 'float'
a.cc:4:9: note: to match this '{'
    4 | int main{
      |         ^
a.cc:6:3: error: 'cin' does not name a type
    6 |   cin >> T >>X;
      |   ^~~
a.cc:7:3: error: 'cout' does not name a type
    7 |   cout << T/X << endl;
      |   ^~~~
a.cc:8:3: error: expected unqualified-id before 'return'
    8 |   return 0;
      |   ^~~~~~
a.cc:9:1: error: expected declaration before '}' token
    9 | }
      | ^
Language: C++

include<iostream>
using namespace std;
int main{
  float T,X;
  cin >> T >>X;
  cout << T/X << endl;
  return 0;
}

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include<iostream>
      | ^~~~~~~
a.cc:3:5: error: cannot declare '::main' to be a global variable
    3 | int main{
      |     ^~~~
a.cc:4:3: error: expected primary-expression before 'float'
    4 |   float T,X;
      |   ^~~~~
a.cc:4:3: error: expected '}' before 'float'
a.cc:3:9: note: to match this '{'
    3 | int main{
      |         ^
a.cc:5:3: error: 'cin' does not name a type
    5 |   cin >> T >>X;
      |   ^~~
a.cc:6:3: error: 'cout' does not name a type
    6 |   cout << T/X << endl;
      |   ^~~~
a.cc:7:3: error: expected unqualified-id before 'return'
    7 |   return 0;
      |   ^~~~~~
a.cc:8:1: error: expected declaration before '}' token
    8 | }
      | ^
Language: C++

import java.util.*;

class Test{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        Integer a = sc.nextInt();
        Integer b = sc.nextInt();
        System.out.println((double)a/(double)b);
    }
}

Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import java.util.*;
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:4:11: error: expected ':' before 'static'
    4 |     public static void main(String[] args){
      |           ^~~~~~~
      |           :
a.cc:4:29: error: 'String' has not been declared
    4 |     public static void main(String[] args){
      |                             ^~~~~~
a.cc:4:38: error: expected ',' or '...' before 'args'
    4 |     public static void main(String[] args){
      |                                      ^~~~
a.cc:10:2: error: expected ';' after class definition
   10 | }
      |  ^
      |  ;
a.cc: In static member function 'static void Test::main(int*)':
a.cc:5:9: error: 'Scanner' was not declared in this scope
    5 |         Scanner sc = new Scanner(System.in);
      |         ^~~~~~~
a.cc:6:9: error: 'Integer' was not declared in this scope
    6 |         Integer a = sc.nextInt();
      |         ^~~~~~~
a.cc:7:17: error: expected ';' before 'b'
    7 |         Integer b = sc.nextInt();
      |                 ^
a.cc:8:9: error: 'System' was not declared in this scope
    8 |         System.out.println((double)a/(double)b);
      |         ^~~~~~
a.cc:8:36: error: 'a' was not declared in this scope
    8 |         System.out.println((double)a/(double)b);
      |                                    ^
a.cc:8:46: error: 'b' was not declared in this scope
    8 |         System.out.println((double)a/(double)b);
      |                                              ^
Language: C++

include <iostream>
using namespace std;
 
int main() {
  int N;
  cin >> N;
  
  int maxL = 0, S = 0;
  for (int i = 0; i < N; ++i) {
    int L;
    cin >> L;
    
    maxL = max(L, maxL);
    S += L;
  }
  
  if (Lmax < S - Lmax) cout << "Yes" << endl;
  else cout << "No" << endl;
}

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include <iostream>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope
    6 |   cin >> N;
      |   ^~~
a.cc:13:12: error: 'max' was not declared in this scope; did you mean 'maxL'?
   13 |     maxL = max(L, maxL);
      |            ^~~
      |            maxL
a.cc:17:7: error: 'Lmax' was not declared in this scope
   17 |   if (Lmax < S - Lmax) cout << "Yes" << endl;
      |       ^~~~
a.cc:17:24: error: 'cout' was not declared in this scope
   17 |   if (Lmax < S - Lmax) cout << "Yes" << endl;
      |                        ^~~~
a.cc:17:41: error: 'endl' was not declared in this scope
   17 |   if (Lmax < S - Lmax) cout << "Yes" << endl;
      |                                         ^~~~
a.cc:18:8: error: 'cout' was not declared in this scope
   18 |   else cout << "No" << endl;
      |        ^~~~
a.cc:18:24: error: 'endl' was not declared in this scope
   18 |   else cout << "No" << endl;
      |                        ^~~~
Language: C++

#include <iostream>
using namespace std;
 
int N;
int L[100];
 
int main() {
  cin >> N;
  for (int i = 0; i < N; ++i) cin >> L[i];
  
  int Lmax, S = 0;
  for (int i = 0; i < N; ++i) {
    if (L[i] >= Lmax) Lmax = L[i];
    S += L[i];
  }
  
  if (S <= Lmax) cout << "Yes" << endl;
  else cout << "No" << endl;
}
#include <iostream>
using namespace std;
 
int N;
int L[100];
 
int main() {
  cin >> N;
  for (int i = 0; i < N; ++i) cin >> L[i];
  
  int Lmax, S = 0;
  for (int i = 0; i < N; ++i) {
    if (L[i] >= Lmax) Lmax = L[i];
    S += L[i];
  }
  
  if (Lmax <= S - Lmax) cout << "Yes" << endl;
  else cout << "No" << endl;
}

Compiler output:
a.cc:23:5: error: redefinition of 'int N'
   23 | int N;
      |     ^
a.cc:4:5: note: 'int N' previously declared here
    4 | int N;
      |     ^
a.cc:24:5: error: redefinition of 'int L [100]'
   24 | int L[100];
      |     ^
a.cc:5:5: note: 'int L [100]' previously declared here
    5 | int L[100];
      |     ^
a.cc:26:5: error: redefinition of 'int main()'
   26 | int main() {
      |     ^~~~
a.cc:7:5: note: 'int main()' previously defined here
    7 | int main() {
      |     ^~~~
Language: C++

#include <iostream>
using namespace std;
 
int N;
int L[100];
 
int main() {
  cin >> N;
  for (int i = 0; i < N; ++i) cin >> L[i];
  
  int Lmax, S = 0;
  for (int i = 0; i < N; ++i) {
    if (L[i] >= Lmax) Lmax = L[i];
    S += L;
  }
  
  if (S <= Lmax) cout << "Yes" << endl;
  else cout << "No" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:14:7: error: invalid conversion from 'int*' to 'int' [-fpermissive]
   14 |     S += L;
      |     ~~^~~~
      |       |
      |       int*
Language: C++

#include <iostream>
using namespace std;
 
int N;
int L[100];
 
int main() {
  cin >> N;
  for (int i = 0; i < N; ++i) cin >> L[i];
  
  int Lmax, S = 0;
  for (int i = 0; i < N; ++i) {
    if (L[i] >= Lmax) Lmax = L[i];
    S += L;
  }
  
  if (S <= Lmax) : cout << "Yes" << endl;
  else : cout << "No" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:14:7: error: invalid conversion from 'int*' to 'int' [-fpermissive]
   14 |     S += L;
      |     ~~^~~~
      |       |
      |       int*
a.cc:17:18: error: expected primary-expression before ':' token
   17 |   if (S <= Lmax) : cout << "Yes" << endl;
      |                  ^
a.cc:18:8: error: expected primary-expression before ':' token
   18 |   else : cout << "No" << endl;
      |        ^
Language: C++

#include <iostream>
using namespace std;
 
int N;
int L[100];
 
int main() {
  cin >> N;
  for (int i = 0; i < N; ++i) cin >> L[i];
  
  int Lmax, S = 0;
  for (int i = 0; i < N; ++i) {
    if (L[i] >= Lmax) Lmax = L[i];
    S += L;
  }
  
  if (S <= Lmax) : cout << "Yes" << endl;
  else : cout << "No" << endl;
  

Compiler output:
a.cc: In function 'int main()':
a.cc:14:7: error: invalid conversion from 'int*' to 'int' [-fpermissive]
   14 |     S += L;
      |     ~~^~~~
      |       |
      |       int*
a.cc:17:18: error: expected primary-expression before ':' token
   17 |   if (S <= Lmax) : cout << "Yes" << endl;
      |                  ^
a.cc:18:8: error: expected primary-expression before ':' token
   18 |   else : cout << "No" << endl;
      |        ^
a.cc:18:31: error: expected '}' at end of input
   18 |   else : cout << "No" << endl;
      |                               ^
a.cc:7:12: note: to match this '{'
    7 | int main() {
      |            ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:8: error: expected initializer before '>>' token
    5 |   int a>>b;
      |        ^~
a.cc:6:8: error: 'a' was not declared in this scope
    6 |   cin>>a>>b;
      |        ^
a.cc:6:11: error: 'b' was not declared in this scope
    6 |   cin>>a>>b;
      |           ^
Language: C++

#include <bits/stdc++.h>
#define rep(i,n) for(int i=0;i < (n);++i)
typedef long long ll;
using namespace std;
 
int main(){
  int t,x;
  cin >> t >> x;
  
  double ans = t/x;
  
  printf("%.10lf",ans);
  return 0;
}
#include <bits/stdc++.h>
#define rep(i,n) for(int i=0;i < (n);++i)
typedef long long ll;
using namespace std;

int main(){
  double t,x;
  cin >> t >> x;
  
  double ans = t/x;
  
  printf("%.10lf",ans);
  return 0;
}

Compiler output:
a.cc:20:5: error: redefinition of 'int main()'
   20 | int main(){
      |     ^~~~
a.cc:6:5: note: 'int main()' previously defined here
    6 | int main(){
      |     ^~~~
Language: C++

#inlcude <bits/stdc++.h>
using namespace std;
int main() {
  double x,t;
  cin >> x >> t;
  cout << x / t << endl;
}

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

#include <iostream> #include <bits/stdc++.h>using namespace std;int main(){double T,X;cin>>T>>X;cout<<fixed<<setprecision(10)<<T/X<<endl;}

Compiler output:
a.cc:1:21: warning: extra tokens at end of #include directive
    1 | #include <iostream> #include <bits/stdc++.h>using namespace std;int main(){double T,X;cin>>T>>X;cout<<fixed<<setprecision(10)<<T/X<<endl;}
      |                     ^
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
Language: C++

#include<iostream>
using namespace std;
int main() {
	int T, X;
	cin >> T >> X;

	double answer = T/X;
	

	cout << setprecision(10) << answer << endl;














	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:17: error: 'setprecision' was not declared in this scope
   10 |         cout << setprecision(10) << answer << endl;
      |                 ^~~~~~~~~~~~
a.cc:2:1: note: 'std::setprecision' is defined in header '<iomanip>'; this is probably fixable by adding '#include <iomanip>'
    1 | #include<iostream>
  +++ |+#include <iomanip>
    2 | using namespace std;
Language: Java

import java.util.*;

class Main{
  public static void main(String args[]){
    System.out.println((1.0*sc.nextInt()/sc.nextInt()));
  }
}

Compiler output:
Main.java:5: error: cannot find symbol
    System.out.println((1.0*sc.nextInt()/sc.nextInt()));
                            ^
  symbol:   variable sc
  location: class Main
Main.java:5: error: cannot find symbol
    System.out.println((1.0*sc.nextInt()/sc.nextInt()));
                                         ^
  symbol:   variable sc
  location: class Main
2 errors
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
  double x,y,z;
  cin>>x>>y;
  z=x/y;
  cout<<z;
  return 0;
  

Compiler output:
a.cc: In function 'int main()':
a.cc:9:12: error: expected '}' at end of input
    9 |   return 0;
      |            ^
a.cc:4:1: note: to match this '{'
    4 | {
      | ^
Language: C++

#include<bits/stdc++.h>
//ios::sync_with_stdio(false);
//cin.tie(0);
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef pair<int,int> pii;
typedef pair<pii,int> ppii;
typedef pair<int,pii> pipi;
typedef pair<ll,ll> pll;
typedef pair<pll,ll> ppll;
typedef pair<ll,pll> plpl;
typedef tuple<ll,ll,ll> tl;
ll mod=1000000007;
ll mod2=998244353;
ll inf=1000000000000000000;
double pi=2*acos(0);
#define rep(i,m,n) for(ll i=m;i<n;i++)
#define rrep(i,n,m) for(ll i=n;i>=m;i--)
int dh[4]={1,-1,0,0};
int dw[4]={0,0,1,-1};
int ddh[8]={-1,-1,-1,0,0,1,1,1};
int ddw[8]={-1,0,1,-1,1,-1,0,1};
ll lmax(ll a,ll b){
    if(a<b)return b;
    else return a;
}
ll lmin(ll a,ll b){
    if(a<b)return a;
    else return b;
}
ll gcd(ll a,ll b){
    if(a<b)swap(a,b);
    if(a%b==0)return b;
    return gcd(b,a%b);
}
ll Pow(ll n,ll k){
    ll ret=1;
    ll now=n;
    while(k>0){
        if(k&1)ret*=now;
        now*=now;
        k/=2;
    }
    return ret;
}
ll gya[200010];
ll kai[200010];
ll beki(ll n,ll k){
  ll ret=1;
  ll now=n;
  while(k>0){
    if(k%2==1){
      ret*=now;
      ret%=mod;
    }
    now*=now;
    now%=mod;
    k/=2;
  }
  return ret;
}
ll gyaku(ll n){
  return beki(n,mod-2);
}
void nckinit(ll n){
  kai[0]=1;
  kai[1]=1;
  for(int i=2;i<=n;i++){
    kai[i]=kai[i-1]*i;
    kai[i]%=mod;
  }
  gya[n]=gyaku(kai[n]);
  for(int i=n-1;i>=1;i--){
    gya[i]=gya[i+1]*(i+1);
    gya[i]%=mod;
  }
  gya[0]=1;
}    
ll nck(ll n,ll k){
  if(k<0)return 0;
  if(k==0||n==k)return 1;
  ll ret=kai[n];
  ret*=gya[n-k];
  ret%=mod;
  ret*=gya[k];
  ret%=mod;
  return ret;
}
ll npk(ll n,ll k){
  if(k<0)return 0;
  if(k==0)return 1;
  ll ret=kai[n];
  ret*=gya[n-k];
  ret%=mod;
  return ret;
}

int main(){
  ll n,k;cin>>n>>k;
  ll a[n];rep(i,0,n)cin>>a[i];
  if(k==0){
    ll sum=0;
    rep(i,0,n)sum+=a[i];
    cout<<sum<<endl;
    return 0;
  }
  ll now=1;
  ll cnt=0;
  for(;;){
    if(now>k)break;
    now*=2;
    cnt++;
  }
  ll dp[cnt+1][2];
  rep(i,0,cnt+1)rep(j,0,2)dp[i][j]=-inf;
  dp[0][1]=0
  rep(i,0,cnt){
    ll u=Pow(2,cnt-1-i);
    ll t=k/u;
    t%=2;
    ll c[2];
    c[0]=0,c[1]=0;
    rep(j,0,n){
      ll tt=a[j]/u;
      tt%=2;c[tt]++;
    }
    if(t==0){
      dp[i+1][0]=max(c[0],c[1])*u+dp[i][0];
      dp[i+1][1]=dp[i][1]+c[1]*u;
    }
    else{
      dp[i+1][0]=max(max(c[0],c[1])*u+dp[i][0],dp[i][1]+c[1]*u);
      dp[i+1][1]=dp[i][1]+c[0]*u;
    }
  }
  cout<<max(dp[cnt][0],dp[cnt][1])<<endl;
  rep(i,0,cnt+1){
    //rep(j,0,2)cout<<dp[i][j]<<" ";
    //cout<<endl;
  }
}
      




Compiler output:
a.cc: In function 'int main()':
a.cc:117:13: error: expected ';' before 'for'
  117 |   dp[0][1]=0
      |             ^
      |             ;
a.cc:118:7: error: 'i' was not declared in this scope
  118 |   rep(i,0,cnt){
      |       ^
a.cc:18:31: note: in definition of macro 'rep'
   18 | #define rep(i,m,n) for(ll i=m;i<n;i++)
      |                               ^
Language: C++

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

int main(){
  double t,x; cin >> t >> x;
  cout << fixed << precision(10) << t/x;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:20: error: 'precision' was not declared in this scope
    6 |   cout << fixed << precision(10) << t/x;
      |                    ^~~~~~~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:20: error: 'precision' was not declared in this scope
    7 |   cout << fixed << precision(3);
      |                    ^~~~~~~~~
Language: C++

# include < bits / stdc ++. h >
using namespace std ;
int main () {
int T , X ; cin >> T >> X ;
double ans = double ( T ) / X ;
cout << fixed << setprecision (10) << ans << endl ;
}

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

#include<stdio.h>
int main()
{
    int t,x;
    scanf("%d %d",&t,&x);
    float r;
    r= (float)t /(float)x;

    printf("%.10f",r);

}


Compiler output:
Main.java:1: error: illegal character: '#'
#include<stdio.h>
^
Main.java:1: error: class, interface, enum, or record expected
#include<stdio.h>
        ^
Main.java:5: error: class, interface, enum, or record expected
    scanf("%d %d",&t,&x);
    ^
Main.java:6: error: unnamed classes are a preview feature and are disabled by default.
    float r;
    ^
  (use --enable-preview to enable unnamed classes)
Main.java:7: error: class, interface, enum, or record expected
    r= (float)t /(float)x;
    ^
Main.java:9: error: class, interface, enum, or record expected
    printf("%.10f",r);
    ^
Main.java:11: error: class, interface, enum, or record expected
}
^
7 errors