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 1189. Pairs of Integers

Compilation Error
Posted by Trần Quang Chung 8 Jun 2006 06:32
In BP7, I can run e.g test. But submit "Compilation Error".
Why?. My code:
mail : chungtq_2712@yahoo.com.vn

[code deleted]

Edited by moderator 08.06.2006 08:23
Rename your "Result" variable (+)
Posted by Dmitry 'Diman_YES' Kovalioff 8 Jun 2006 08:22
In FPC and Delphi "Result" is a standard variable for function result. Sure within function "Find" a variable "Result" has the same type as function, i.e. "bb", but not "li" despite the fact that there is a global variable "ReSult" of "li" type.

P.S. And I have already told you to see FAQ for a guide how to investigate a reason of CE: http://acm.timus.ru/faq.aspx