Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
10970 D班-罗炜翰 讨厌的小数点 C++ 解答错误 0 1 MS 260 KB 196 2025-05-25 17:16:34

Tests(0/1):


#include<bits/stdc++.h> using namespace std; int main() { int a,n; string b; cin>>n; for(int i = 1;i<=n;i++) { cin>>a>>b; a+=b.find('.'); cout<<b[a]<<endl; } return 0; }


测评信息: