fork(2) download
  1. #!sapphire
  2. def find()
  3. let(i,0)(j,0)(k,0)
  4. for(i:=1,i<=9,i++)
  5. for(j:=0,j<=9,j++)
  6. for(k:=1,k<=9,k++)
  7. let(a,i*10+j)(b,k)(c,j)
  8. when(a/b = b*c){display(i),display(j),display(k),newline()};
  9.  
  10. norm> find();
  11. 324
  12. 453
  13. 644
  14. 726
  15. 819
  16. 964
  17. #t
  18. norm>
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Main.java:1: error: illegal character: '#'
#!sapphire
^
Main.java:1: error: class, interface, or enum expected
#!sapphire
  ^
Main.java:10: error: class, interface, or enum expected
norm> find();
^
Main.java:11: error: class, interface, or enum expected
324
^
Main.java:17: error: illegal character: '#'
#t
^
5 errors
stdout
Standard output is empty