Submission #3442982
Source Code Expand
#include <algorithm> #include <iostream> using namespace std; #define pi 3.14159265 int main() { long long ans = 0, i = 0, j = 0, k = 0, l = 0; long long a, b, c; cin >> a >> b >> c; if (a % 2 == 0 || b % 2 == 0 || c % 2 == 0) ans = 0; else ans=ans= min(a*b,b*c,c*a);; cout << ans << endl; return 0; }
Submission Info
Submission Time | |
---|---|
Task | A - Divide a Cuboid |
User | TriangleJumper |
Language | C++14 (GCC 5.4.1) |
Score | 0 |
Code Size | 335 Byte |
Status | CE |
Compile Error
In file included from /usr/include/c++/5/algorithm:61:0, from ./Main.cpp:1: /usr/include/c++/5/bits/stl_algobase.h: In instantiation of ‘constexpr const _Tp& std::min(const _Tp&, const _Tp&, _Compare) [with _Tp = long long int; _Compare = long long int]’: ./Main.cpp:16:27: required from here /usr/include/c++/5/bits/stl_algobase.h:246:17: error: ‘__comp’ cannot be used as a function if (__comp(__b, __a)) ^