Search found 120 matches

by deddy one
Fri Nov 14, 2003 6:46 pm
Forum: Volume 5 (500-599)
Topic: 514 - Rails
Replies: 79
Views: 25213

hmm funny. I've tried to compile your code on my machine.
And it didn't produce output even on the sample input
test cases. It keeps asking for input even though
I keep inputing 0.
by deddy one
Fri Nov 14, 2003 6:43 pm
Forum: Volume 5 (500-599)
Topic: 514 - Rails
Replies: 79
Views: 25213

hmm funny. I've tried to compile your code on my machine.
And it didn't produce output even on the sample input
test cases.
by deddy one
Fri Nov 14, 2003 6:17 pm
Forum: General
Topic: Help me i got Runtime error
Replies: 1
Views: 886

Just suggestion :
Post the number of problem and the problem title
on the topic. This way your chance to get some reply
is slightly higher ... :wink: :wink:
by deddy one
Thu Nov 13, 2003 3:33 pm
Forum: Volume 7 (700-799)
Topic: 755 - 487--3279
Replies: 115
Views: 29331

if you use C language, the quicksort built in
function could easily save the day :wink:
by deddy one
Thu Nov 13, 2003 10:26 am
Forum: Volume 7 (700-799)
Topic: 755 - 487--3279
Replies: 115
Views: 29331

This is a multiple input problem.

notice the blue check mark on the left of the
problem number?? that blue check mark
indicated the muliple input problem.

your code doesn't support the multiple input cases.
by deddy one
Wed Nov 12, 2003 1:55 pm
Forum: Volume 4 (400-499)
Topic: 497 - Strategic Defense Initiative
Replies: 144
Views: 21840

I almost forget that after you take the test
case number, there is a blank line also.

make sure you take care of that too.
by deddy one
Wed Nov 12, 2003 1:52 pm
Forum: Volume 4 (400-499)
Topic: 497 - Strategic Defense Initiative
Replies: 144
Views: 21840

yes you must take the test case number first for each of the input block it will ended with a blank line, except for the last input block which will be ended with the end of file marker. don't use scanf in problem like this. just use gets to scan all the input than convert it to int. hope this helps.
by deddy one
Wed Nov 12, 2003 1:28 pm
Forum: Volume 101 (10100-10199)
Topic: 10197 - Learning Portuguese
Replies: 45
Views: 15967

if the portuegese verb doesn't end with 'r'
then print the unknown conjugation right away.
by deddy one
Tue Nov 11, 2003 9:00 am
Forum: Volume 4 (400-499)
Topic: 450 - Little Black Book
Replies: 57
Views: 6621

yes it is straight forward problem, just check your outputting format. i.e : print exactly 40 dash [c]printf ("%s %s %s\n",data .title,data .name1,data .name2); printf ("%s\n",data .add); printf ("Department: %s\n",data .dept); printf ("Home Phone: %s\n",data .hphone); printf ("Work Phone: %s\n",dat...
by deddy one
Tue Nov 11, 2003 8:43 am
Forum: Volume 103 (10300-10399)
Topic: 10327 - Flip Sort
Replies: 81
Views: 23166

change your bubble function into like this [cpp]int bubble(int n) { int i,j,count=0; long temp; if( n==0 !! n==1) return 0; for(i=0;i<n-1;i++) { for(j=i;j<n;j++) { if(data >data[j]) { count++; } } } return count; } [/cpp] everything else seems fine. you only need to count the exchange operations, no...
by deddy one
Wed Nov 05, 2003 6:12 pm
Forum: Other words
Topic: About contest notification
Replies: 1
Views: 809

that feature is back :D
my thanks to sys admin :D
by deddy one
Sat Oct 25, 2003 2:30 pm
Forum: Other words
Topic: About contest notification
Replies: 1
Views: 809

About contest notification

Before the system/site was updated. I remembered that one can see the countdown timer for nearest contest on the page acm.uva.es/problemset and when the contest was started, then you can see some notification telling you that the contest is running. I think that this is a great feature, but now I do...
by deddy one
Sat Jul 19, 2003 7:25 pm
Forum: Volume 104 (10400-10499)
Topic: 10433 - Automorphic Numbers
Replies: 41
Views: 23572

I'm having a problem with that statement too,
could anyone tell me the right output for this
input :

Code: Select all

0000001
001
000025
025
0005
0000000076
111
0111
00111
thx.
by deddy one
Thu Jul 03, 2003 4:53 pm
Forum: Volume 5 (500-599)
Topic: 583 - Prime Factors
Replies: 171
Views: 37712

btw the time is quite unsatisfactory.....wonder if there's anyway to improve the speed...... when you said the time is unsatisfactory, it make me remember the first time I get this one accepted my time is 9.730 sec or so.... :oops: and then I tried to change a little bit of my code and it worked fa...
by deddy one
Thu Jun 19, 2003 4:41 pm
Forum: General
Topic: Never use yahoomail for submission
Replies: 6
Views: 1786

My first submission is using yahoo, and yes I got
compile error etc sumthin like that,

and then I created account in hotmail
and there is no problem anymore

btw submit o matic is faster I think

Go to advanced search