Language: Java

import java.math.BigDecimal;
import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		// 整数の入力
        int x = sc.nextInt();
        
        int year = 0;
        BigDecimal money = new BigDecimal(100, 0);
        BigDecimal X = new BigDecimal(x, 0);
        while(X.compareTo(money) != 1) {
            money = money.multiply(new BigDecimal("1.1", 1));
            year++;
        }

		// 出力
		System.out.println(year);
	}
}

Compiler output:
Main.java:10: error: no suitable constructor found for BigDecimal(int,int)
        BigDecimal money = new BigDecimal(100, 0);
                           ^
    constructor BigDecimal.BigDecimal(char[],MathContext) is not applicable
      (argument mismatch; int cannot be converted to char[])
    constructor BigDecimal.BigDecimal(String,MathContext) is not applicable
      (argument mismatch; int cannot be converted to String)
    constructor BigDecimal.BigDecimal(double,MathContext) is not applicable
      (argument mismatch; int cannot be converted to MathContext)
    constructor BigDecimal.BigDecimal(BigInteger,MathContext) is not applicable
      (argument mismatch; int cannot be converted to BigInteger)
    constructor BigDecimal.BigDecimal(BigInteger,int) is not applicable
      (argument mismatch; int cannot be converted to BigInteger)
    constructor BigDecimal.BigDecimal(int,MathContext) is not applicable
      (argument mismatch; int cannot be converted to MathContext)
    constructor BigDecimal.BigDecimal(long,MathContext) is not applicable
      (argument mismatch; int cannot be converted to MathContext)
Main.java:11: error: no suitable constructor found for BigDecimal(int,int)
        BigDecimal X = new BigDecimal(x, 0);
                       ^
    constructor BigDecimal.BigDecimal(char[],MathContext) is not applicable
      (argument mismatch; int cannot be converted to char[])
    constructor BigDecimal.BigDecimal(String,MathContext) is not applicable
      (argument mismatch; int cannot be converted to String)
    constructor BigDecimal.BigDecimal(double,MathContext) is not applicable
      (argument mismatch; int cannot be converted to MathContext)
    constructor BigDecimal.BigDecimal(BigInteger,MathContext) is not applicable
      (argument mismatch; int cannot be converted to BigInteger)
    constructor BigDecimal.BigDecimal(BigInteger,int) is not applicable
      (argument mismatch; int cannot be converted to BigInteger)
    constructor BigDecimal.BigDecimal(int,MathContext) is not applicable
      (argument mismatch; int cannot be converted to MathContext)
    constructor BigDecimal.BigDecimal(long,MathContext) is not applicable
      (argument mismatch; int cannot be converted to MathContext)
Main.java:13: error: no suitable constructor found for BigDecimal(String,int)
            money = money.multiply(new BigDecimal("1.1", 1));
                                   ^
    constructor BigDecimal.BigDecimal(char[],MathContext) is not applicable
      (argument mismatch; String cannot be converted to char[])
    constructor BigDecimal.BigDecimal(String,MathContext) is not applicable
      (argument mismatch; int cannot be converted to MathContext)
    constructor BigDecimal.BigDecimal(double,MathContext) is not applicable
      (argument mismatch; String cannot be converted to double)
    constructor BigDecimal.BigDecimal(BigInteger,MathContext) is not applicable
      (argument mismatch; String cannot be converted to BigInteger)
    constructor BigDecimal.BigDecimal(BigInteger,int) is not applicable
      (argument mismatch; String cannot be converted to BigInteger)
    constructor BigDecimal.BigDecimal(int,MathContext) is not applicable
      (argument mismatch; String cannot be converted to int)
    constructor BigDecimal.BigDecimal(long,MathContext) is not applicable
      (argument mismatch; String cannot be converted to long)
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
3 errors