fork download
  1. #include <iostream>
  2. #include <bits/stdc++.h>
  3. #define ll long long
  4. using namespace std;
  5.  
  6. int main() {
  7. ios_base::sync_with_stdio(false);
  8. cin.tie(NULL);
  9.  
  10. #ifndef ONLINE_JUDGE
  11. freopen("input.txt", "r", stdin);
  12. freopen("output.txt", "w", stdout);
  13. #endif
  14.  
  15. int a, b,c,d;
  16. cin >> a >> b >> c >> d;
  17. ll product=(a*b*c*d)%100;
  18. cout << product ;
  19.  
  20. return 0;
  21. }
  22.  
Success #stdin #stdout 0.01s 5288KB
stdin
5 7 2 4
stdout
80