ENG
RUS
Timus 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
yahiatnt
How to read this data using C#
[2] // Problem
1601. AntiCAPS
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.
SKYDOS [Vladimir SU]
Re: How to read this data using C#
// Problem
1601. AntiCAPS
11 Jul 2010 20:50
string line;
while((line = Console.ReadLine())!=null){
//...code here...
}
VNXtreMe
Re: How to read this data using C#
// Problem
1601. AntiCAPS
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
© 2000–2025
Timus Online Judge Team
. All rights reserved.