用户输出
(13) 1(49) 3(51) 4(52) 5(53) a(97) e(101) i(105) l(108) n(110) n(110) n(110) o(111) o(111) p(112) s(115) t(116) t(116) A(65) C(
<21 bytes omitted>
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
编号 | 题目 | 状态 | 分数 | 总时间 | 内存 | 代码 / 答案文件 | 提交者 | 提交时间 |
---|---|---|---|---|---|---|---|---|
#22415 | #1120. Rhodoks的排序 | Wrong Answer | 0 | 6251 ms | 496 K | C++ 11 / 571 B | JM233333 | 2020-02-12 20:53:11 |
#include <iostream>
#include <cstdio>
#include <cstring>
#include <algorithm>
using namespace std;
const int N = 1e5 + 5;
char a[N], b[N], c[N];
int i, j;
int main() {
gets(c);
for (int k = 0; k < strlen(c); k++) {
if (c[k] >= 65 && c[k] <= 90)
a[i++] = c[k];
else
b[j++] = c[k];
}
sort(a, a + i); //大写字母
sort(b, b + j); //小写和数字
strcat(b, a);
for (int k = 0; k <= i + j + 1; k++) cout << b[k] << '(' << (int)b[k] << ')' << ' ';
cout << endl;
return 0;
}
用户输出
(13) 1(49) 3(51) 4(52) 5(53) a(97) e(101) i(105) l(108) n(110) n(110) n(110) o(111) o(111) p(112) s(115) t(116) t(116) A(65) C(
<21 bytes omitted>
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
k5OivzqJri9B3V9XE3V0t1GahkPrQtRZN73DRWM1N4kGg57EJKPY4qHydK1eWES6U0s1f27ZF5Vpj1839TEAq8a5Hy52gkUkZw10
<2 bytes omitted>
0001111112233334455555677788999aadefgghiijkkkkkpqqqrrsttvwyyzABDEEEEFGGHHJJKKMNNOPPQRRSTUUVVVWWXYZZZ
<2 bytes omitted>
用户输出
(13) 0(48) 0(48) 0(48) 1(49) 1(49) 1(49) 1(49) 1(49) 1(49) 2(50) 2(50) 3(51) 3(51) 3(51) 3(51) 4(52) 4(52) 5(53) 5(53) 5(53) 5(
<517 bytes omitted>
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
m06E45ZJk594cbqyTKZ042jE71Z97Qk8sDls5fsKfp9rDE468BjH3Vry36hyMFCtjsc2x8b26u2hz1f10ZRkx8ew0vFC6ZiW0RKw
<2 bytes omitted>
00000111222233444455566666778888999bbccefffhhijjjkkklmpqrrsssstuvwwxxyyyzBCCDDEEEFFHJKKKMQRRTVWZZZZZ
<2 bytes omitted>
用户输出
(13) 0(48) 0(48) 0(48) 0(48) 0(48) 1(49) 1(49) 1(49) 2(50) 2(50) 2(50) 2(50) 3(51) 3(51) 4(52) 4(52) 4(52) 4(52) 5(53) 5(53) 5(
<523 bytes omitted>
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
tUWX8j6Z0Tx85oC3l7nl00SnGgIcmgJOkTnONWIyuSu30QB6pIKu0R4n7L4X9QOL87xAp9LTymn62yxZ2OFJ146nLL1O9hg0a316
<2 bytes omitted>
00000011122333444566666777888999acggghjkllmmnnnnnnopptuuuxxxyyyABCFGIIIJJKLLLLLNOOOOOQQRSSTTTUWWXXZZ
<2 bytes omitted>
用户输出
(13) 0(48) 0(48) 0(48) 0(48) 0(48) 0(48) 1(49) 1(49) 1(49) 2(50) 2(50) 3(51) 3(51) 3(51) 4(52) 4(52) 4(52) 5(53) 6(54) 6(54) 6(
<518 bytes omitted>
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
fRHJC8kKNZ17WgriI7nS9seLHwZTbeweo5LraEMRR3H29wKPx7RWH042849gH2y86Df7Moi80Wop8OX8OScx5O2rGZ5C2039XYX4
<99902 bytes omitted>
cKQa8erMn8tK5tKH8qt50P6zbghI71M3t1OjPoyP3LCv9F4I1z5o7G0Cw4KZq8wT9l8VEWHQ7K2OyG7ZYsy9VWZ9yHU6j32q5WLy
<99902 bytes omitted>
2v05yDLdjj1gWJh1374gI5hq1gLa2RI3Fc02Yk32buB5K4Zq9M8toe7C3F098Eq30K52UDdK90XW1WSOCe89oWouzW40206V45ZK
<99902 bytes omitted>
fR9l22CZ615FmE0c3b06817wzjUjL5s4ps6W3eK1jGsxR4VpSGbpw0R2b7V3Ia7XgulbjEJQHe3gMm4Z561L8Hh14tM06MvTACyV
<99902 bytes omitted>
c6Ami1W2o6c5SLJ5Ndw0308Y3ay2V4Wl25087R3mJ9hzc500Y4d9JrNmO7AAcnl89W21k4M2T6rrQS7aFot10U1z0VeB3C04t21t
<99902 bytes omitted>