fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int x = 0x8002;
  6. int y = 0x8001;
  7. int z = x * y;
  8. int r = x % y;
  9. cout << z << endl;
  10. cout << r << endl;
  11. return 0;
  12. }
Success #stdin #stdout 0s 4292KB
stdin
Standard input is empty
stdout
1073840130
1