编号 题目 状态 分数 总时间 内存 代码 / 答案文件 提交者 提交时间
#2178 #1001. 中心字母 Accepted 100 57 ms 432 K C++ 17 / 390 B buerzhu 2023-11-17 0:11:32
显示原始代码
#include <bits/stdc++.h>
using namespace std;
const int N = 4e5 + 10;
#define int long long

typedef long long LL;
typedef pair<int, int> PII;

int n, m, k;
int a[N], f[N];

void solve() {
    string s;
    cin >> s;
    int n = s.size();
    cout << (char)(s[n / 2]);
}
signed main() {
    cin.tie(0);
    cout.tie(0);
    ios::sync_with_stdio(0);
    int t = 1;

    // cin>>t;
    while (t--) solve();
}
子任务 #1
Accepted
得分:100
测试点 #1
Accepted
得分:100
用时:5 ms
内存:380 KiB

输入文件(00_sample_01.in

atcoder

答案文件(00_sample_01.out

o

用户输出

o

系统信息

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

输入文件(00_sample_02.in

a

答案文件(00_sample_02.out

a

用户输出

a

系统信息

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

输入文件(01_test_01.in

gxgpuamkxkszhkbpphykinkezplvfjaqmop

答案文件(01_test_01.out

h

用户输出

h

系统信息

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

输入文件(01_test_02.in

dotkrjzrimlvumuarenexcfyceb

答案文件(01_test_02.out

m

用户输出

m

系统信息

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

输入文件(01_test_03.in

urgvjyospdhvuyfvtvnrdyluacvrayggwnpnzijdifyervjao

答案文件(01_test_03.out

a

用户输出

a

系统信息

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

输入文件(01_test_04.in

lcgxovldqfzaorahdigyojknviaztpcmxlv

答案文件(01_test_04.out

i

用户输出

i

系统信息

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

输入文件(01_test_05.in

vafhjphvshyfiqqtqbxjjmqngqjhwkcexecmdkmzakbzrkjwqdyux

答案文件(01_test_05.out

j

用户输出

j

系统信息

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

输入文件(01_test_06.in

voossjoatryxm

答案文件(01_test_06.out

o

用户输出

o

系统信息

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

输入文件(01_test_07.in

wxbwexnagmaygzyfnzpqftobtaotuayxmwvzllkujidhukzwzcltgqngguftuahalwvjwqncksizgzajkhyjujlkseszafzjmdt

答案文件(01_test_07.out

c

用户输出

c

系统信息

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

输入文件(01_test_08.in

byldhylcgkyngvmhneqyjdugofklitxaoykfoqkzsznjyarkuprerivhubpehxmoydakklbdnfhfxamotubelzvbozjaraefmlo

答案文件(01_test_08.out

p

用户输出

p

系统信息

Exited with return code 0