fork download
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. long long a,b,c;
  6.  
  7. int main(){
  8. // freopen("input.txt", "r", stdin);
  9. // freopen("output.txt", "w", stdout);
  10.  
  11. cin >> a >> b;
  12.  
  13. if(a%b==0 || b%a==0){c=1;} else {c=452;};
  14.  
  15. cout << c;
  16.  
  17. return 0;
  18. }
Success #stdin #stdout 0s 544KB
stdin
3 5
stdout
452