QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#774359 | #9579. 比分幻术 | shmilyc | WA | 1ms | 3628kb | C++23 | 422b | 2024-11-23 13:08:09 | 2024-11-23 13:08:10 |
Judging History
answer
#include<bits/stdc++.h>
using namespace std;
#define endl '\n'
const int N=1e5+5;
#define int long long
#define mp make_pair
void solve()
{
int a,b;
scanf("%d-%d",&a,&b);
cout<<max(a,b)<<'-'<<min(a,b)<<endl;
return;
}
signed main()
{
ios::sync_with_stdio(0);
cin.tie(0);cout.tie(0);
int T;
// cin>>T;
T=1;
while(T--)
solve();
return 0;
}
详细
Test #1:
score: 0
Wrong Answer
time: 1ms
memory: 3628kb
input:
2-3
output:
140733193388035-94265942212610
result:
wrong answer 1st lines differ - expected: '3-2', found: '140733193388035-94265942212610'