fork download
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6. long long a[3];
  7. scanf("%lld %lld %lld",&a[0],&a[1],&a[2]);
  8. if((a[0]%2==0)||(a[0]%2==0)||(a[0]%2==0))
  9. {
  10. cout<<0<<"\n";
  11. return 0;
  12. }
  13. sort(a,a+3);
  14. long long sum1=a[0]*a[1];
  15. printf("%lld\n",sum1);
  16. }
Success #stdin #stdout 0s 3472KB
stdin
3 3 3
stdout
9