QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#722436#9579. 比分幻术oqmsacWA 0ms3580kbC++23523b2024-11-07 19:02:502024-11-07 19:02:51

Judging History

This is the latest submission verdict.

  • [2024-11-07 19:02:51]
  • Judged
  • Verdict: WA
  • Time: 0ms
  • Memory: 3580kb
  • [2024-11-07 19:02:50]
  • Submitted

answer

#include<bits/stdc++.h>
#define ll  long long
#define ull unsigned long long
#define ld long double
#define pii pair<ll,ll>
using namespace std;
//#pragma GCC optimize(3)
const ll inf =(1ll<<50);
#define N 1000005
#define M 998244353
#define M1 1000000007
#define M2 1000000009
char ss[5000010];
int main()
{
   ios::sync_with_stdio(0);
   cin.tie(0);
   cout.tie(0);
    ll a,b;
    cin>>a>>b;
    b=-b;
    if(a<b) swap(a,b);
    cout<<a<<'-'<<b<<endl;

    return 0;
}
//1 5
//32 32 15 15 15

详细

Test #1:

score: 100
Accepted
time: 0ms
memory: 3576kb

input:

2-3

output:

3-2

result:

ok single line: '3-2'

Test #2:

score: -100
Wrong Answer
time: 0ms
memory: 3580kb

input:

8-1

output:

8-1

result:

wrong answer 1st lines differ - expected: '1-8', found: '8-1'