|
|
back to boardIf 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... 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... thanks, you are right Re: If you CRASH in test 2... I had the same problem but found funny bug :) read(...) gets Crash #2 readln(...) gets Accepted |
|
|