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

import java.util.*;
public class Main{
  public static void main(String[]args){
    Scanner sc=new Scanner(System.in);
    double N=sc.nextInt();
    
    int count=0;
    int X=N/1.08;
    //double XX=N/1.08;
    int XXX=X*1.08;
   // double XXXX=XX*1.08;
    if(X!=XXX){
      count+=1;
    }
    if(count==1){
      System.out.println(":(");
    }else if(count==0){
      System.out.println("X");
    }
  }
}



Compiler output:
Main.java:8: error: incompatible types: possible lossy conversion from double to int
    int X=N/1.08;
           ^
Main.java:10: error: incompatible types: possible lossy conversion from double to int
    int XXX=X*1.08;
             ^
2 errors
Language: C++

#include<iostream>
using namespace std;
int main() {
	int a;
	cin >> a
		if (a * 100 % 108 == 0)cout << a * 100 / 108 << endl;
		else cout << (a + 0.9) * 100 / 108 << endl;
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:17: error: expected ';' before 'if'
    5 |         cin >> a
      |                 ^
      |                 ;
    6 |                 if (a * 100 % 108 == 0)cout << a * 100 / 108 << endl;
      |                 ~~
a.cc:7:17: error: 'else' without a previous 'if'
    7 |                 else cout << (a + 0.9) * 100 / 108 << endl;
      |                 ^~~~
Language: C++

#include<iostream>
using namespace std;
int main() {
	int a;
	cin >> a
		if (a * 100 % 108 == 0)cout << a * 100 / 108 << endl;
		else cout << (a + 0.9) * 100 / 108 << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:17: error: expected ';' before 'if'
    5 |         cin >> a
      |                 ^
      |                 ;
    6 |                 if (a * 100 % 108 == 0)cout << a * 100 / 108 << endl;
      |                 ~~
a.cc:7:17: error: 'else' without a previous 'if'
    7 |                 else cout << (a + 0.9) * 100 / 108 << endl;
      |                 ^~~~
Language: Java

import java.util.*;

class Main
{
  public static void main(String[] args)
  {
    Scanner sc = sc.Scanner(System.in);
    int i = sc.nextInt();

    double a = i/1.08;
    int b = (int)a;

    if(b*1.08 == i){
      System.out.println(b);
    }
    else if(b*1.08 != i){
      System.out.println(":(");
    }
  }
}


Compiler output:
Main.java:7: error: cannot find symbol
    Scanner sc = sc.Scanner(System.in);
                   ^
  symbol:   method Scanner(InputStream)
  location: variable sc of type Scanner
1 error
Language: Java

import java.util.*;

class Main
{
  public class void main(String[] args)
  {
    Scanner sc = sc.Scanner(System.in);
    int i = sc.nextInt();

    double a = i/1.08;
    int b = (int)a;

    if(b*1.08 == i){
      System.out.println(b);
    }
    else if(b*1.08 != i){
      System.out.println(":(");
    }
  }
}


Compiler output:
Main.java:5: error: <identifier> expected
  public class void main(String[] args)
              ^
1 error
Language: Java

import java.util.*;
public class Main{
  public static void main(String[]args){
    Scanner sc=new Scanner(System.in);
    double P=1.08;
    double X;
    double X1;
    double N=sc.nextInt();
     X=Math.floor(N/P);
     X1=Math.floor(X*P);
    if(N==X1){
      System.out.println('X');
    }else if(N!=X1){
      System.out.println(':(');
    }
  }
}


Compiler output:
Main.java:14: error: unclosed character literal
      System.out.println(':(');
                         ^
Main.java:14: error: unclosed character literal
      System.out.println(':(');
                            ^
2 errors
Language: Java

import java.util.*;

public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		// 入力値を変数に代入
		double price_tax = sc.nextInt();
        double tax_rate = 1.08;
        double price = price_tax/tax_rate;
        double price_ceil = Math.ceil(price);
      	double price_tax_floor = Math.floor(price_ceil*tax_rate);
      	int out;
      	if(price_tax == price_tax_ceil){
          	out = (int)price_ceil;
         	System.out.println(out);
        }
      	else{
         	System.out.println(":("); 
        }
	}
}

