QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#747805#9579. 比分幻术hanmxAC ✓0ms3596kbC++17282b2024-11-14 18:19:472024-11-14 18:19:48

Judging History

This is the latest submission verdict.

  • [2024-11-14 18:19:48]
  • Judged
  • Verdict: AC
  • Time: 0ms
  • Memory: 3596kb
  • [2024-11-14 18:19:47]
  • Submitted

answer

#include<bits/stdc++.h>
using namespace std;
using ll=long long;
using i64=long long;
using u64=unsigned long long;
int main(){
    ios::sync_with_stdio(false);
    cin.tie(nullptr);
    string s;
    cin>>s;
    reverse(s.begin(),s.end());
    cout<<s;
    return 0;
}

这程序好像有点Bug,我给组数据试试?

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2-3

output:

3-2

result:

ok single line: '3-2'

Test #2:

score: 0
Accepted
time: 0ms
memory: 3500kb

input:

8-1

output:

1-8

result:

ok single line: '1-8'

Test #3:

score: 0
Accepted
time: 0ms
memory: 3572kb

input:

6-6

output:

6-6

result:

ok single line: '6-6'

Test #4:

score: 0
Accepted
time: 0ms
memory: 3588kb

input:

0-0

output:

0-0

result:

ok single line: '0-0'

Test #5:

score: 0
Accepted
time: 0ms
memory: 3492kb

input:

9-0

output:

0-9

result:

ok single line: '0-9'

Test #6:

score: 0
Accepted
time: 0ms
memory: 3496kb

input:

3-7

output:

7-3

result:

ok single line: '7-3'

Test #7:

score: 0
Accepted
time: 0ms
memory: 3504kb

input:

5-9

output:

9-5

result:

ok single line: '9-5'

Test #8:

score: 0
Accepted
time: 0ms
memory: 3596kb

input:

0-4

output:

4-0

result:

ok single line: '4-0'

Test #9:

score: 0
Accepted
time: 0ms
memory: 3564kb

input:

9-9

output:

9-9

result:

ok single line: '9-9'

Test #10:

score: 0
Accepted
time: 0ms
memory: 3504kb

input:

0-9

output:

9-0

result:

ok single line: '9-0'

Extra Test:

score: 0
Extra Test Passed