#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <string>
#include <vector>
#include <queue>
#include <algorithm>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
int t1 = a + b + c;
int t2 = a * b * c;
int t3 = (a+b)*c;
int t4 = a*(b+c);
cout << max(max(t1, t2), max(t3, t4)) << endl;
return 0;
}
07-12
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交