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 1398. Bishop and Pawn

Show all messages Hide all messages

Free Pascal sucks again (+) Dmitry 'Diman_YES' Kovalioff 1 Jan 2007 17:40
Such code gets CE:

bx:=ord(LowerCase(ch)[1])-96;

You should use explicit typecast like that:

bx:=ord(LowerCase(string(ch))[1])-96;

Edited by author 01.01.2007 17:41
Re: Free Pascal sucks again (+) [SSAU_#617]snipious aka Pimenov Sergey Nikolaevich 2 Jan 2007 13:19
Download FreePascal 2.0.4 and have no problem... I did so!!!