Search found 120 matches

by deddy one
Mon Dec 23, 2002 7:47 pm
Forum: Volume 3 (300-399)
Topic: 340 - Master-Mind Hints
Replies: 27
Views: 8615

I know it simple , but WA keeping me still.

Btw, where should I print "game #%d" , is it before the input or after the input??
by deddy one
Mon Dec 23, 2002 7:40 pm
Forum: Volume 101 (10100-10199)
Topic: 10189 - Minesweeper
Replies: 418
Views: 70413

to liusu:

if you haven't it AC yet,
maybe you got the same problem with me few while ago

try to use bigger array
by deddy one
Mon Dec 23, 2002 7:29 pm
Forum: Volume 101 (10100-10199)
Topic: 10188 - Automated Judge Script
Replies: 58
Views: 31043

I get runtime error sigsegv for this
what is invalid memory reference? could anyone helped me out?
I used 4 char array with 1000 array of element each for this problem.
by deddy one
Mon Dec 23, 2002 7:21 pm
Forum: Volume 100 (10000-10099)
Topic: 10062 - Tell me the frequencies!
Replies: 235
Views: 37937

ascii for enter?? I don't think you should print that. But for space you should print the value , sort them like the output description tell
by deddy one
Mon Dec 23, 2002 7:14 pm
Forum: Volume 100 (10000-10099)
Topic: 10013 - Super long sums
Replies: 212
Views: 41191

thx Adrian

your test case proof my algorithm failed, I've fixed it and got AC. :D
by deddy one
Sat Dec 21, 2002 11:26 am
Forum: Volume 6 (600-699)
Topic: 673 - Parentheses Balance
Replies: 243
Views: 47439

check with the input :

([)]

it should be:

No

Btw, are you sure cin and cout handle the input correctly??
I'm using gets on this one
by deddy one
Sat Dec 21, 2002 11:15 am
Forum: Volume 101 (10100-10199)
Topic: 10190 - Divide, But Not Quite Conquer!
Replies: 105
Views: 24431

actually I'm just using a simple calculation which is

if (n%i==0)
n = n/m;


using only calculation like that I got accepted in 0.00 sec.

hint : don't think too hard on this one, it's not that hard to solve this
by deddy one
Thu Dec 19, 2002 11:56 am
Forum: Volume 103 (10300-10399)
Topic: 10336 - Rank the Languages
Replies: 21
Views: 9644

I also got TLE for this problem,

how to sort the output faster anyway????
by deddy one
Tue Dec 17, 2002 8:00 pm
Forum: Volume 103 (10300-10399)
Topic: 10363 - Tic Tac Toe
Replies: 54
Views: 24759

What I do is just like this 1. count the number of valid O and X overall 2. count the number of valid O and X if O win 3. count the number of valid O and X if X win 4. count the number of valid O and X if neither win and it's accepted, but PE, I'm confused , where should I put the extra blank line i...
by deddy one
Sat Dec 14, 2002 5:22 pm
Forum: Volume 2 (200-299)
Topic: 294 - Divisors
Replies: 91
Views: 24212

*CUT*
by deddy one
Fri Dec 13, 2002 5:15 pm
Forum: Volume 100 (10000-10099)
Topic: 10062 - Tell me the frequencies!
Replies: 235
Views: 37937

thx arc16, I got acc after read your post here
by deddy one
Fri Dec 13, 2002 5:08 pm
Forum: Volume 100 (10000-10099)
Topic: 10062 - Tell me the frequencies!
Replies: 235
Views: 37937

don't use ascii check in your code , at first I used ascii check too, but it WA, when I removed it , it acc , eventhough mine was PE
by deddy one
Mon Nov 18, 2002 6:30 pm
Forum: Volume 4 (400-499)
Topic: 457 - Linear Cellular Automata
Replies: 25
Views: 12046

I'm not familiar in pascal , but consider this , it's multiple input case , so everytime you loop to the next input , you must normalize the variable that you declare , I got PE in this problem , but I see someone who get AC and when I see his code, his output produce 1 more blank line than me hope ...
by deddy one
Thu Nov 14, 2002 5:07 am
Forum: Volume 103 (10300-10399)
Topic: 10346 - Peter's Smokes
Replies: 46
Views: 16468

a simple formula like this will get you AC -- > ans = n + ((n-1) / (k-1))
:D
BTW when I use EOF , I got restrictive function , so I change it into
while (scanf ("%lld %lld ",&n,&k)==2) and it worked just fine , any comments on that ???? 8)
by deddy one
Tue Nov 12, 2002 7:44 pm
Forum: Volume 102 (10200-10299)
Topic: 10260 - Soundex
Replies: 30
Views: 11017

can anyone give me sample input/output data
what is the output for
A
ASDQWER
VBDSUEQPQOPQWEXXCZ


thx

Go to advanced search