Search found 67 matches
- Fri Sep 18, 2009 8:56 pm
- Forum: Volume 116 (11600-11699)
- Topic: 11668 - How Many Teams
- Replies: 7
- Views: 2319
Re: 11668
let, a = number of departments which has 1 student, b = number of departments which has 2 students and c=number of departments which has 3 students. Now let dp[a] [c]=number of permutations we know 1*a+2*b+3*c=N and N%K==0 so we have to make N/K groups Suppose now we want to form a group, we can cho...
- Wed Sep 16, 2009 8:44 am
- Forum: Volume 116 (11600-11699)
- Topic: 11668 - How Many Teams
- Replies: 7
- Views: 2319
Re: 11668
Thanks got AC
- Tue Sep 15, 2009 10:43 pm
- Forum: Volume 116 (11600-11699)
- Topic: 11668 - How Many Teams
- Replies: 7
- Views: 2319
11668 - How Many Teams
can anybody please give some test cases of the following problem:
http://uva.onlinejudge.org/index.php?op ... oblem=2715
http://uva.onlinejudge.org/index.php?op ... oblem=2715
- Sun Jan 25, 2009 9:50 pm
- Forum: Algorithms
- Topic: Post Offices
- Replies: 4
- Views: 1940
Re: Post Offices
thanks a lot
- Sun Jan 25, 2009 7:47 am
- Forum: Algorithms
- Topic: Post Offices
- Replies: 4
- Views: 1940
Re: Post Offices
yes. oh how i am gonna decide where to place next post office if i know the result of dp[j-1].
- Sat Jan 24, 2009 6:41 pm
- Forum: Algorithms
- Topic: Post Offices
- Replies: 4
- Views: 1940
Post Offices
can anybody please explain solution of this problem
http://acmicpc-live-archive.uva.es/nuev ... php?p=4273
http://acmicpc-live-archive.uva.es/nuev ... php?p=4273
- Tue Apr 01, 2008 7:12 pm
- Forum: ACM ICPC Archive Board
- Topic: Problem 3277 : Workshops
- Replies: 7
- Views: 7830
Re: Problem 3277 : Workshops
edit: can two workshop share the same room at the same time if the room has sufficient capacity
- Sun Mar 23, 2008 8:26 pm
- Forum: Volume 114 (11400-11499)
- Topic: 11432 - Busy Programmer
- Replies: 12
- Views: 5881
- Sat Oct 06, 2007 8:31 pm
- Forum: Volume 113 (11300-11399)
- Topic: 11307 - Alternative Arborescence
- Replies: 22
- Views: 13457
- Tue Oct 02, 2007 9:06 pm
- Forum: Volume 112 (11200-11299)
- Topic: 11297 - Census
- Replies: 24
- Views: 21984
- Mon Oct 01, 2007 10:02 pm
- Forum: Volume 112 (11200-11299)
- Topic: 11297 - Census
- Replies: 24
- Views: 21984
- Sat Aug 04, 2007 5:08 pm
- Forum: Volume 112 (11200-11299)
- Topic: 11254 - Consecutive Integers
- Replies: 24
- Views: 13959
- Thu Jul 26, 2007 7:45 am
- Forum: Algorithms
- Topic: Backtracking with heuristic
- Replies: 2
- Views: 2289
- Thu Jul 26, 2007 7:13 am
- Forum: Algorithms
- Topic: Backtracking with heuristic
- Replies: 2
- Views: 2289
Backtracking with heuristic
Can anybody give some problems link on backtracking with heuristic. Actually I need some nice problem from which i can learn how to apply heuristic.
I will be gr8ful to u guys.
I will be gr8ful to u guys.
- Sun Jul 15, 2007 10:11 am
- Forum: Volume 112 (11200-11299)
- Topic: 11239 - Open Source
- Replies: 21
- Views: 10437