QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#712833 | #9579. 比分幻术 | shift# | WA | 0ms | 3536kb | C++20 | 217b | 2024-11-05 17:13:09 | 2024-11-05 17:13:10 |
Judging History
answer
#include <bits/stdc++.h>
using i64 = long long;
int main() {
std::string s;
std::cin >> s;
if(s[0] < s[2]) {
std::swap(s[0], s[2]);
}
std::cout << s << '\n';
return 0;
}
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 0ms
memory: 3512kb
input:
2-3
output:
3-2
result:
ok single line: '3-2'
Test #2:
score: -100
Wrong Answer
time: 0ms
memory: 3536kb
input:
8-1
output:
8-1
result:
wrong answer 1st lines differ - expected: '1-8', found: '8-1'