Search found 120 matches

by deddy one
Sun Mar 02, 2003 11:18 am
Forum: Volume 1 (100-199)
Topic: 111 - History Grading
Replies: 135
Views: 22266

hi kurnia,

maybe this web page can help you get AC

http://www-2.cs.cmu.edu/~cburch/pgss99/ ... zsoln.html

read the last part of that page :wink:
by deddy one
Tue Feb 25, 2003 2:27 pm
Forum: Volume 102 (10200-10299)
Topic: 10252 - Common Permutation
Replies: 150
Views: 51758

nevermind , I completely misunderstood what the problem really
wants.

got AC now.
by deddy one
Sun Feb 23, 2003 6:26 pm
Forum: Volume 3 (300-399)
Topic: 386 - Perfect Cubes
Replies: 53
Views: 7295

thx guys
got AC now

I made stupid mistake in my loop :oops: :oops: :oops:

using long data type making the calculation faster too.
:D :D :D
by deddy one
Sun Feb 23, 2003 7:59 am
Forum: Volume 3 (300-399)
Topic: 386 - Perfect Cubes
Replies: 53
Views: 7295

so, how many lines of output are there in this problem??

I try to use double data type to guard against miscalculation
and it gives me 216 lines.

thanks.
by deddy one
Sat Feb 22, 2003 10:01 am
Forum: Volume 3 (300-399)
Topic: 386 - Perfect Cubes
Replies: 53
Views: 7295

386 so simple BUT...

my program gives me 216 lines of output and
it gives me WA

how many output lines it should be ?????
the sorting method is based ascending value of
"b" right??
by deddy one
Fri Feb 21, 2003 8:21 pm
Forum: Volume 102 (10200-10299)
Topic: 10252 - Common Permutation
Replies: 150
Views: 51758

pls help,

at least pls give me sample I/O for this problem.
:wink: :wink: :wink: :wink:
by deddy one
Fri Feb 21, 2003 8:15 pm
Forum: Volume 5 (500-599)
Topic: 537 - Artificial Intelligence?
Replies: 76
Views: 10937

never mind , I've found the bug , and it's rather stupid really.
well , got Acc now :D

thank you everyone for your help
by deddy one
Fri Feb 21, 2003 1:22 am
Forum: Volume 5 (500-599)
Topic: 537 - Artificial Intelligence?
Replies: 76
Views: 10937

this is so frustrating, I already match your sample I/O but still got
WA
by deddy one
Sun Feb 16, 2003 8:18 pm
Forum: Volume 5 (500-599)
Topic: 516 - Prime Land
Replies: 23
Views: 6562

forget it, the problem is only at my strtok.

fixed it and get PE
by deddy one
Sun Feb 16, 2003 12:28 pm
Forum: Volume 1 (100-199)
Topic: 195 - Anagram
Replies: 242
Views: 26907

hmmm, I misunderstood the problem statement about the ascending order
thx red scorpion, now I know why I get WA.

only one problem lie now == > how to code it right

I tried to fix my code but still couldn't get the result as same as
your. can you tell me hints to solve this
by deddy one
Fri Feb 14, 2003 8:44 pm
Forum: Volume 4 (400-499)
Topic: 476 - Points in Figures: Rectangles
Replies: 87
Views: 7839

perhaps reading the input by line and converted it into double is safer than rather read it directly into double this is some part of input reading from my solution, maybe it could help while (gets (line)) { last = 0; sscanf (line,"%lf %lf",&x,&y); if (x == 9999.9 && y == 9999.9) break; for (i=0;i<p...
by deddy one
Fri Feb 14, 2003 8:25 pm
Forum: Volume 1 (100-199)
Topic: 195 - Anagram
Replies: 242
Views: 26907

why WA on 195 but got AC on 10098

pls help

I got WA on 195, but I got acc on 10098.
I think that basicly it's just the same problem.

is there any trick on dealing with 195 here? :roll:
by deddy one
Fri Feb 14, 2003 6:26 am
Forum: Volume 5 (500-599)
Topic: 537 - Artificial Intelligence?
Replies: 76
Views: 10937

537 A.I pls help , I'm getting WA

someone pls give me input test case for this problem

one more question ==> is P,U,and I always be in uppercase
or it can be written in lowercase too ????
by deddy one
Tue Jan 28, 2003 4:27 am
Forum: Volume 6 (600-699)
Topic: 602 - What Day Is It?
Replies: 56
Views: 22220

--CUT--
by deddy one
Thu Jan 23, 2003 4:06 pm
Forum: Volume 5 (500-599)
Topic: 516 - Prime Land
Replies: 23
Views: 6562

516 - Prime Land

help, pls check my code [cpp]#include <stdio.h> #include <string.h> #include <math.h> #include <stdlib.h> #define max 35000 int count [max]; main () { long int i,j,m,last; char line[10000]; char *p; long root; int input [max]; while (gets (line)) { if (strcmp (line,"0") == 0) break; memset (input,0,...

Go to advanced search