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 1006. Square Frames

To admins and everyone else: what's the difference?!
Posted by Yaroslavtsev Grigory 14 Jun 2004 17:11
I use Pascal and my program got WA on test 1.
I just changed '-' to #196 and so on with other symbols and got AC.
Why? What is the difference?
Re: To admins and everyone else: what's the difference?!
Posted by Artom Melentiev 7 Oct 2004 22:13
Char '-' in different codepages is different.
#196='-' in cp866(dos) codepage.
Maybe you use Delphi and cp1251(win) codepage?
I just use TP 7.0, so I think there is no difference.
Posted by Yaroslavtsev Grigory 10 Oct 2004 01:38