Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|---|
10970 | D班-罗炜翰 | 讨厌的小数点 | C++ | Wrong Answer | 0 | 1 MS | 260 KB | 196 | 2025-05-25 17:16:34 |
#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; }