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

2066 問題 C: [STL訓(xùn)練]第36屆ACM亞洲區(qū)大連站網(wǎng)絡(luò)賽The kth great number

時間限制: 1s 內(nèi)存限制: 128MB 提交: 671 解決: 218
題目描述
Xiao Ming and Xiao Bao are playing a simple Numbers game. In a round   Xiao Ming can choose to write down a number, or ask Xiao Bao what the kth great number is. Because the number written by Xiao Ming is  too much, Xiao Bao is feeling giddy. Now, try to help Xiao Bao.
輸入
There are several test cases. For each test case, the first line of input contains two positive integer n, k. Then n lines follow. If Xiao Ming choose to write down a number, there will be an " I" followed by a number that Xiao Ming will write down. If Xiao Ming choose to ask Xiao Bao, there will be a "Q", then you need to output  the kth great number. 

輸出
The output consists of one integer representing the largest number of  islands that all lie on one line.

樣例輸入
8 3
I 1
I 2
I 3
Q
I 5
Q
I 4
Q
樣例輸出
1
2
3
提示
零基礎(chǔ)同學(xué)可以先學(xué)習(xí)視頻課程,包含C/C++、Python、百練、藍(lán)橋杯輔導(dǎo)、算法數(shù)據(jù)結(jié)構(gòu)等課程,提供視頻講解以及配套習(xí)題,還有老師答疑,點(diǎn)擊這里了解課程詳情
#include<stdio.h>
int main()
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

比賽公告

本場比賽為藍(lán)橋杯訓(xùn)練賽,比賽時長為2個半小時,如果覺得題目質(zhì)量不錯歡迎來AK~