Problems In Taking Input [ Help Needed ]

Правка en3, от ssavi, 2016-02-10 06:24:34

Hi Experts of CF .

I am in a Fix. Hope someone of You can help me out . Here is my Problem :

Sometimes we can see there are several Problems whose Input Data co-ordinated with a Test Case & Several Tests under it. But It does not mention How many Data we have to take as input for a several Test Case . It just mentioned there that There would be a Blank line between Two Consecutive Test Cases . Even if There will be a Blank line between The input Number of Test Case & the First Test Case .As well as there will be a Blank Line between the Last & Second Last Case .But there is No Terminating Empty line after the Last test Case . For Example

3

1
2
3

1
2
3

1
2
3

Now My Question How Can I take this Type of Inputs maintaining The Case Blocks .

Related Problem : https://uva.onlinejudge.org/external/4/497.pdf

Thanks in Advance . Sorry For My Bad English .

Теги input

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en3 Английский ssavi 2016-02-10 06:24:34 106
en2 Английский ssavi 2016-02-10 05:55:52 46
en1 Английский ssavi 2016-02-10 05:53:17 958 Initial revision (published)