用户输出
len = 21
13 49 51 52 53 97 101 105 108 110 110 110 111 111 112 115 116 116 65 67 68
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
编号 | 题目 | 状态 | 分数 | 总时间 | 内存 | 代码 / 答案文件 | 提交者 | 提交时间 |
---|---|---|---|---|---|---|---|---|
#22417 | #1120. Rhodoks的排序 | Wrong Answer | 0 | 122 ms | 444 K | C++ 11 / 464 B | Rhodoks | 2020-02-12 20:55:05 |
#include <iostream>
#include <cstdio>
#include <cstring>
#include <algorithm>
using namespace std;
const int N = 1e5 + 5;
bool cmp(char a, char b) {
if (a <= 90 && a >= 65 && b >= 97 && b <= 122)
return a > b;
else
return a < b;
}
char a[N];
int main() {
gets(a);
int len = strlen(a);
cout << "len = " << len << endl;
sort(a, a + len, cmp);
for (int i = 0; i < len; i++) printf("%d ", a[i]);
return 0;
}
用户输出
len = 21
13 49 51 52 53 97 101 105 108 110 110 110 111 111 112 115 116 116 65 67 68
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
k5OivzqJri9B3V9XE3V0t1GahkPrQtRZN73DRWM1N4kGg57EJKPY4qHydK1eWES6U0s1f27ZF5Vpj1839TEAq8a5Hy52gkUkZw10
<2 bytes omitted>
0001111112233334455555677788999aadefgghiijkkkkkpqqqrrsttvwyyzABDEEEEFGGHHJJKKMNNOPPQRRSTUUVVVWWXYZZZ
<2 bytes omitted>
用户输出
len = 101
13 48 48 48 49 49 49 49 49 49 50 50 51 51 51 51 52 52 53 53 53 53 53 54 55 55 55 56 56 57 57 57 66 69 83 85 86 87 97 9
<213 bytes omitted>
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
m06E45ZJk594cbqyTKZ042jE71Z97Qk8sDls5fsKfp9rDE468BjH3Vry36hyMFCtjsc2x8b26u2hz1f10ZRkx8ew0vFC6ZiW0RKw
<2 bytes omitted>
00000111222233444455566666778888999bbccefffhhijjjkkklmpqrrsssstuvwwxxyyyzBCCDDEEEFFHJKKKMQRRTVWZZZZZ
<2 bytes omitted>
用户输出
len = 101
13 48 48 48 48 48 49 49 49 50 50 50 50 51 51 52 52 52 52 53 53 53 54 54 54 54 54 55 55 56 56 56 56 57 57 57 101 102 10
<219 bytes omitted>
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
tUWX8j6Z0Tx85oC3l7nl00SnGgIcmgJOkTnONWIyuSu30QB6pIKu0R4n7L4X9QOL87xAp9LTymn62yxZ2OFJ146nLL1O9hg0a316
<2 bytes omitted>
00000011122333444566666777888999acggghjkllmmnnnnnnopptuuuxxxyyyABCFGIIIJJKLLLLLNOOOOOQQRSSTTTUWWXXZZ
<2 bytes omitted>
用户输出
len = 101
13 48 48 48 48 48 48 49 49 49 50 50 51 51 51 52 52 52 53 54 54 54 54 54 55 55 55 56 56 56 57 57 57 97 65 103 109 66 73
<214 bytes omitted>
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
fRHJC8kKNZ17WgriI7nS9seLHwZTbeweo5LraEMRR3H29wKPx7RWH042849gH2y86Df7Moi80Wop8OX8OScx5O2rGZ5C2039XYX4
<99902 bytes omitted>
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
<99902 bytes omitted>
用户输出
len = 100001
13 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 4
<329558 bytes omitted>
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
cKQa8erMn8tK5tKH8qt50P6zbghI71M3t1OjPoyP3LCv9F4I1z5o7G0Cw4KZq8wT9l8VEWHQ7K2OyG7ZYsy9VWZ9yHU6j32q5WLy
<99902 bytes omitted>
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
<99902 bytes omitted>
用户输出
len = 100001
13 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 4
<329468 bytes omitted>
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
2v05yDLdjj1gWJh1374gI5hq1gLa2RI3Fc02Yk32buB5K4Zq9M8toe7C3F098Eq30K52UDdK90XW1WSOCe89oWouzW40206V45ZK
<99902 bytes omitted>
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
<99902 bytes omitted>
用户输出
len = 100001
13 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 4
<329655 bytes omitted>
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
fR9l22CZ615FmE0c3b06817wzjUjL5s4ps6W3eK1jGsxR4VpSGbpw0R2b7V3Ia7XgulbjEJQHe3gMm4Z561L8Hh14tM06MvTACyV
<99902 bytes omitted>
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
<99902 bytes omitted>
用户输出
len = 100001
13 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 4
<329307 bytes omitted>
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
c6Ami1W2o6c5SLJ5Ndw0308Y3ay2V4Wl25087R3mJ9hzc500Y4d9JrNmO7AAcnl89W21k4M2T6rrQS7aFot10U1z0VeB3C04t21t
<99902 bytes omitted>
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
<99902 bytes omitted>
用户输出
len = 100001
13 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 4
<329309 bytes omitted>
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
3KkXhF8XhpfNIf04cL5s1ihFRr6yT2WFU4ydvxC3PYcRvh6854Kar2KfNe48Q6T6R7i8fK07xJ0F5eGMJj58fSGU3Uun94ZCc7p2
<99902 bytes omitted>
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
<99902 bytes omitted>
用户输出
len = 100001
13 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 4
<329441 bytes omitted>
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0