MCPcopy Create free account
hub / github.com/E869120/math-algorithm-book / main

Function main

codes/cpp/Code_5_05_1.cpp:5–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3using namespace std;
4
5int main() {
6 long long a, b, c, d;
7 cin >> a >> b >> c >> d;
8 cout << max({ a * c, a * d, b * c, b * d }) << endl;
9 return 0;
10}

Callers

nothing calls this directly

Calls 1

maxFunction · 0.50

Tested by

no test coverage detected