I have to write an algorithm to optimize cutting smaller bars from a minimum number of full length (uncut) bars.
The full length of an entire (uncut) bar is 1200. Then I get a set of smaller bars in length&number pairs like 12bars of length 350, 6bars of length 400, etc. The problem is to find the ...
Search found 56 matches
- Thu Jun 19, 2008 10:44 am
- Forum: Algorithms
- Topic: Bar cutting problem
- Replies: 0
- Views: 1600
- Fri Jun 24, 2005 10:04 am
- Forum: Algorithms
- Topic: algorithm/ideas needed
- Replies: 4
- Views: 2342
- Thu Jun 23, 2005 2:54 pm
- Forum: Algorithms
- Topic: algorithm/ideas needed
- Replies: 4
- Views: 2342
- Thu Jun 23, 2005 2:50 pm
- Forum: Algorithms
- Topic: algorithm/ideas needed
- Replies: 4
- Views: 2342
- Thu Jun 23, 2005 1:42 pm
- Forum: Algorithms
- Topic: Usaco problem (contact) in section 2.1
- Replies: 6
- Views: 2571
- Mon Jun 06, 2005 12:34 pm
- Forum: Volume 1 (100-199)
- Topic: 119 - Greedy Gift Givers
- Replies: 145
- Views: 47353
- Fri Jun 03, 2005 2:22 pm
- Forum: Algorithms
- Topic: Panel
- Replies: 5
- Views: 1880
- Fri Jun 03, 2005 12:08 pm
- Forum: C
- Topic: quicksort built in
- Replies: 8
- Views: 10518
- Fri Jun 03, 2005 12:02 pm
- Forum: C
- Topic: about using "sscanf" :=)
- Replies: 5
- Views: 4306
actually, "%s" skips all preceeding blank spaces (specified in isspace() for instance), which are more then " ", "\n" and "\r". (the tab is a blank surely "\t").
as for reding from a string, here's a good topic, which gives u all the solutions u need:
http://acm.uva.es/board/viewtopic.php?t=7539&sid ...
as for reding from a string, here's a good topic, which gives u all the solutions u need:
http://acm.uva.es/board/viewtopic.php?t=7539&sid ...
- Fri Jun 03, 2005 11:42 am
- Forum: C
- Topic: scanf in 10013!
- Replies: 1
- Views: 2590
- Fri Jun 03, 2005 11:27 am
- Forum: C
- Topic: Things that produce compile error
- Replies: 3
- Views: 4227
- Fri Jun 03, 2005 11:24 am
- Forum: C
- Topic: Weird Invalid Memory Reference?
- Replies: 5
- Views: 3672
- Wed Jun 01, 2005 3:45 pm
- Forum: C
- Topic: Passing bidimentional mtrx to functions as pointer argument
- Replies: 3
- Views: 2620
- Wed Jun 01, 2005 3:13 pm
- Forum: C
- Topic: Exchanging two integers
- Replies: 5
- Views: 3608