Language: C

package main

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

func main() {

	N := oneInt()
	moji := strconv.Itoa(N)
	if strings.Contains(moji, "7") {
		fmt.Print("Yes")
	} else {
		fmt.Print("No")
	}

}

func exp(val int) float64 {
	var temp float64
	for index := 1; index <= val; index++ {
		temp += float64(index)
	}
	return temp / float64(val)
}

func searchAbove(slice []int, target int, index int) int {
	for i := index + 1; i < len(slice); i++ {
		v := slice[i]
		if v >= target {
			return i
		}
	}
	return -1
}

var sc = bufio.NewScanner(os.Stdin)

func oneInt() int {
	var a int
	fmt.Scan(&a)
	return a
}
func oneStr() string {
	var a string
	fmt.Scan(&a)
	return a
}

func nextLine() string {
	sc.Scan()
	return sc.Text()
}

func scanNums() (nums []int) {
	s := nextLine()
	numStr := strings.Split(s, " ")

	for _, n := range numStr {
		i, _ := strconv.Atoi(n)
		nums = append(nums, i)
	}
	return nums
}

func scanStrings() (strs []string) {
	s := nextLine()
	list := strings.Split(s, " ")
	strs = append(strs, list...)
	return strs
}

func abs(a int) int {
	return int(math.Abs(float64(a)))
}

func pow(p, q int) int {
	return int(math.Pow(float64(p), float64(q)))
}

func min(nums ...int) int {
	if len(nums) == 0 {
		panic("funciton min() requires at least one argument.")
	}
	res := nums[0]
	for i := 0; i < len(nums); i++ {
		res = int(math.Min(float64(res), float64(nums[i])))
	}
	return res
}

func max(nums ...int) int {
	if len(nums) == 0 {
		panic("funciton max() requires at least one argument.")
	}
	res := nums[0]
	for i := 0; i < len(nums); i++ {
		res = int(math.Max(float64(res), float64(nums[i])))
	}
	return res
}

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

func sortAsc(a []int) []int {
	sort.Ints(a)
	return a
}

func sortDesc(a []int) []int {
	sort.Sort(sort.Reverse(sort.IntSlice(a)))
	return a
}

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

func lcm(a, b int) int {
	if a == 0 && b == 0 {
		return 0
	}
	return a * b / gcd(a, b)
}


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:25:1: error: unknown type name 'func'
   25 | func exp(val int) float64 {
      | ^~~~
main.c:25:10: error: unknown type name 'val'
   25 | func exp(val int) float64 {
      |          ^~~
main.c:33:1: error: unknown type name 'func'
   33 | func searchAbove(slice []int, target int, index int) int {
      | ^~~~
main.c:33:18: error: unknown type name 'slice'
   33 | func searchAbove(slice []int, target int, index int) int {
      |                  ^~~~~
main.c:33:31: error: unknown type name 'target'
   33 | func searchAbove(slice []int, target int, index int) int {
      |                               ^~~~~~
main.c:33:43: error: unknown type name 'index'
   33 | func searchAbove(slice []int, target int, index int) int {
      |                                           ^~~~~
main.c:43:1: error: unknown type name 'var'
   43 | var sc = bufio.NewScanner(os.Stdin)
      | ^~~
main.c:43:10: error: 'bufio' undeclared here (not in a function)
   43 | var sc = bufio.NewScanner(os.Stdin)
      |          ^~~~~
main.c:43:27: error: 'os' undeclared here (not in a function)
   43 | var sc = bufio.NewScanner(os.Stdin)
      |                           ^~
main.c:45:1: error: expected ',' or ';' before 'func'
   45 | func oneInt() int {
      | ^~~~
main.c:50:1: error: unknown type name 'func'
   50 | func oneStr() string {
      | ^~~~
main.c: In function 'oneStr':
main.c:50:15: error: expected declaration specifiers before 'string'
   50 | func oneStr() string {
      |               ^~~~~~
main.c:56:1: error: unknown type name 'func'
   56 | func nextLine() string {
      | ^~~~
main.c:56:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'string'
   56 | func nextLine() string {
      |                 ^~~~~~
main.c:61:1: error: unknown type name 'func'
   61 | func scanNums() (nums []int) {
      | ^~~~
main.c:61:18: error: unknown type name 'nums'
   61 | func scanNums() (nums []int) {
      |                  ^~~~
main.c:72:1: error: unknown type name 'func'
   72 | func scanStrings() (strs []string) {
      | ^~~~
main.c:72:21: error: unknown type name 'strs'
   72 | func scanStrings() (strs []string) {
      |                     ^~~~
main.c:79:1: error: unknown type name 'func'
   79 | func abs(a int) int {
      | ^~~~
main.c:79:10: error: unknown type name 'a'
   79 | func abs(a int) int {
      |          ^
main.c:83:1: error: unknown type name 'func'
   83 | func pow(p, q int) int {
      | ^~~~
main.c:83:14: error: expected ')' before 'int'
   83 | func pow(p, q int) int {
      |              ^~~~
      |              )
main.c:87:1: error: unknown type name 'func'
   87 | func min(nums ...int) int {
      | ^~~~
main.c:87:14: error: expected ')' before '...' token
   87 | func min(nums ...int) int {
      |              ^~~~
      |              )
main.c:98:1: error: unknown type name 'func'
   98 | func max(nums ...int) int {
      | ^~~~
main.c:98:14: error: expected ')' before '...' token
   98 | func max(nums ...int) int {
      |              ^~~~
      |              )
main.c:109:1: error: unknown type name 'func'
  109 | func strSearch(a []string, b string) bool {
      | ^~~~
main.c:109:16: error: unknown type name 'a'
  109 | func strSearch(a []string, b string) bool {
      |                ^
main.c:109:28: error: unknown type name 'b'
  109 | func strSearch(a []string, b string) bool {
      |                            ^
main.c:118:1: error: unknown type name 'func'
  118 | func sortAsc(a []int) []int {
      | ^~~~
main.c:118:14: error: unknown type name 'a'
  118 | func sortAsc(a []int) []int {
      |              ^
main.c:123:1: error: unknown type name 'func'
  123 | func sortDesc(a []int) []int {
      | ^~~~
main.c:123:15: error: unknown type name 'a'
  123 | func sortDesc(a []int) []int {
      |               ^
main.c:128:1: error: unknown type name 'func'
  128 | func gcd(a, b int) int {
      | ^~~~
main.c:128:14: error: expected ')' before 'int'
  128 | func gcd(a, b int) int {
      |              ^~~~
      |              )
main.c:135:1: error: unknown type name 'func'
  135 | func lcm(a, b int) int {
      | ^~~~
main.c:135:14: error: expected ')' before 'int'
  135 | func lcm(a, b int) int {
      |              ^~~~
      |              )
main.c:141: error: expected '{' at end of input