10013
when i use pascal,i got TLE,
but C++,AC
it seem that fpc 's i/o is slow then C/C++
aren't i right?
or others?
Search found 14 matches
- Thu May 29, 2003 4:56 am
- Forum: Pascal
- Topic: FPC is very very slow!!!
- Replies: 7
- Views: 10712
- Tue May 27, 2003 8:06 am
- Forum: Algorithms
- Topic: Tell me some DP problems in Vol I--Vol VII
- Replies: 5
- Views: 4615
- Sun May 25, 2003 1:02 pm
- Forum: C++
- Topic: how to copy an array in C
- Replies: 2
- Views: 2346
how to copy an array in C
in pascal ,i could write simply : a:=b
but how in c
but how in c
- Wed May 21, 2003 10:30 am
- Forum: Algorithms
- Topic: Tell me some DP problems in Vol I--Vol VII
- Replies: 5
- Views: 4615
Tell me some DP problems in Vol I--Vol VII
could some tell me some DP problems in Vol I--Vol VII?
and list them with kinds or difficults
such as
easy ones:
difficule ones:
useful ones:
be helpful to the beginner ones:
thanks a lot.
and list them with kinds or difficults
such as
easy ones:
difficule ones:
useful ones:
be helpful to the beginner ones:
thanks a lot.
- Mon May 19, 2003 3:09 pm
- Forum: Volume 1 (100-199)
- Topic: 113 - Power of Cryptography
- Replies: 163
- Views: 50499
113.Why I could got AC /
could anyone tell me a standard one using BIG NUMBERS
i just write:
[pascal]
var
n,p:double;
begin
while not eof(input) do
begin
readln(n,p);
writeln(exp(ln(p)/n):1:0);
end;
end.
[/pascal][/pascal]
i just write:
[pascal]
var
n,p:double;
begin
while not eof(input) do
begin
readln(n,p);
writeln(exp(ln(p)/n):1:0);
end;
end.
[/pascal][/pascal]
- Mon May 19, 2003 12:51 pm
- Forum: Off topic (General chit-chat)
- Topic: Who can help me!!!
- Replies: 1
- Views: 2246
Who can help me!!!
I am a beginner here.
could someone help me and to be my friends?
my mail address and MSN:
zhuyin_222@hotmail.com
I need all your help!
could someone help me and to be my friends?
my mail address and MSN:
zhuyin_222@hotmail.com
I need all your help!
- Mon May 19, 2003 1:05 am
- Forum: Volume 4 (400-499)
- Topic: 497 - Strategic Defense Initiative
- Replies: 144
- Views: 44396
- Mon May 19, 2003 12:50 am
- Forum: Off topic (General chit-chat)
- Topic: How old are you? Statistics.
- Replies: 121
- Views: 195407
- Sun May 18, 2003 1:27 pm
- Forum: Volume 4 (400-499)
- Topic: 497 - Strategic Defense Initiative
- Replies: 144
- Views: 44396
497 TLE
who can tell me a nlogn one
i need the code.
thanks a lot.
[pascal]//uva497
const
maxn=1000;
var
a,f,pre:array[1..maxn] of longint;
n,best_i,best,i,j:integer;
procedure print(i:integer);
begin
if i<>0 then begin
print(pre );
writeln(a );
end;
end;
begin
n:=0;
while not eof(input) do ...
i need the code.
thanks a lot.
[pascal]//uva497
const
maxn=1000;
var
a,f,pre:array[1..maxn] of longint;
n,best_i,best,i,j:integer;
procedure print(i:integer);
begin
if i<>0 then begin
print(pre );
writeln(a );
end;
end;
begin
n:=0;
while not eof(input) do ...
- Sat May 17, 2003 3:30 am
- Forum: C
- Topic: how to translate PASCAL into C/C++
- Replies: 3
- Views: 2690
- Fri May 16, 2003 9:36 am
- Forum: General
- Topic: tell me some easy problems in Volume I ,thanks a lot.
- Replies: 15
- Views: 14073
- Fri May 16, 2003 9:18 am
- Forum: C
- Topic: how to translate PASCAL into C/C++
- Replies: 3
- Views: 2690
how to translate PASCAL into C/C++
I used to use PASCAL to write programs.
I want to use C now.
could someone tell me some advice on it?
such Input/Output,the Types
little tricks.
if you may,please give me some links on this Board.
thanks a lot.
I want to use C now.
could someone tell me some advice on it?
such Input/Output,the Types
little tricks.
if you may,please give me some links on this Board.
thanks a lot.
- Fri May 16, 2003 9:07 am
- Forum: General
- Topic: tell me some easy problems in Volume I ,thanks a lot.
- Replies: 15
- Views: 14073
thanks a lot.
could you tell me some more MATH problems on UVA.
- Thu May 15, 2003 6:37 am
- Forum: General
- Topic: tell me some easy problems in Volume I ,thanks a lot.
- Replies: 15
- Views: 14073
tell me some easy problems in Volume I ,thanks a lot.
i am a beginner.so i want to practise some easy and interesting problems/
i hope these problems would give me a great of help.
i hope these problems would give me a great of help.