fork download
  1. class S99Int(val start: Int) {
  2. def isCoprimeTo(n: Int): Boolean = gcd(start, n) == 1
  3. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Main.scala:2: error: not found: value gcd
  def isCoprimeTo(n: Int): Boolean = gcd(start, n) == 1
                                     ^
one error found
stdout
Standard output is empty