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