Search found 27 matches

by asmaamagdi
Wed Nov 28, 2007 1:50 am
Forum: Volume 7 (700-799)
Topic: 762 - We Ship Cheap
Replies: 51
Views: 19919

Hi all,

Could someone please tell me the output for
1
AA BB
AA AA
Should it be a blank line or AA AA or what ??!!

Thnx in advance.
by asmaamagdi
Fri Nov 23, 2007 10:30 pm
Forum: Volume 100 (10000-10099)
Topic: 10080 - Gopher II
Replies: 31
Views: 15723

Hey all, I don't really like sending my code but I think I have to. Please any1 discovers a bug or a failing test case please tell me about it. I know I'm new to Bipartite matching but I've submitted a problem with a very similar code & got it AC. I really don't know what's wrong :'( # include <iost...
by asmaamagdi
Mon Nov 05, 2007 11:27 pm
Forum: Algorithms
Topic: Bitwise operations
Replies: 2
Views: 2404

Bitwise operations

Hi All,

I want any problems that involve Bitwise operations in them. Please if anyone have solved any please tell me their IDs.

Thnx in advance :D
by asmaamagdi
Wed Oct 24, 2007 6:58 pm
Forum: Volume 108 (10800-10899)
Topic: 10806 - Dijkstra, Dijkstra.
Replies: 24
Views: 17707

Hey guys. I'm getting lots of WAs to this problem though I think my algo is right. I first use dijkstra to find the first shortest path. Then I mark each of its edges as invalid edges. I use dijkstra again and use only valid edges this times. This gave me WAs :( The only bug I thought of was that I ...
by asmaamagdi
Sat Oct 20, 2007 6:01 pm
Forum: Volume 103 (10300-10399)
Topic: 10301 - Rings and Glue
Replies: 50
Views: 16085

Thnx Jan for ur reply.
This is what I was doing before and I got WA. I really don't know the trick here :S
by asmaamagdi
Thu Oct 18, 2007 11:24 pm
Forum: Volume 103 (10300-10399)
Topic: 10301 - Rings and Glue
Replies: 50
Views: 16085

Can someone tells me the output for:
2
0 0 1
0 0 1

Should it be 1 ring or 2 rings??!!
by asmaamagdi
Tue Oct 16, 2007 4:27 am
Forum: General
Topic: New system is coming!
Replies: 13
Views: 8192

Hi all, The new site is very good but I have comments on it: 1. Why can't I view my account statistics if I'm not logged in (this was possible in the old site) & why can't I view other authors statistics to see the problems they solved. 2. When clicking on a problem link in "My Submissions" or in th...
by asmaamagdi
Mon Oct 15, 2007 4:12 am
Forum: Volume 106 (10600-10699)
Topic: 10604 - Chemical Reaction
Replies: 24
Views: 14779

Can any1 plz provide some input & output. I got WA :(
Thnx in advance
by asmaamagdi
Tue Oct 02, 2007 8:45 pm
Forum: Volume 1 (100-199)
Topic: 142 - Mouse Clicks
Replies: 58
Views: 5992

You shouldn't worry about printing a blank line here: for this test case does not select anything at all since it does not select the only region in this test case and the only icon the mouse click can select is not visible. as the problem description says that: There will always be at least one vis...
by asmaamagdi
Thu Aug 30, 2007 3:39 am
Forum: Volume 103 (10300-10399)
Topic: 10397 - Connect the Campus
Replies: 75
Views: 25393

Hey guys. I'm getting this problem TLE. I'm sure of the algorithm and had used the same code before in another problem (and got it AC). The only difference here is the maximum input for the problem which is causinf the TLE. I used MST Kruskal but I'm still a beginner in graph algorithms. When I chec...
by asmaamagdi
Mon Jun 11, 2007 3:34 am
Forum: Volume 112 (11200-11299)
Topic: 11220 - Decoding the message.
Replies: 54
Views: 20279

My code is correct when there are spaces at the end of the line, but I'm still getting WA :( Is there any other trick about it??!! What if I entered 2 line feeds after the number of cases (or between 2 test cases)? Should I print Case #: and 2 empty lines or should I wait for real data first??!! Thn...
by asmaamagdi
Fri Jun 23, 2006 6:07 am
Forum: Volume 3 (300-399)
Topic: 362 - 18,000 Seconds Remaining
Replies: 75
Views: 25871

Hi All, I was getting WA for this problem, too till I edited something in the calculation of the remaining time. Instead of writing: rate=size/5.0; rem=remsize/rate; Then using ceil (rem) to display the remaining time. U should write: rem=remsize/(size/5.0); Then use ceil (rem); I wrote the second a...

Go to advanced search