QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#774359#9579. 比分幻术shmilycWA 1ms3628kbC++23422b2024-11-23 13:08:092024-11-23 13:08:10

Judging History

This is the latest submission verdict.

  • [2024-11-23 13:08:10]
  • Judged
  • Verdict: WA
  • Time: 1ms
  • Memory: 3628kb
  • [2024-11-23 13:08:09]
  • Submitted

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'