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 1230. Introspective Program

C# - WA1 - Interpreter shows the same string in output, though
Posted by Kergan 14 Nov 2022 18:13
I don't use ";" in the end.
I use Console.Write() and not Console.WriteLine().
According to the interpreter my PIBAS programm is correct.
Still I've got WA#1.

I'd like to have some hints from people with C# AC.
Re: C# - WA1 - Interpreter shows the same string in output, though
Posted by Kergan 15 Nov 2022 02:55
Disregard that. I don't understand how I checked my program a dozen times and didn't see the obviously wrong length of last substring!

Funny thing about the interpreter provided by DR. Zhihua Lai: it does not react to substring length which is higher than the length of an actual string. That's why my PIBAS programm worked well in interpreter but gave me WA1 here.