fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int i = 1000000;
  6. long long ll = 1000000;
  7. cout<< ((999999%i)*(999999%i)*(999999%i)) << endl;
  8. cout<< ((999999%ll)*(999999%ll)*(999999%ll)) << endl;
  9. return 0;
  10. }
Success #stdin #stdout 0s 3340KB
stdin
Standard input is empty
stdout
698521279
999997000002999999