Compiler output:
Main.java:13: error: cannot find symbol
      	if(price_tax == price_tax_ceil){
      	                ^
  symbol:   variable price_tax_ceil
  location: class Main
1 error
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
  double n;
  double x;
  double y=x*1.08
  cin>>n;
for(x=1;x<46300;x++){
  if(y/1==n){
    cout<<x;
return 0;
  }
  cout<<":("<<endl;
  return 0;
}
  
    


Compiler output:
a.cc:4:3: error: expected initializer before 'double'
    4 |   double n;
      |   ^~~~~~
a.cc:7:3: error: expected ',' or ';' before 'cin'
    7 |   cin>>n;
      |   ^~~
a.cc:8:1: error: expected unqualified-id before 'for'
    8 | for(x=1;x<46300;x++){
      | ^~~
a.cc:8:9: error: 'x' does not name a type
    8 | for(x=1;x<46300;x++){
      |         ^
a.cc:8:17: error: 'x' does not name a type
    8 | for(x=1;x<46300;x++){
      |                 ^
Language: C++

#include<iostream>
using namespace std;
 
int main ()
{
	int n;
  cin >> n;
  int pivot = n * 100 / 108;
  if (pivot * 108 / 100 == n) return pivot;
  for (int i = 1; i < 50000; ++i){
  	if ((pivot + i)*108 / 100 == n){cout << pivot+i;return 0;}
    if ((pivot - i)*108 / 100 == n){cout << pivot-i;return 0;}
  }
  cout << ":(";
  return 0;

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

import java.util.*;
public class Main{
  public static void main(String[]args){
    Scanner sc=new Scanner(System.in);
    double X;
    double X1;
    int N=sc.nextInt();
    double X=Math.floor(N/1.08);
    double X1=Math.floor(X*1.08);
    if(N==X1){
      System.out.println("X");
    }else if(N!=X1){
      System.out.println(":(");
    }
  }
}


Compiler output:
Main.java:8: error: variable X is already defined in method main(String[])
    double X=Math.floor(N/1.08);
           ^
Main.java:9: error: variable X1 is already defined in method main(String[])
    double X1=Math.floor(X*1.08);
           ^
2 errors
Language: C++


#define rep(i,n) for (int i = 0;i < (n);++i)
#define all(x) (x).begin(),(x).end()
using namespace std;
typedef long long ll;

int main() {
    int n;
    cin >> n;
   int y = n/1.08; 
   int m = 0 ;
  int x =0;
   for(int i = -1000;i<1000;i++)
    x = y + i;
   if(x*1.08>=n&&x*1.08<n+1&&m==0){
       m=1;
       cout<<x<<endl;
   }
   if(m=0){
       cout<<":("<<endl;
   }

}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:5: error: 'cin' was not declared in this scope
    9 |     cin >> n;
      |     ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | 
a.cc:17:8: error: 'cout' was not declared in this scope
   17 |        cout<<x<<endl;
      |        ^~~~
a.cc:17:8: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:17:17: error: 'endl' was not declared in this scope
   17 |        cout<<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 | 
a.cc:20:8: error: 'cout' was not declared in this scope
   20 |        cout<<":("<<endl;
      |        ^~~~
a.cc:20:8: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:20:20: error: 'endl' was not declared in this scope
   20 |        cout<<":("<<endl;
      |                    ^~~~
a.cc:20:20: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: C++

#include <iostream>

int main()
{
	int N;
	std::cin >> N;

	if (100 * N % 108 == 0)
	{
		int X = 100 * N / 108;
		std::cout << X;
	}
	else
	{
		double X = N / 1.08;
		if (floor(X) * 108 / 100 < (double)(N + 1) && floor(X) * 108 / 100 >= (double)(N))
		{
			std::cout << (int)(floor(X));
		}
		else if ((floor(X) + 1) * 1.08 < (double)(N + 1) && (floor(X) + 1) * 1.08 >= (double)(N))
			std::cout << (int)(floor(X) + 1);
		else
		{
			std::cout << ":(";
		}
	}

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:16:21: error: 'floor' was not declared in this scope
   16 |                 if (floor(X) * 108 / 100 < (double)(N + 1) && floor(X) * 108 / 100 >= (double)(N))
      |                     ^~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int n;
  cin>>n;
  int d=0;
  for(int i=0;i<=50000){
    int y=(int)(i*1.08);
    if(y==n){
      cout<<i<<endl;
      d++;
      break;
    }
  }
  if(d==0) cout<<":("<<endl;
}
    

Compiler output:
a.cc: In function 'int main()':
a.cc:8:23: error: expected ';' before ')' token
    8 |   for(int i=0;i<=50000){
      |                       ^
      |                       ;
Language: C++

#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
# define mod 1000000007
# define INF (1 << 29)
# define MAX_N 1000010
/* ACはうれCすぎてうれD */

int main(void){ 
    double n;
    cin >> n;

    double pre_x = n / 1.08;
    if( pre_x - floor(pre_x) >= 0.5) int kari = floor(pre_x) + 1;
    else int kari = floor(pre_x);

    int sik_x = kari * 1.08;

    if(kari == int(n)) cout << kari;
    else cout << ":(";
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:17:17: error: 'kari' was not declared in this scope
   17 |     int sik_x = kari * 1.08;
      |                 ^~~~
Language: C++

///                ..:: In The Name Of God ::..
#include <algorithm>
#include <cstdio>
#include <iostream>
#include <list>
#include <queue>
#include <string>
#include <vector>
using namespace std;
//配列の要素数は　sizeof(ar)/sizeof(ar[0]) で求める
int N,M;
double X;
signed main(){
    cin.tie(0);
    cout.tie(0);
    ios::sync_with_stdio(false);
    cin >> N;
    X = ceil(N/(1.08));
    M = floor(X*(1.08));
    if(M == N){
        cout << X;
    }
    else{
        cout << ":(";
    }
}   

Compiler output:
a.cc: In function 'int main()':
a.cc:18:9: error: 'ceil' was not declared in this scope
   18 |     X = ceil(N/(1.08));
      |         ^~~~
a.cc:19:9: error: 'floor' was not declared in this scope
   19 |     M = floor(X*(1.08));
      |         ^~~~~
Language: C++

#include<iostream>
#include<cmath>

using namespace std;

int main(){
  int   N,X1,X2,B1,C1;
  float A,B,C;

  cin >> N;

 A=N/1.08;

 X1=floor(A);
 X2=ceil(A);
 B=X1*1.08;
 B1=floor(B)
 C=X2*1.08;
 C1=floor(C);


 if(X1==X2){
  cout<<X1;
   }
  elseif(B1==N) {
  cout<<X1;
  }
  elseif(C1==N){
  cout<<X2;
  }
 else{
 cout<<":(";
 }
return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:17:13: error: expected ';' before 'C'
   17 |  B1=floor(B)
      |             ^
      |             ;
   18 |  C=X2*1.08;
      |  ~           
a.cc:25:3: error: 'elseif' was not declared in this scope
   25 |   elseif(B1==N) {
      |   ^~~~~~
a.cc:31:2: error: 'else' without a previous 'if'
   31 |  else{
      |  ^~~~
Language: C++

#include<iostream>
#include<stdio.h>
using namespace std;
int main(void) {
	int a;
	double b;
	int c = 0;
	int d;
	int i;
	scanf("%d", &a);
	for (i = 0; i < a; i++) {
		b = 1.08*i;
		d = b;
		if (a == d) {
			int c = 1;
			break;
		}
	}
	if (c == 1) {
		printf("%d",i);
	}
	else {
		printf(":(");
	}
	return 0;
}
	if (c == 1) {
		printf("%d",i);
	}
	else {
		printf("null");
	}
	return 0;
}

Compiler output:
a.cc:27:9: error: expected unqualified-id before 'if'
   27 |         if (c == 1) {
      |         ^~
a.cc:30:9: error: expected unqualified-id before 'else'
   30 |         else {
      |         ^~~~
a.cc:33:9: error: expected unqualified-id before 'return'
   33 |         return 0;
      |         ^~~~~~
a.cc:34:1: error: expected declaration before '}' token
   34 | }
      | ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int N
    cin >> N
    for (int i = 1; i <= 1851; i++) {
      int a
      a=27i-1
        if(N==a){
          cout << ":(" << endl;
  }
    }
    for (int j = 1; j <= 1852; j++) {
      int b
      b=27j-14
        if(N==b){
           cout << ":(" << endl;
  }
    }
    else{
      int X
        X=N/1.08
  cout << X<< endl;
}
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:5: error: expected initializer before 'cin'
    6 |     cin >> N
      |     ^~~
a.cc:7:21: error: 'i' was not declared in this scope
    7 |     for (int i = 1; i <= 1851; i++) {
      |                     ^
a.cc:16:7: error: expected initializer before 'b'
   16 |       b=27j-14
      |       ^
a.cc:21:5: error: 'else' without a previous 'if'
   21 |     else{
      |     ^~~~
a.cc:23:9: error: expected initializer before 'X'
   23 |         X=N/1.08
      |         ^
Language: Java

import java.util.*;

public class Main {
	
	public static void main(String[] args) {

	  // argumentの取得
	  Scanner s = new Scanner(System.in);

      double N = s.nextInt();
      
      
	  // 戻り値の返却
      // N % 108だと値が変わって動かない。。後で調べる
      if ((N * 100 % 108) == 0) {
        System.out.println(N/1.08);
      } else {
        // 元に戻るか判定
        // Nを1.08で割る
        double tempA = Math.floor(N/1.08);
        
         // ↑に1.08をかけて、小数点を捨ててもとに戻ればOK
        double tempB = Math.floor((Math.floor(tempA +1) * 1.08));
        //System.out.println(tempA);
        //System.out.println(tempB);
        
        if (N == tempB) {
          System.out.println(Math.floor(tempA +1));
        } else {
          System.out.println(':(');
        }
       
      }
	
	} 
}

Compiler output:
Main.java:30: error: unclosed character literal
          System.out.println(':(');
                             ^
Main.java:30: error: unclosed character literal
          System.out.println(':(');
                                ^
2 errors
Language: C++

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

int main() {
  int z;
  double y = x*1.08,X;
  int Y = y;
  cin >> z;
  X = z/1.08;
  int x = X
  if (x == y)
    cout << x << endl;
  else
    cout << ":(" << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:14: error: 'x' was not declared in this scope
    6 |   double y = x*1.08,X;
      |              ^
a.cc:9:3: error: 'X' was not declared in this scope
    9 |   X = z/1.08;
      |   ^
a.cc:13:3: error: 'else' without a previous 'if'
   13 |   else
      |   ^~~~
Language: C++

#include<stdio.h>
int main(){
int X;
  scanf("%ld",&X);
  int A;
  if((X+1)%1.08==0){
printf(":(\n");
  }else{
A=X/1.08;
    printf("%d\n",A);
  }
}


    

Compiler output:
a.cc: In function 'int main()':
a.cc:6:11: error: invalid operands of types 'int' and 'double' to binary 'operator%'
    6 |   if((X+1)%1.08==0){
      |      ~~~~~^~~~~
      |        |   |
      |        int double
Language: C++

#include<iostream>

int main ()
{
	int n;
  cin >> n;
  int pivot = n * 100 / 108;
  if (pivot * 108 / 100 == n) return pivot;
  for (int i = 1; true; ++i){
  	if ((pivot + i)*108 / 100 == n)return pivot+i;
    if ((pivot - i)*108 / 100 == n)return pivot-i;
  }
}

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 >> n;
      |   ^~~
      |   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
      |                  ^~~
Language: C++

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

int main() {
  int z, x;
  double y = x*1.08;
  int Y = y;
  cin << z;
  x = z/1.08;
  if (x == y)
    cout >> x >> endl;
  else
    cout >> ":(" >> endl;
}


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:8:3: error: 'cin' was not declared in this scope
    8 |   cin << z;
      |   ^~~
a.cc:11:5: error: 'cout' was not declared in this scope
   11 |     cout >> x >> endl;
      |     ^~~~
a.cc:11:18: error: 'endl' was not declared in this scope
   11 |     cout >> x >> endl;
      |                  ^~~~
a.cc:13:5: error: 'cout' was not declared in this scope
   13 |     cout >> ":(" >> endl;
      |     ^~~~
a.cc:13:21: error: 'endl' was not declared in this scope
   13 |     cout >> ":(" >> endl;
      |                     ^~~~
Language: Java

import java.util.*;
public class Main{
  public static void main(String[]args){
    Scanner sc=new Scanner(System.in);
    int N=sc.nextInt();
    double X=Math.floor(N/1.08);
    double XX=X*1.08;
    double XXX=Math.floor(XX);
    if(X==XXXX){
      System.out.println("X");
    }else if(X!=XXX){
      System.out.println(":(");
    }
  }
}


Compiler output:
Main.java:9: error: cannot find symbol
    if(X==XXXX){
          ^
  symbol:   variable XXXX
  location: class Main
1 error
Language: C++

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

int main() {
  int z, x;
  double y = x*1.08;
  int Y = y;
  cin >> z;
  x = z/1.08;
  if (x == y)
    cout << x << endl;
  else
    cout << ":(" << endl;
}


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:8:3: error: 'cin' was not declared in this scope
    8 |   cin >> z;
      |   ^~~
a.cc:11:5: error: 'cout' was not declared in this scope
   11 |     cout << x << endl;
      |     ^~~~
a.cc:11:18: error: 'endl' was not declared in this scope
   11 |     cout << x << endl;
      |                  ^~~~
a.cc:13:5: error: 'cout' was not declared in this scope
   13 |     cout << ":(" << endl;
      |     ^~~~
a.cc:13:21: error: 'endl' was not declared in this scope
   13 |     cout << ":(" << endl;
      |                     ^~~~
Language: C++

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

int main() {
  int z, x;
  double y = x*1.08;
  int Y = y;
  cin >> z >> endl;
  x = z/1.08
  if (x == y)
    cout << x << endl;
  else
    cout << ":(" << endl;
}


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:8:3: error: 'cin' was not declared in this scope
    8 |   cin >> z >> endl;
      |   ^~~
a.cc:8:15: error: 'endl' was not declared in this scope
    8 |   cin >> z >> endl;
      |               ^~~~
a.cc:9:13: error: expected ';' before 'if'
    9 |   x = z/1.08
      |             ^
      |             ;
   10 |   if (x == y)
      |   ~~         
a.cc:12:3: error: 'else' without a previous 'if'
   12 |   else
      |   ^~~~
a.cc:13:5: error: 'cout' was not declared in this scope
   13 |     cout << ":(" << endl;
      |     ^~~~
Language: Java

import java.util.Scanner;

public class Main{
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int n= scan.nextInt();
        double c=n+0.5;
        int ans = n/1.08;
        if(n<ans*1.08&&ans*1.08<c)System.out.println(n/1.08);
        else System.out.println(":(");
        scan.close();
    }
}

Compiler output:
Main.java:8: error: incompatible types: possible lossy conversion from double to int
        int ans = n/1.08;
                   ^
1 error
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int N;
  cin >> N;
  int ans = 0;
  
  int ans = N / 1.08 + 1;
  int new_ans = ans;
  
  string flag = "No";
  for (int i = ans-10; i < ans+10; i++) {
      if (floor(ans * 1.08)==N) {
          new_ans = ans;
          flag = "Yes";
          break;
      }
  }
  
  if (flag == "Yes") cout << ans << endl;
  else cout << ":(" << endl;
  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:7: error: redeclaration of 'int ans'
    9 |   int ans = N / 1.08 + 1;
      |       ^~~
a.cc:7:7: note: 'int ans' previously declared here
    7 |   int ans = 0;
      |       ^~~
Language: Java

import java.util.Scanner;

public class Main{
public static void main(String[] args){
Scanner scan=new Scanner(System.in);
int num=scan.nextInt();

int[] mon=new int[46298];
int i=0;
for(i=0;i<46298;i++){
mon[i]=i*1.08;
}

i=0;
int dif=0
for(i=0;i<46298;i++){
    if(num==mon[i]){
    System.out.println(i);
    break;
    }else{
    dif=dif+1;
    }
}
if(dif==46298){
System.out.println(":(")
)
}
  
  
}
}

Compiler output:
Main.java:15: error: ';' expected
int dif=0
         ^
Main.java:25: error: ';' expected
System.out.println(":(")
                        ^
2 errors
Language: C++

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

int main() {
  int n,x,a
    cin>>n;
  a=n/1.08;
  if(a*1.08==n){
  x=a;
    cout<<x;
  }else{
  cout<<":(";
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:5: error: expected initializer before 'cin'
    6 |     cin>>n;
      |     ^~~
a.cc:7:3: error: 'a' was not declared in this scope
    7 |   a=n/1.08;
      |   ^
Language: C++

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

int main() {
  int n,x,a
    cin>>n;
  a=n/1.08;
  if(a*1.08==n){
  x=a;
    cout<<"%d";
  }else{
  cout<<":(";
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:5: error: expected initializer before 'cin'
    6 |     cin>>n;
      |     ^~~
a.cc:7:3: error: 'a' was not declared in this scope
    7 |   a=n/1.08;
      |   ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
  int X;
  int N;
  cin>>N;
  X=N/1.08;
  int Y=X++
  if(X*1.08==N){
    cout<<X<<endl;
  }else if(Y*1.08==N){
    cout<<Y<<endl;
  }else{
    cout<<":("<<endl;
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:3: error: expected ',' or ';' before 'if'
    9 |   if(X*1.08==N){
      |   ^~
a.cc:11:4: error: 'else' without a previous 'if'
   11 |   }else if(Y*1.08==N){
      |    ^~~~
Language: C++

#include<stdio.h>
#include<string.h>

int main()
{
	int N;
	
	scanf("%d", &N);
	
			double M = (double)N / 1.08;
	if(N % 108 == 13 || N % 108 == 26 || N % 108 == 40 || N % 108 == 53 || N % 108 == 67 || N % 108 == 80 || N % 108 == 94 || N % 108 ==107) printf(":(");
	
	else if(N % 108 == 0) printf("%d", (int)M);
	
	else{

		double seisu;
		double syousu;
		syousu = modf(M, &seisu);	
		printf("%d", (int)seisu + 1);
	}	
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:19:26: error: 'modf' was not declared in this scope
   19 |                 syousu = modf(M, &seisu);
      |                          ^~~~
Language: C

import math

price = int(input())
ans = 0
f = False
for i in range(price):
    ans = math.floor(i * 1.08)
    if ans == price:
        ans = i
        f = True
        break
if f:
    print(ans)
else:
    print(":(")

Compiler output:
main.c:1:1: error: unknown type name 'import'
    1 | import math
      | ^~~~~~
main.c:3:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'price'
    3 | price = int(input())
      | ^~~~~
Language: C++

#include <bits/stdc++.h>

using namespace std;

int main() {
#ifdef  DEBUG
  ifstream in("input.txt");
  cin.rdbuf(in.rdbuf());
#endif  // for local.
  int a;
  cin >> a;
  if (a%27 == 26 || a%27 == 13) {
    cout << ":(";
  } else {
    cout << ceil(double(a) / 1.08);
  } cout << stdl;
  
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:16:13: error: 'stdl' was not declared in this scope; did you mean 'std'?
   16 |   } cout << stdl;
      |             ^~~~
      |             std
Language: C++

#include <bits/stdc++.h>

using namespace std;

int main() {
#ifdef  DEBUG
  ifstream in("input.txt");
  cin.rdbuf(in.rdbuf());
#endif  // for local.
  int a;
  cin >> a;
  if (a%27 == 26 || a%27 == 13) {
    cout << ":("
  } else {
    cout << ceil(double(a) / 1.08);
  } cout << stdl;
  
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:17: error: expected ';' before '}' token
   13 |     cout << ":("
      |                 ^
      |                 ;
   14 |   } else {
      |   ~              
a.cc:16:13: error: 'stdl' was not declared in this scope; did you mean 'std'?
   16 |   } cout << stdl;
      |             ^~~~
      |             std
Language: C

#include <stdio.h>

int main(void){
  int a;
  float ans;
  
  scanf("%d",&a);
  
  ans = a/1.08;
  
  if(ans % 1 == 0){
    printf("%d\n",ans);
  }else{
    printf(":(");
  }
  
  return 0;
}
  

Compiler output:
main.c: In function 'main':
main.c:11:10: error: invalid operands to binary % (have 'float' and 'int')
   11 |   if(ans % 1 == 0){
      |          ^
Language: C++

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

int main(){
    int n ;
    cin >> n;

    double y = n/1.08;
    double m = y*1.08;
    int nn = y
    if(m - n >= 0) {
        cout << ":(" << endl;
    } else {
        cout << nn <<endl;
    }
    
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:5: error: expected ',' or ';' before 'if'
   11 |     if(m - n >= 0) {
      |     ^~
a.cc:13:7: error: 'else' without a previous 'if'
   13 |     } else {
      |       ^~~~
Language: C++

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

int main(){
  int N,x,l,m;
  cin >> N ;
  x = 100*N
  l = 108;
  m = x % l;
  if(m != 0){
    cout << ":(" << endl; 
  }
  else{
    cout << N/1.08 << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:12: error: expected ';' before 'l'
    7 |   x = 100*N
      |            ^
      |            ;
    8 |   l = 108;
      |   ~
Language: C++

#include <queue>
#include <iostream>
#include <map>
#include <algorithm>
#include <string>
#include <cmath>
#include <vector>
#include <iomanip>
#include <cstdio>
#include <boost/multiprecision/cpp_dec_float.hpp>
#include <boost/multiprecision/cpp_int.hpp>
using namespace mp = boost::multiprecision;
#define rep(i, n) for(long long i = 0;(i) < (n);(i)++)
using namespace std;
using ll = long long;

int main()
{
	// 任意長整数型
	using Bint = mp::cpp_int;
	// 仮数部が1024ビットの浮動小数点数型(TLEしたら小さくする)
	using Real = mp::number<mp::cpp_dec_float<1024>>;

	Real N;
	cin >> N;
	if (ceil(N / 1.08) > floor((N + 1) / 1.08))
	{
		cout << ":(" << endl;
	}
	else
	{
		cout << ceil(N / 1.08) << endl;
	}
	return 0;
}

Compiler output:
a.cc:10:10: fatal error: boost/multiprecision/cpp_dec_float.hpp: No such file or directory
   10 | #include <boost/multiprecision/cpp_dec_float.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <bits/stdc++.h>

using namespace std;

int main(){
  vector<int> a(50001);
  int n;
  cin >> n;
  for(int i=1;i<46300;i++){
    a[i*108/100]==i;
  }
  if(a[n]==0){
    cout << ":(" << endl;
  }
  else{
    cout << i << endl;
  }

}


Compiler output:
a.cc: In function 'int main()':
a.cc:16:13: error: 'i' was not declared in this scope
   16 |     cout << i << endl;
      |             ^
Language: Java

import java.util.*;
public class Main{
  public static void main(String[]args){
    Scanner sc=new Scanner(System.in);
    int N=sc.nextInt();
    int X=N/1.08;
    int X1=X*1.08;
    
    if(X==X1){
      System.out.println("X");
    }else if(X!=X1){
      System.out.println(":(");
    }
  }
}


Compiler output:
Main.java:6: error: incompatible types: possible lossy conversion from double to int
    int X=N/1.08;
           ^
Main.java:7: error: incompatible types: possible lossy conversion from double to int
    int X1=X*1.08;
            ^
2 errors
Language: C

#include <bits/stdc++.h>
#define tax 1.08
using namespace std;
int main(){
	int x, qnt = -1, iup, ido;
	double up, down;
	cin >> x;
	up = (double)x / tax;
	down = floor(up);
	up = ceil(up);
	iup = floor(up * tax);
	ido = floor(down * tax);
	//cout << up << ' ' << down;
	if(iup == x) qnt = up;
	else if(ido == x) qnt = down;
	if(qnt > 0){
		cout << qnt << "\n";
	}else
		cout << ":(\n";
	return 0;
}

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

#include<iostream>
#include<stdlib.h>
#include<algorithm>
using namespace std;


int main(void) {
	int n;
	cin >> n;
	if (floor(round(n / 1.08) * 1.08) == n) {
		cout << round(n / 1.08);
		return 0;
	}
	cout << ":(";
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:19: error: 'round' was not declared in this scope
   10 |         if (floor(round(n / 1.08) * 1.08) == n) {
      |                   ^~~~~
a.cc:10:13: error: 'floor' was not declared in this scope
   10 |         if (floor(round(n / 1.08) * 1.08) == n) {
      |             ^~~~~
Language: C++

#include <iostream>
#include <vector>
#include <queue>
#include <algorithm>
#include <cstring>
#include <unordered_set>

#define NMAX 100010
#define MOD 1000000007
#define INF 2000000000
#define PI 3.1415926535
#define EPS 1.e10-6

#define MIN(a, b) ((a) < (b) ? (a) : (b))
#define MAX(a, b) ((a) > (b) ? (a) : (b))
#define ABS(a) ((a) > 0 ? (a) : (-a))

typedef unsigned long long ull;

using namespace std;

int n;

int main()
{
	cin >> n;

	for (int i = 0; i <= n; i++)
		if (floor(i * 1.08) == n)
		{
			cout << i << '\n';
			exit(0);
		}
	cout << ":(\n";
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:29:21: error: 'floor' was not declared in this scope
   29 |                 if (floor(i * 1.08) == n)
      |                     ^~~~~
Language: C++

#include<iostream>
#include<stdlib.h>
#include<algorithm>
using namespace std;


int main(void) {
	int n;
	cin >> n;
	int ans = round(n / 1.08);
	int test = ans * 1.08;
	if (floor(test) == n) {
		cout << ans;
		return 0;
	}
	cout << ":(";
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:19: error: 'round' was not declared in this scope
   10 |         int ans = round(n / 1.08);
      |                   ^~~~~
a.cc:12:13: error: 'floor' was not declared in this scope
   12 |         if (floor(test) == n) {
      |             ^~~~~
Language: C++

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

int main(){
  double N,l,m;
  cin >> N ;
  l = 1.08;
  m = N % l;
  if(m != 0){
    cout << ":(" << endl; 
  }
  else{
    cout << N/1.08 << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:9: error: invalid operands of types 'double' and 'double' to binary 'operator%'
    8 |   m = N % l;
      |       ~ ^ ~
      |       |   |
      |       |   double
      |       double
Language: C++

#include<iostream>
#include<stdlib.h>
#include<algorithm>
using namespace std;


int main(void) {
	int n;
	cin >> n;
	int ans = round(n / 1.08);
	if (floor(ans * 1.08) == n) {
		cout << round(n / 1.08);
		return 0;
	}
	cout << ":(";
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:19: error: 'round' was not declared in this scope
   10 |         int ans = round(n / 1.08);
      |                   ^~~~~
a.cc:11:13: error: 'floor' was not declared in this scope
   11 |         if (floor(ans * 1.08) == n) {
      |             ^~~~~
Language: C++

#include<iostream>

using namespace std;

int main() {
	int N;
	cin >> N;
	
	for (long long ans = 0; ans < 50000; ans++) {
		if (long long(N) == long long(ans * 1.08)) {
			cout << ans;
			break;
		}
		else if(N<ans) {
			cout << ":(";
			break;
		}
	}

	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:21: error: expected primary-expression before 'long'
   10 |                 if (long long(N) == long long(ans * 1.08)) {
      |                     ^~~~
a.cc:10:21: error: expected ')' before 'long'
   10 |                 if (long long(N) == long long(ans * 1.08)) {
      |                    ~^~~~
      |                     )
Language: C++

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

int main(){
  double N,m;
  cin >> N ;
  m = N % 1.08;
  if(m != 0){
    cout << ":(" << endl; 
  }
  else{
    cout << N/1.08 << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:9: error: invalid operands of types 'double' and 'double' to binary 'operator%'
    7 |   m = N % 1.08;
      |       ~ ^ ~~~~
      |       |   |
      |       |   double
      |       double
Language: C++

#include <bits/stdc++.h>
#include <iostream>
#include <string>
#include <vector>
#include <stdio.h>
#include <algorithm>
#include <cstring>
#include <cstdlib>
#include <cmath>
#include <queue>
#include <set>
#include <map>
#include <math.h>

#define MIN(a, b) ((a) < (b) ? (a) : (b))
#define MAX(a, b) ((a) > (b) ? (a) : (b))
#define repP(i, a, b) for(int i = a; i < b; i++)
#define repM(i, a, b) for(int i = a - 1; i >= b; i--)

using namespace std;

int main()
{
  int a = 0 , b = 0, c = 0, d = 0, e = 0, f = 0, i = 0, j = 0;
  double n1, n2;
  int sum = 0, num = 0, count = 0, ans = 0, min = 0, max = 0;
  double d1 = 0, d2 = 0, d3 = 0, d4 = 0, d5 = 0, d6 = 0;
  int a1[999999], a2[999999], a3[999999];
  //char s1[200000], s2[200000], s3[200000];
  //string s1, s2, s3;
  
  cin >> a;
  b = a / 1.08;
  if(b * 1.08 + 1= a){
    cout << b << endl;
  }else{
    cout << ":(" << endl;
  }

}
  


Compiler output:
a.cc: In function 'int main()':
a.cc:34:15: error: lvalue required as left operand of assignment
   34 |   if(b * 1.08 + 1= a){
      |      ~~~~~~~~~^~~
Language: C++

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

int main(){
  int N,m;
  cin >> N ;
  m = N % 1.08;
  if(m != 0){
    cout << ":(" << endl; 
  }
  else{
    cout << N/1.08 << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:9: error: invalid operands of types 'int' and 'double' to binary 'operator%'
    7 |   m = N % 1.08;
      |       ~ ^ ~~~~
      |       |   |
      |       int double
Language: C

#include<stdio.h>

int main(){
  int A,B,C,Dresult;
  
  scanf("%d",&A);
  
  B=A/1.08;
  C=B*1.08;
  D=(B+1)*1.08;
  
  if(C == A){
    printf("%d",C);
  }else if(D == A){
    printf("%d",D);
  }else{
    printf(":(");
  }
  
  return 0;
  
}
    
    

Compiler output:
main.c: In function 'main':
main.c:10:3: error: 'D' undeclared (first use in this function)
   10 |   D=(B+1)*1.08;
      |   ^
main.c:10:3: note: each undeclared identifier is reported only once for each function it appears in
Language: C++

#include <bits/stdc++.h>
#include <iostream>
#include <string>
#include <vector>
#include <stdio.h>
#include <algorithm>
#include <cstring>
#include <cstdlib>
#include <cmath>
#include <queue>
#include <set>
#include <map>
#include <math.h>

#define MIN(a, b) ((a) < (b) ? (a) : (b))
#define MAX(a, b) ((a) > (b) ? (a) : (b))
#define repP(i, a, b) for(int i = a; i < b; i++)
#define repM(i, a, b) for(int i = a - 1; i >= b; i--)

using namespace std;

int main()
{
  int a = 0 , b = 0, c = 0, d = 0, e = 0, f = 0, i = 0, j = 0;
  double n1, n2;
  int sum = 0, num = 0, count = 0, ans = 0, min = 0, max = 0;
  double d1 = 0, d2 = 0, d3 = 0, d4 = 0, d5 = 0, d6 = 0;
  int a1[999999], a2[999999], a3[999999];
  //char s1[200000], s2[200000], s3[200000];
  //string s1, s2, s3;
  
  cin >> a;
  b = a / 1.08;
  if(b * 1.08　 + 1 == a){
    cout << b << endl;
  }else{
    cout << ":(" << endl;
  }

}
  


Compiler output:
a.cc:34:10: error: extended character 　 is not valid in an identifier
   34 |   if(b * 1.08　 + 1 == a){
      |          ^
a.cc: In function 'int main()':
a.cc:34:10: error: unable to find numeric literal operator 'operator""\U00003000'
   34 |   if(b * 1.08　 + 1 == a){
      |          ^~~~~~
Language: Java

import java.util.*;

public class Main{
  
  static int price(int cost){
    	float a = cost/1.08;
    	int b = (int) a;
    	if((b*1.08)==(float) cost){
          return b;
        }
    	else if(((b+1)*1.08) == (float) cost){
          return b+1;
        }
    	else return -1;
  }
  public static void main(String[] args){
    	Scanner scan = new Scanner(System.in);
    	int n = scan.nextInt();
    	int a = price(n);	
    if(a!=-1){
          	System.out.println(a);
        }else System.out.println(":(");
  }
}

Compiler output:
Main.java:6: error: incompatible types: possible lossy conversion from double to float
    	float a = cost/1.08;
    	              ^
1 error
Language: C++

include <algorithm>
#include <array>
#include <cmath>
#include <functional>
#include <iostream>
#include <iomanip>
#include <map>
#include <string>
#include <utility>
#include <vector>

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

using namespace std;

int main() {
  std::cout<<std::fixed<<std::setprecision(10);
  int N;
  cin >> N;

  for(int i=0; i < N; ++i) {
    if (floor(i*1.08) == N) {
      cout << i << endl;
      return 0;
    }
  }
  cout << ":(" << endl;

  return 0;
}


Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include <algorithm>
      | ^~~~~~~
In file included from /usr/include/c++/14/array:39,
                 from a.cc:2:
/usr/include/c++/14/initializer_list:51:15: error: 'size_t' does not name a type
   51 |       typedef size_t            size_type;
      |               ^~~~~~
/usr/include/c++/14/initializer_list:1:1: note: 'size_t' is defined in header '<cstddef>'; this is probably fixable by adding '#include <cstddef>'
  +++ |+#include <cstddef>
    1 | // std::initializer_list support -*- C++ -*-
/usr/include/c++/14/initializer_list:57:7: error: 'size_type' does not name a type
   57 |       size_type                 _M_len;
      |       ^~~~~~~~~
/usr/include/c++/14/initializer_list:60:54: error: 'size_type' has not been declared
   60 |       constexpr initializer_list(const_iterator __a, size_type __l)
      |                                                      ^~~~~~~~~
/usr/include/c++/14/initializer_list:68:17: error: 'size_type' does not name a type
   68 |       constexpr size_type
      |                 ^~~~~~~~~
/usr/include/c++/14/initializer_list:45:11: fatal error: definition of 'class std::initializer_list<_E>' does not match '#include <initializer_list>'
   45 |     class initializer_list
      |           ^~~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include<algorithm>//sort(all(変数),greater<型名>())　で降順に
#include<bits/stdc++.h>
#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>
#define rep0(i,n)  for(ll i=0; i<n; i++)
#define rrep0(i,n) for(ll i=n-1; 0<=i; i--)
#define vll vector<ll>
#define vi vector<int>
#define all(x) (x).begin(),(x).end()
#define INF 1e18
using ll = long long;
using namespace std;
template<class T>bool chmax(T &a, const T &b) { if (a<b) { a=b; return 1; } return 0; }
template<class T>bool chmin(T &a, const T &b) { if (b<a) { a=b; return 1; } return 0; }

int main(){
  int n;  cin >> n;
  rep0(i,n){
    if(i*1.08 == n){
      cout << i;
      return 0;
    }
  }
  cout << ":("
}


Compiler output:
a.cc: In function 'int main()':
a.cc:34:15: error: expected ';' before '}' token
   34 |   cout << ":("
      |               ^
      |               ;
   35 | }
      | ~
Language: C++

include <algorithm>
#include <array>
#include <cmath>
#include <functional>
#include <iostream>
#include <iomanip>
#include <map>
#include <string>
#include <utility>
#include <vector>

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

using namespace std;

int main() {
  std::cout<<std::fixed<<std::setprecision(10);
  int N;
  cin >> N;

  for(int i=0; i < N; ++i) {
    if (int(i*1.08) == N) {
      cout << i << endl;
      return 0;
    }
  }
  cout << ":(" << endl;

  return 0;
}


Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include <algorithm>
      | ^~~~~~~
In file included from /usr/include/c++/14/array:39,
                 from a.cc:2:
/usr/include/c++/14/initializer_list:51:15: error: 'size_t' does not name a type
   51 |       typedef size_t            size_type;
      |               ^~~~~~
/usr/include/c++/14/initializer_list:1:1: note: 'size_t' is defined in header '<cstddef>'; this is probably fixable by adding '#include <cstddef>'
  +++ |+#include <cstddef>
    1 | // std::initializer_list support -*- C++ -*-
/usr/include/c++/14/initializer_list:57:7: error: 'size_type' does not name a type
   57 |       size_type                 _M_len;
      |       ^~~~~~~~~
/usr/include/c++/14/initializer_list:60:54: error: 'size_type' has not been declared
   60 |       constexpr initializer_list(const_iterator __a, size_type __l)
      |                                                      ^~~~~~~~~
/usr/include/c++/14/initializer_list:68:17: error: 'size_type' does not name a type
   68 |       constexpr size_type
      |                 ^~~~~~~~~
/usr/include/c++/14/initializer_list:45:11: fatal error: definition of 'class std::initializer_list<_E>' does not match '#include <initializer_list>'
   45 |     class initializer_list
      |           ^~~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> P;
const ll mod = 1000000007;
const ll INF = mod * mod;
#define rep(i,n) for(int i=0;i<n;i++)
#define per(i,n) for(int i=n-1;i>=0;i--)
#define Rep(i,sta,n) for(int i=sta;i<n;i++)
#define rep1(i,n) for(int i=1;i<=n;i++)
#define per1(i,n) for(int i=n;i>=1;i--)
#define Rep1(i,sta,n) for(int i=sta;i<=n;i++)

int main() {
    int N; cin >> N;    
    bool flag = false;
    int ans;
    for (int i = 1; i <= 50000; i++) {
        if (floor(i * 1.08) == N && ) {
            ans = i;
            flag = true;
            break;
        }
    }
    if (flag) cout << ans << endl;
    else cout << ":(" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:19:37: error: expected primary-expression before ')' token
   19 |         if (floor(i * 1.08) == N && ) {
      |                                     ^
Language: C++

#include<iostream>
using namespaec std;
int main(){
  int n;
  cin>>n;
  for(int i=0; i<n; i++){
    if((int)i*1.08 == n){
      cout<<i;
      return 0;}
  }
  cout<<":(";
}

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namespaec'
    2 | using namespaec 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>>n;
      |   ^~~
      |   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:7: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |       cout<<i;
      |       ^~~~
      |       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:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   11 |   cout<<":(";
      |   ^~~~
      |   std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C++

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

int main(){
	int x;
	scanf("%d",&x);
	int now=ceil(x/1.08);
	if(now*1.08==x1)cout<<ceil(x/1.08);
	else cout<<":(";
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:22: error: 'x1' was not declared in this scope; did you mean 'x'?
    8 |         if(now*1.08==x1)cout<<ceil(x/1.08);
      |                      ^~
      |                      x
Language: C++

#include <iostram>
using namespace std;
int main(){
  int N;
  cin >> N;
  N = N * 100;
  if(N%108==0){
    cout << N/108 << endl;
  }else{
    cout << ":(" << endl;
  }
}

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

#include <iostream>
using namespace std;

int n;


int main(void){
    
    cin>>n;
    for(int i=1;i<=n;i++){
        double x=(double)i*1.08;
        int k=(int)x;
        if(k==n){
            cout<<i<<endl;
            return 0;
        }aa
    }
    
    cout<<":("<<endl;
    
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:16:10: error: 'aa' was not declared in this scope
   16 |         }aa
      |          ^~
Language: C++

#include<iostream>
using namespace std;
int main(){
	int N,X;
	cin>>N;
	X=(int)(N/1.08);
	for(int i=X-1;i<=X+1;i++){
		if(floor(i*1.08)==N){cout<<i;return 0;}
	}
	cout<<":(";
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:20: error: 'floor' was not declared in this scope
    8 |                 if(floor(i*1.08)==N){cout<<i;return 0;}
      |                    ^~~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
  int n;	
  cin >> n;
  cout << ((n*100/108)*108 == n*100?(n*100/108):":(");
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:36: error: operands to '?:' have different types 'int' and 'const char*'
    6 |   cout << ((n*100/108)*108 == n*100?(n*100/108):":(");
      |            ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
  int n;	
  cin >> n;
  cout << ((n*100/108)*108 == n*100?(n*100/108):":(
";
}

Compiler output:
a.cc:6:49: warning: missing terminating " character
    6 |   cout << ((n*100/108)*108 == n*100?(n*100/108):":(
      |                                                 ^
a.cc:6:49: error: missing terminating " character
    6 |   cout << ((n*100/108)*108 == n*100?(n*100/108):":(
      |                                                 ^~~
a.cc:7:1: warning: missing terminating " character
    7 | ";
      | ^
a.cc:7:1: error: missing terminating " character
    7 | ";
      | ^~
a.cc: In function 'int main()':
a.cc:8:1: error: expected primary-expression before '}' token
    8 | }
      | ^
a.cc:6:49: error: expected ')' before '}' token
    6 |   cout << ((n*100/108)*108 == n*100?(n*100/108):":(
      |           ~                                     ^
      |                                                 )
    7 | ";
    8 | }
      | ~
Language: C++


#include <iostream>
using namespace std;

int main()
{
  int N;
  cin >> N;
  int X = N/1.08;
  if (N == static_cast<int>(1.08*X))
    cout << X;
  else if (N == static_cast<int>(1.08*(X + 1)))
    cout << X + 1;
  else
    cout << ":("
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:15:17: error: expected ';' before 'return'
   15 |     cout << ":("
      |                 ^
      |                 ;
   16 |   return 0;
      |   ~~~~~~
Language: C++

# include <bits/stdc++.h>
# include <atcoder/all>
# define rep(i, n) for (ll i = 0; i < (n); i++)
# define reps(i, n) for (ll i = 1; i <= (n); i++)
# define foreps(i, m, n) for (ll i = (m); i < (n); i++)
# define len(x) ((int)(x).size())
# define all(x) (x).begin(), (x).end()
using namespace std;
using namespace atcoder;
typedef long long ll;
typedef long double ld;
const long long mod = 1e9 + 7;
const long long inf = 1e18;

int main() {
    ll X; cin >> X;
    ll Q = X / 100;
    ll R = X % 100;
    cout << (R <= Q * 5) << endl;
}

Compiler output:
a.cc:2:11: fatal error: atcoder/all: No such file or directory
    2 | # include <atcoder/all>
      |           ^~~~~~~~~~~~~
compilation terminated.
Language: Java

#include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
typedef pair<int, int> P;

int main() {
	int x;
	cin >> x;
	vector<bool> dp(x + 1);
	dp[0] = true;
	dp[100] = true;
	dp[101] = true;
	dp[102] = true;
	dp[103] = true;
	dp[104] = true;
	dp[105] = true;
	for(int i = 105; i <= x; i++){
		dp[i] = dp[i - 100] | dp[i - 101] | dp[i - 102] | dp[i - 103] | dp[i - 104] | dp[i - 105];
	}
	cout << dp[x] << endl;
}


Compiler output:
Main.java:1: error: illegal character: '#'
#include <bits/stdc++.h>
^
Main.java:1: error: class, interface, enum, or record expected
#include <bits/stdc++.h>
         ^
Main.java:3: error: class, interface, enum, or record expected
typedef long long int ll;
^
Main.java:4: error: class, interface, enum, or record expected
typedef pair<int, int> P;
^
Main.java:8: error: not a statement
	cin >> x;
	    ^
Main.java:9: error: not a statement
	vector<bool> dp(x + 1);
	                  ^
Main.java:20: error: not a statement
	cout << dp[x] << endl;
	              ^
Main.java:6: error: unnamed classes are a preview feature and are disabled by default.
int main() {
^
  (use --enable-preview to enable unnamed classes)
Main.java:9: error: ';' expected
	vector<bool> dp(x + 1);
	               ^
Main.java:9: error: ';' expected
	vector<bool> dp(x + 1);
	                     ^
10 errors