Search found 14 matches
- Fri Jul 11, 2003 4:06 pm
- Forum: Volume 6 (600-699)
- Topic: 621 - Secret Research
- Replies: 45
- Views: 27876
well
Well I think so, it's very stupid!!!!
- Tue Jul 01, 2003 9:20 pm
- Forum: Volume 103 (10300-10399)
- Topic: 10324 - Zeros and Ones
- Replies: 179
- Views: 67330
hmn
Isn't that too much slow? 

- Sat Jun 14, 2003 12:53 pm
- Forum: Volume 103 (10300-10399)
- Topic: 10324 - Zeros and Ones
- Replies: 179
- Views: 67330
delphi mode
you can activate delphi mode, so you will have strings with dynamic size 

- Sat Jun 14, 2003 11:24 am
- Forum: Pascal
- Topic: FPC is very very slow!!!
- Replies: 7
- Views: 10744
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!!!

If you prefer C++, code in it!!!
- Sat Jun 14, 2003 11:13 am
- Forum: Pascal
- Topic: Difference between Double and Extended
- Replies: 2
- Views: 7165
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 ...
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 ...
- Wed May 28, 2003 10:35 pm
- Forum: Pascal
- Topic: Compile Time Error?
- Replies: 1
- Views: 6227
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.
thnx
Thnx for your help 

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?
- Sun Apr 27, 2003 4:03 pm
- Forum: Volume 4 (400-499)
- Topic: 482 - Permutation Arrays
- Replies: 159
- Views: 53754
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
- Sun Apr 27, 2003 12:37 am
- Forum: Pascal
- Topic: Val function
- Replies: 2
- Views: 4408
Thnx
Well, it works, thanks a lot
- Sat Apr 26, 2003 5:05 pm
- Forum: Pascal
- Topic: Val function
- Replies: 2
- Views: 4408
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?
- Mon Apr 14, 2003 11:58 am
- Forum: Volume 104 (10400-10499)
- Topic: 10404 - Bachet's Game
- Replies: 10
- Views: 5857
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 ...
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 ...
compare
Could anyone write an efficient compare function to compare two strings plz
- Thu Apr 10, 2003 2:32 pm
- Forum: Volume 103 (10300-10399)
- Topic: 10324 - Zeros and Ones
- Replies: 179
- Views: 67330
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
you can also set the size of the string, like
yourstring: string(10000);
A string is not more than an array of char
