fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. long long a, b;
  6. cin >> a >> b;
  7.  
  8. if (a <= 1 && a >= 1000000000){
  9. return 0;}
  10.  
  11. if (b <= 1 && b >= 1000000000){
  12. return 0;}
  13.  
  14. if (a * b % 11 != 0){
  15. return 0;}
  16.  
  17. cout << a * b / 11 << endl;
  18. }
  19.  
Success #stdin #stdout 0.01s 5300KB
stdin
33 15
stdout
45