QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#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;
}
Details
Tip: Click on the bar to expand more detailed information
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'