fork download
  1. #include <stdio.h>
  2.  
  3. Int main(){
  4.  
  5. Int a,b;
  6. Scan F("℅d %d",&a &b);
  7. While(1){
  8. Int rem=b%a;
  9. If (rem==0) break;
  10. b=a;
  11. a=rem;
  12. Printf("GCD is ℅d",a);
  13. }
  14. Return=0;
Success #stdin #stdout #stderr 0.01s 5280KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
Error: near line 3: near "Int": syntax error
Error: near line 6: near "Scan": syntax error
Error: near line 7: near "While": syntax error
Error: near line 9: near "If": syntax error
Error: near line 10: near "b": syntax error
Error: near line 11: near "a": syntax error
Error: near line 12: near "Printf": syntax error
Error: near line 13: unrecognized token: "}"