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 1008. Image Encoding

If you CRASH in test 2...
Posted by vetas 18 Feb 2010 19:04
In this task can be specified 2 shows at the input

if first string containts 2 Number, input -> 2'st view, else 1'st view.

for example:
string[] d = Console.ReadLine().Trim().Split(' ');
if (d.Length == 1)
{ Algo 1=>2
}
else
{
  Algo 2=>1
}
Re: If you CRASH in test 2...
Posted by unlucky [Vologda SPU] 18 Feb 2010 20:25
It's obvious :)
Re: If you CRASH in test 2...
Posted by phars 9 Oct 2010 03:01
can't understand
Re: If you CRASH in test 2...
Posted by LampLight 23 Oct 2010 09:32
thanks, you are right
Re: If you CRASH in test 2...
Posted by MOPDOBOPOT (USU) 20 Nov 2012 20:46
I had the same problem but found funny bug :)

read(...) gets Crash #2
readln(...) gets Accepted