class S99Int(val start: Int) { def isCoprimeTo(n: Int): Boolean = gcd(start, n) == 1}
Standard input is empty
Main.scala:2: error: not found: value gcd def isCoprimeTo(n: Int): Boolean = gcd(start, n) == 1 ^ one error found
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!