QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#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;
}
詳細信息
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