fork download
  1. #include <iostream>
  2. using namespace std;
  3. int main() {
  4. long long a, b, c, d ,f;
  5. cin >> a >> b >> c >> d;
  6. a = a % 100;
  7. b = b % 100;
  8. c = c% 100;
  9. d = d% 100;
  10. f = a * b * c * d;
  11. f = f % 100;
  12. if(f<=9)cout<<"0"<<f;
  13. else cout<<f;
  14.  
  15. return 0;
  16. }
Success #stdin #stdout 0.01s 5288KB
stdin
Standard input is empty
stdout
Standard output is empty