Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
4967 A班-许锘林 讨厌的小数点 C++ 解答错误 0 1 MS 256 KB 271 2025-01-19 15:08:00

Tests(0/1):


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


测评信息: