Submission #2559512


Source Code Expand

#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
using namespace std;
#define FOR(i,a,b) for(int (i)=(a);(i)<=(b);(i)++)
#define rep(i,n) FOR(i,0,n-1)
#define int long long

int s[200005];

signed main(){
	
	int a,b,c;cin>>a>>b>>c;
	
	if(a&0 || b&0 || c&0) cout <, 0 <<endl;
	else
	{
		int ans = min(a*b,b*c);
		ans = min(ans,c*a);
		cout << ans << endl;
	}
}

//cout << ans << endl;

Submission Info

Submission Time
Task A - Divide a Cuboid
User sawakee
Language C++14 (GCC 5.4.1)
Score 0
Code Size 435 Byte
Status CE

Compile Error

./Main.cpp: In function ‘int main()’:
./Main.cpp:16:30: error: expected primary-expression before ‘,’ token
  if(a&0 || b&0 || c&0) cout <, 0 <<endl;
                              ^
./Main.cpp:16:36: error: invalid operands of types ‘int’ and ‘<unresolved overloaded function type>’ to binary ‘operator<<’
  if(a&0 || b&0 || c&0) cout <, 0 <<endl;
                                    ^