1968:Misspelling
生活随笔
收集整理的這篇文章主要介紹了
1968:Misspelling
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
代碼描述 已通過平臺ac
#include<stdio.h>
#include<string.h>
int main()
{
int n, m, i, l, count=1;
char a[81];
scanf("%d", &n);
while(n–)
{
scanf("%d %s", &m, a);
l = strlen(a);
printf("%d “, count);
count++;
for(i=0; i<l; i++)
{
if(i != m - 1)
printf(”%c", a[i]);
}
printf("\n");
}
return 0;
}
總結
以上是生活随笔為你收集整理的1968:Misspelling的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 文档宽高和窗口事件
- 下一篇: hadoop2.x学习01