Language: C

package main

import (
	"bufio"
	"fmt"
	"math"
	"os"
	"sort"
	"strconv"
	"strings"
)

func main() {
	x := readf()
	m, i := 100.0, 0.
	for i = 0; m < x; i++ {
		m = math.Trunc(m * 1.01)
	}
	fmt.Println(i)
}

func mod(a, b float64) float64 {
	for a >= b {
		a -= b
	}
	return a
}

// IO---------------------------------------------------

func readi() (n int) {
	fmt.Scan(&n)
	return
}

func readf() (n float64) {
	fmt.Scan(&n)
	return
}

func reads() (n string) {
	fmt.Scan(&n)
	return
}

var rdr = bufio.NewReaderSize(os.Stdin, 1000000)

func readLine() string {
	buf := make([]byte, 0, 1000000)
	for {
		l, p, e := rdr.ReadLine()
		if e != nil {
			panic(e)
		}
		buf = append(buf, l...)
		if !p {
			break
		}
	}
	return string(buf)
}

func readSlice() []string {
	return strings.Split(readLine(), " ")
}

func atoi(a []string) (b []int) {
	b = make([]int, len(a))
	for i := range a {
		b[i], _ = strconv.Atoi(a[i])
	}
	return
}

func atof(a []string) (b []float64) {
	b = make([]float64, len(a))
	for i := range a {
		b[i], _ = strconv.ParseFloat(a[i], 64)
	}
	return
}

func readSlice2(n int) (a []int, b []int) {
	a = make([]int, n)
	b = make([]int, n)
	for i := 0; i < n; i++ {
		fmt.Scan(&a[i], &b[i])
	}
	return
}

func readFloatSlice2(n int) (a []float64, b []float64) {
	a = make([]float64, n)
	b = make([]float64, n)
	for i := 0; i < n; i++ {
		fmt.Scan(&a[i], &b[i])
	}
	return
}

func yesOrNo(b bool) {
	if b {
		fmt.Println("Yes")
		return
	}
	fmt.Println("No")
}

func yesorNO(b bool) {
	if b {
		fmt.Println("YES")
		return
	}
	fmt.Println("NO")
}

func yesorno(b bool) {
	if b {
		fmt.Println("yes")
		return
	}
	fmt.Println("no")
}

// calc---------------------------------------------------

func abs(a int) int {
	if a > 0 {
		return a
	}
	return -a
}

func ave(a []int) (ave int) {
	for i := 0; i < len(a); i++ {
		ave += a[i]
	}
	ave /= len(a)
	return
}

func eq(a []string, b []string) bool {
	for i := 0; i < len(a); i++ {
		if a[i] != b[i] {
			return false
		}
	}
	return true
}

func gcd(a, b int) int {
	if b == 0 {
		return a
	}
	return gcd(b, a%b)
}

func max(a ...int) int {
	max := a[0]
	for i := 1; i < len(a); i++ {
		if max < a[i] {
			max = a[i]
		}
	}
	return max
}

func min(a ...int) int {
	min := a[0]
	for i := 1; i < len(a); i++ {
		if min > a[i] {
			min = a[i]
		}
	}
	return min
}

func mid(a []int) int {
	sort.Ints(a)
	return a[len(a)/2]
}

func sum(a []int) (ans int) {
	for i := range a {
		ans += a[i]
	}
	return
}


Compiler output:
main.c:1:1: error: unknown type name 'package'
    1 | package main
      | ^~~~~~~
main.c:3:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'import'
    3 | import (
      | ^~~~~~
main.c:22:1: error: unknown type name 'func'
   22 | func mod(a, b float64) float64 {
      | ^~~~
main.c:22:14: error: expected ')' before 'float64'
   22 | func mod(a, b float64) float64 {
      |              ^~~~~~~~
      |              )
main.c:31:1: error: unknown type name 'func'
   31 | func readi() (n int) {
      | ^~~~
main.c:31:15: error: unknown type name 'n'
   31 | func readi() (n int) {
      |               ^
main.c:36:1: error: unknown type name 'func'
   36 | func readf() (n float64) {
      | ^~~~
main.c:36:15: error: unknown type name 'n'
   36 | func readf() (n float64) {
      |               ^
main.c:41:1: error: unknown type name 'func'
   41 | func reads() (n string) {
      | ^~~~
main.c:41:15: error: unknown type name 'n'
   41 | func reads() (n string) {
      |               ^
main.c:46:1: error: unknown type name 'var'
   46 | var rdr = bufio.NewReaderSize(os.Stdin, 1000000)
      | ^~~
main.c:46:11: error: 'bufio' undeclared here (not in a function)
   46 | var rdr = bufio.NewReaderSize(os.Stdin, 1000000)
      |           ^~~~~
main.c:46:31: error: 'os' undeclared here (not in a function)
   46 | var rdr = bufio.NewReaderSize(os.Stdin, 1000000)
      |                               ^~
main.c:48:1: error: expected ',' or ';' before 'func'
   48 | func readLine() string {
      | ^~~~
main.c:63:1: error: unknown type name 'func'
   63 | func readSlice() []string {
      | ^~~~
main.c:63:6: error: 'readSlice' declared as function returning an array
   63 | func readSlice() []string {
      |      ^~~~~~~~~
main.c: In function 'readSlice':
main.c:63:20: error: expected declaration specifiers before 'string'
   63 | func readSlice() []string {
      |                    ^~~~~~
main.c:67:1: error: unknown type name 'func'
   67 | func atoi(a []string) (b []int) {
      | ^~~~
main.c:67:11: error: unknown type name 'a'
   67 | func atoi(a []string) (b []int) {
      |           ^
main.c:75:1: error: unknown type name 'func'
   75 | func atof(a []string) (b []float64) {
      | ^~~~
main.c:75:11: error: unknown type name 'a'
   75 | func atof(a []string) (b []float64) {
      |           ^
main.c:83:1: error: unknown type name 'func'
   83 | func readSlice2(n int) (a []int, b []int) {
      | ^~~~
main.c:83:17: error: unknown type name 'n'
   83 | func readSlice2(n int) (a []int, b []int) {
      |                 ^
main.c:92:1: error: unknown type name 'func'
   92 | func readFloatSlice2(n int) (a []float64, b []float64) {
      | ^~~~
main.c:92:22: error: unknown type name 'n'
   92 | func readFloatSlice2(n int) (a []float64, b []float64) {
      |                      ^
main.c:101:1: error: unknown type name 'func'
  101 | func yesOrNo(b bool) {
      | ^~~~
main.c:101:14: error: unknown type name 'b'
  101 | func yesOrNo(b bool) {
      |              ^
main.c:109:1: error: unknown type name 'func'
  109 | func yesorNO(b bool) {
      | ^~~~
main.c:109:14: error: unknown type name 'b'
  109 | func yesorNO(b bool) {
      |              ^
main.c:117:1: error: unknown type name 'func'
  117 | func yesorno(b bool) {
      | ^~~~
main.c:117:14: error: unknown type name 'b'
  117 | func yesorno(b bool) {
      |              ^
main.c:127:1: error: unknown type name 'func'
  127 | func abs(a int) int {
      | ^~~~
main.c:127:10: error: unknown type name 'a'
  127 | func abs(a int) int {
      |          ^
main.c:134:1: error: unknown type name 'func'
  134 | func ave(a []int) (ave int) {
      | ^~~~
main.c:134:10: error: unknown type name 'a'
  134 | func ave(a []int) (ave int) {
      |          ^
main.c:142:1: error: unknown type name 'func'
  142 | func eq(a []string, b []string) bool {
      | ^~~~
main.c:142:9: error: unknown type name 'a'
  142 | func eq(a []string, b []string) bool {
      |         ^
main.c:142:21: error: unknown type name 'b'
  142 | func eq(a []string, b []string) bool {
      |                     ^
main.c:151:1: error: unknown type name 'func'
  151 | func gcd(a, b int) int {
      | ^~~~
main.c:151:14: error: expected ')' before 'int'
  151 | func gcd(a, b int) int {
      |              ^~~~
      |              )
main.c:158:1: error: unknown type name 'func'
  158 | func max(a ...int) int {
      | ^~~~
main.c:158:11: error: expected ')' before '...' token
  158 | func max(a ...int) int {
      |           ^~~~
      |           )
main.c:168:1: error: unknown type name 'func'
  168 | func min(a ...int) int {
      | ^~~~
main.c:168:11: error: expected ')' before '...' token
  168 | func min(a ...int) int {
      |           ^~~~
      |           )
main.c:178:1: error: unknown type name 'func'
  178 | func mid(a []int) int {
      | ^~~~
main.c:178:10: error: unknown type name 'a'
  178 | func mid(a []int) int {
      |          ^
main.c:183:1: error: unknown type name 'func'
  183 | func sum(a []int) (ans int) {
      | ^~~~
main.c:183:10: error: unknown type name 'a'
  183 | func sum(a []int) (ans int) {
      |          ^
main.c:189: error: expected '{' at end of input