ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1148. Building Towers

How many K's can be there
Posted by Georgi Tsankov 1 Apr 2002 17:43
>Each following line (except the last )contains an integer k. The
>last line contains number -1.

so how many lines are there in the input ?