fork download
  1. #include <bits/stdc++.h>
  2. #include <cmath>
  3. using namespace std;
  4. #define ll long long
  5.  
  6.  
  7. int main()
  8. {
  9. ios_base::sync_with_stdio(false), cin.tie(0), cout.tie(0);
  10.  
  11.  
  12. ll a, b, c, d;
  13. cin >> a >> b >> c >> d;
  14. ll multi = a * b * c * d;
  15. cout << multi % 100;
  16. }
Success #stdin #stdout 0s 5292KB
stdin
5 7 4 2
stdout
80