Click here to Skip to main content
15,910,981 members

Comments by GeekGirl90 (Top 4 by date)

GeekGirl90 16-Jan-15 13:12pm View    
My question is how to solve the problem in the best way and with minimum losses .. I just need a good idea.:)
GeekGirl90 16-Jan-15 13:09pm View    
I have tried to write a solution myself, but I'm not sure that I have the best solution. I try to cat the longest board, and then check can I use the rest. For example if I should cut 3 boards of 8m, 4 from 7 and 4 from 3m, I first cut 3 boards of 8. Then i have leftover wich have 4m. I cut that leftovers to get 3 boards from 3m. Than I cut 4 boards to get borars size 7m. Leftovers are long 5m. That means that i should cut one of them to make one more size 3m, which is missing. But I hope that there is a better soltion, and I'm just searching for it. The information about boards i can store in database or in some file...
GeekGirl90 18-Dec-14 5:37am View    
This works! Thank you!
GeekGirl90 4-Dec-14 1:59am View    
I am working on web application.