Search found 20 matches

by cyberdragon
Thu Aug 07, 2014 12:28 am
Forum: Algorithms
Topic: ACM ICPC Training
Replies: 3
Views: 1547

Re: ACM ICPC Training

Ok.
What is your advice for my problem? What should I master from the categories mentioned above before the contest?
by cyberdragon
Wed Aug 06, 2014 10:58 am
Forum: Algorithms
Topic: ACM ICPC Training
Replies: 3
Views: 1547

ACM ICPC Training

@brianfry713: Hello. After about 1.5 months, the Local ACM ICPC Contest will be held in my uinversity. This contest is the first step on the road to ACM ICPC World Finals. The problem is, I don't know what Algroithms should I master in this little period before the contest. I'm not good at DP at all...
by cyberdragon
Wed Aug 06, 2014 10:41 am
Forum: Volume 102 (10200-10299)
Topic: 10278 - Fire Station
Replies: 59
Views: 20316

10278 - Fire Station

by cyberdragon
Thu Jul 31, 2014 7:00 pm
Forum: Volume 110 (11000-11099)
Topic: 11060 - Beverages
Replies: 96
Views: 31792

11060 - Beverages

http://ideone.com/dssLP8

My output for the 3rd test case is different from the sample output but It is correct. so why WA?
by cyberdragon
Wed Jul 30, 2014 7:55 am
Forum: Volume 4 (400-499)
Topic: 482 - Permutation Arrays
Replies: 159
Views: 30692

482 - Permutation Arrays

Why If we used a map of <string, string> we get WA but when we use map<int, string> we get AC?
by cyberdragon
Sun Jun 01, 2014 10:37 am
Forum: Volume 10 (1000-1099)
Topic: 1098 - Robots on Ice
Replies: 3
Views: 1952

1098 - Robots on Ice

I tried pruning using the following: -If the distance to the next check-in point is greater than the number of time-steps left to that check-in time, the current partial path can not be extended to a complete path. -If the set of unvisited cells form two disconnected regions, there are no solutions,...
by cyberdragon
Thu Mar 27, 2014 4:14 am
Forum: Volume 3 (300-399)
Topic: 333 - Recognizing Good ISBNs
Replies: 166
Views: 20680

Re: 333 - Recognizing Good ISBNs

In case of 00000000X2, s2 = 22 which is evenly divisible by 11.
Or does "evenly divisible" is different from "divisible" ?
by cyberdragon
Wed Mar 26, 2014 7:06 am
Forum: Volume 3 (300-399)
Topic: 333 - Recognizing Good ISBNs
Replies: 166
Views: 20680

Re: 333 - Recognizing Good ISBNs

Well that was a bad mistake using getline.
But still don't know why WA after editing.

http://ideone.com/LkQpA5
by cyberdragon
Sun Mar 23, 2014 8:32 pm
Forum: Volume 3 (300-399)
Topic: 333 - Recognizing Good ISBNs
Replies: 166
Views: 20680

333 - Recognizing Good ISBNs

by cyberdragon
Fri Nov 29, 2013 3:06 am
Forum: Volume 103 (10300-10399)
Topic: 10344 - 23 out of 5
Replies: 81
Views: 26763

10344 - 23 out of 5

by cyberdragon
Fri Nov 01, 2013 2:38 am
Forum: Volume 5 (500-599)
Topic: 579 - Clock Hands
Replies: 44
Views: 13688

579 - ClockHands

3rd case in the sample input.
How 8:10 outputs 175, It should be 180 ?
by cyberdragon
Thu Oct 17, 2013 6:27 am
Forum: Volume 100 (10000-10099)
Topic: 10044 - Erdos Numbers
Replies: 102
Views: 38851

10044 - Erdos Numbers

Why TLE ?
Even I've used bool Vis array that works in O(1).
http://ideone.com/KsnVd0

Any Help ?
by cyberdragon
Tue Oct 01, 2013 4:31 am
Forum: Volume 109 (10900-10999)
Topic: 10901 - Ferry Loading III
Replies: 54
Views: 22733

Re: 10901 - Ferry Loading III

"The arrival times for each test case are strictly increasing."
This case is invalid.

Go to advanced search