编号 题目 状态 分数 总时间 内存 代码 / 答案文件 提交者 提交时间
#2659 #1001. 中心字母 Accepted 100 56 ms 388 K C++ 17 (Clang) / 466 B TosakaUCW 2023-11-20 13:31:05
显示原始代码
#include <stdio.h>
#include <algorithm>
#include <iostream>
#include <string>
int read(int x = 0, int f = 0, char ch = getchar()) {
    while (ch < 48 or 57 < ch) f = ch == 45, ch = getchar();
    while (48 <= ch and ch <= 57) x = x * 10 + ch - 48, ch = getchar();
    return f ? -x : x;
}
void solve() {
    std::string s;
    std::cin >> s;
    std::cout << s[s.length() / 2];
}
signed main() {
    for (int T = 1; T--; solve())
        ;
    return 0;
}
子任务 #1
Accepted
得分:100
测试点 #1
Accepted
得分:100
用时:6 ms
内存:384 KiB

输入文件(00_sample_01.in

atcoder

答案文件(00_sample_01.out

o

用户输出

o

系统信息

Exited with return code 0
测试点 #2
Accepted
得分:100
用时:4 ms
内存:348 KiB

输入文件(00_sample_02.in

a

答案文件(00_sample_02.out

a

用户输出

a

系统信息

Exited with return code 0
测试点 #3
Accepted
得分:100
用时:6 ms
内存:268 KiB

输入文件(01_test_01.in

gxgpuamkxkszhkbpphykinkezplvfjaqmop

答案文件(01_test_01.out

h

用户输出

h

系统信息

Exited with return code 0
测试点 #4
Accepted
得分:100
用时:7 ms
内存:384 KiB

输入文件(01_test_02.in

dotkrjzrimlvumuarenexcfyceb

答案文件(01_test_02.out

m

用户输出

m

系统信息

Exited with return code 0
测试点 #5
Accepted
得分:100
用时:6 ms
内存:268 KiB

输入文件(01_test_03.in

urgvjyospdhvuyfvtvnrdyluacvrayggwnpnzijdifyervjao

答案文件(01_test_03.out

a

用户输出

a

系统信息

Exited with return code 0
测试点 #6
Accepted
得分:100
用时:6 ms
内存:384 KiB

输入文件(01_test_04.in

lcgxovldqfzaorahdigyojknviaztpcmxlv

答案文件(01_test_04.out

i

用户输出

i

系统信息

Exited with return code 0
测试点 #7
Accepted
得分:100
用时:5 ms
内存:300 KiB

输入文件(01_test_05.in

vafhjphvshyfiqqtqbxjjmqngqjhwkcexecmdkmzakbzrkjwqdyux

答案文件(01_test_05.out

j

用户输出

j

系统信息

Exited with return code 0
测试点 #8
Accepted
得分:100
用时:6 ms
内存:280 KiB

输入文件(01_test_06.in

voossjoatryxm

答案文件(01_test_06.out

o

用户输出

o

系统信息

Exited with return code 0
测试点 #9
Accepted
得分:100
用时:4 ms
内存:388 KiB

输入文件(01_test_07.in

wxbwexnagmaygzyfnzpqftobtaotuayxmwvzllkujidhukzwzcltgqngguftuahalwvjwqncksizgzajkhyjujlkseszafzjmdt

答案文件(01_test_07.out

c

用户输出

c

系统信息

Exited with return code 0
测试点 #10
Accepted
得分:100
用时:6 ms
内存:340 KiB

输入文件(01_test_08.in

byldhylcgkyngvmhneqyjdugofklitxaoykfoqkzsznjyarkuprerivhubpehxmoydakklbdnfhfxamotubelzvbozjaraefmlo

答案文件(01_test_08.out

p

用户输出

p

系统信息

Exited with return code 0