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 1601. AntiCAPS

How to read this data using C#
Posted by yahiatnt 30 Oct 2008 20:14
I have no idea how to read this input data, because i don't know when to stop reading...any help please.
Re: How to read this data using C#
Posted by SKYDOS [Vladimir SU] 11 Jul 2010 20:50
string line;
while((line = Console.ReadLine())!=null){
   //...code here...
}
Re: How to read this data using C#
Posted by VNXtreMe 27 Dec 2011 11:03
A simple approach is using-
String input = Console.In.ReadToEnd(); //Press Ctrl+Z and hit enter to mark the end of input

Refer to http://acm.timus.ru/help.aspx?topic=csharp