Skip to main content

Script

Standard Library

Types

  • Int

Operators

  • Bitwise
    • &
    • |
    • ^
    • <<
    • >>
  • Arithmetic
    • +
    • -
    • *
  • Comparison
    • <
    • <=
    • >
    • >=
    • ==
    • !=
  • Logical
    • and
    • or

Built-in Functions

  • Math
    • min(x: Int, y: Int, *args: Int) -> Int
    • max(x: Int, y: Int, *args: Int) -> Int
    • abs(x: Int) -> Int
    • divmod(x: Int, y: Int) -> Tuple[Int, Int]
  • IO
    • scan() -> Int
    • getc() -> Int
    • print(*args: Any)
    • putc(x: Int)