Search found 14 matches

by ACoimbra
Fri Jul 11, 2003 4:06 pm
Forum: Volume 6 (600-699)
Topic: 621 - Secret Research
Replies: 45
Views: 19536

well

Well I think so, it's very stupid!!!!
by ACoimbra
Tue Jul 01, 2003 9:20 pm
Forum: Volume 103 (10300-10399)
Topic: 10324 - Zeros and Ones
Replies: 179
Views: 45532

hmn

Isn't that too much slow? :o
by ACoimbra
Sat Jun 14, 2003 12:53 pm
Forum: Volume 103 (10300-10399)
Topic: 10324 - Zeros and Ones
Replies: 179
Views: 45532

delphi mode

you can activate delphi mode, so you will have strings with dynamic size :roll:
by ACoimbra
Sat Jun 14, 2003 11:24 am
Forum: Pascal
Topic: FPC is very very slow!!!
Replies: 7
Views: 8978

C++ vs Pascal

Every language has good and bad things, it depends in what you do in C++ and what you do in Pascal, some stuff is faster in pascal, other in c++. I guess this is not a real question, just a commentary from a bad experience :)

If you prefer C++, code in it!!!
by ACoimbra
Sat Jun 14, 2003 11:13 am
Forum: Pascal
Topic: Difference between Double and Extended
Replies: 2
Views: 5768

extended

Well, try to debug your code with extended and with double. It may seem strange, but same times I got precision errors with extended. For example, same of the last digits were transformed in zeros, I don't know why, but this happened :o Also Check http://www.freepascal.org/docs-html/prog/progsu99.ht...
by ACoimbra
Wed May 28, 2003 10:35 pm
Forum: Pascal
Topic: Compile Time Error?
Replies: 1
Views: 5126

eheh

well, I can't find a mistake, although I would like to sugest that you try to avoid complicated stuff, try to make your code as simple as possible, it will be easier to debug and also you won't get so many problems.
by ACoimbra
Sat May 10, 2003 7:58 pm
Forum: Pascal
Topic: compare
Replies: 4
Views: 3741

thnx

Thnx for your help :D
by ACoimbra
Fri May 09, 2003 1:53 pm
Forum: Pascal
Topic: compare
Replies: 4
Views: 3741

like strings

Well, I heard that I can use something like string1>string2, but I'm not sure, in the acm.uva.es/p part of pascal known problems, they say that in gpc using unix the > would fail, but with freepascal there is any problem?
by ACoimbra
Sun Apr 27, 2003 4:03 pm
Forum: Volume 4 (400-499)
Topic: 482 - Permutation Arrays
Replies: 159
Views: 33037

old solution

Well, I solved that problem in Pascal quite long ago, I think I just used one or two arrays, and then just store the items in the correct order
by ACoimbra
Sun Apr 27, 2003 12:37 am
Forum: Pascal
Topic: Val function
Replies: 2
Views: 3188

Thnx

Well, it works, thanks a lot
by ACoimbra
Sat Apr 26, 2003 5:05 pm
Forum: Pascal
Topic: Val function
Replies: 2
Views: 3188

Val function

in http://www.freepascal.org/docs-html/ref ... 27400013.3 they say that val can convert hexadecimal numbers into integers, although my program doesn't work with that. Can anyone plz help me?
by ACoimbra
Mon Apr 14, 2003 11:58 am
Forum: Volume 104 (10400-10499)
Topic: 10404 - Bachet's Game
Replies: 10
Views: 4734

SeekEof is restricted

Hi, SeekEof is a restricted function in the judge system, but you can do what I did, [pascal] While Not EoLn(Input) Do Begin Read(Input, N, M); For I:=1 To M Do Read(Input, Data ); ReadLn(Input); Solve; WriteData; End; [/pascal] I know it seems stupid, but it works as it will only be in the Eoln whe...
by ACoimbra
Thu Apr 10, 2003 2:49 pm
Forum: Pascal
Topic: compare
Replies: 4
Views: 3741

compare

Could anyone write an efficient compare function to compare two strings plz
by ACoimbra
Thu Apr 10, 2003 2:32 pm
Forum: Volume 103 (10300-10399)
Topic: 10324 - Zeros and Ones
Replies: 179
Views: 45532

define the size

Hi,
you can also set the size of the string, like
yourstring: string(10000);

A string is not more than an array of char ;)

Go to advanced search