QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#302800 | #7796. Axis-Aligned Area | PhantomThreshold# | Compile Error | / | / | C++20 | 265b | 2024-01-11 13:23:41 | 2024-01-11 13:23:42 |
Judging History
answer
#include<bits/stdc++.h>
using namespace std;
int main()
{
int a[11];
long long ans=0;
for(int i=1;i<=4;i++)
cin>>a[i];
do
{
ans=max(ans,1ll*min(a[1],a[2])*min(a[3],a[4]));
}
while(next_permutation(a+1,a+5c));
cout<<ans<<endl;
return 0;
}
Details
answer.code: In function ‘int main()’: answer.code:13:38: error: unable to find numeric literal operator ‘operator""c’ 13 | while(next_permutation(a+1,a+5c)); | ^~ answer.code:13:38: note: use ‘-fext-numeric-literals’ to enable more built-in suffixes