两个吃奶一个添下面视频_人妻第一页香蕉网_欧美xxxx少妇_妺妺窝人体色www婷婷

Dotcpp  >  編程題庫  >  [STL訓(xùn)練]Mispelling4
題目 2070:

[STL訓(xùn)練]Mispelling4

時(shí)間限制: 2s 內(nèi)存限制: 192MB 提交: 371 解決: 219

題目描述

Misspelling is an art form that students seem to excel at. Write a program that removes the nth character from an input string.

輸入格式

The first line of input contains a single integer N, (1 ≤ N ≤ 1000)which is the number of datasets that follow. Each dataset consists of  a single line of input containing M, a space, and a single word made up of uppercase letters only. M will be less than or equal to the length of the word. The length of the word is guaranteed to be less than or equal to 80.

輸出格式

For each dataset, you should generate one line of output with the following values: The dataset number as a decimal integer (start counting at one), a space, and the misspelled word. The misspelled  word is the input word with the indicated character deleted.

樣例輸入

4 
4 MISSPELL 
1 PROGRAMMING 
7 CONTEST 
3 BALLOON

樣例輸出

1 MISPELL 
2 ROGRAMMING 
3 CONTES 
4 BALOON

提示

零基礎(chǔ)同學(xué)可以先學(xué)習(xí)視頻課程,包含C/C++、Python、百練、藍(lán)橋杯輔導(dǎo)、算法數(shù)據(jù)結(jié)構(gòu)等課程,提供視頻講解以及配套習(xí)題,還有老師答疑,點(diǎn)擊這里了解課程詳情
標(biāo)簽

通過率

統(tǒng) 計(jì)

解題報(bào)告