I followed the method above to code this program, and i got a WA. Another thread contains some sample input, and a lot of my input didn't match. If anyone can take a look at it, i would appreciate it.
http://online-judge.uva.es/board/viewto ... ight=10003
Search found 2 matches
Search found 2 matches • Page 1 of 1
- Fri Nov 07, 2003 8:22 am
- Forum: Volume 100 (10000-10099)
- Topic: 10003 - Cutting Sticks
- Replies: 59
- Views: 24257
I got the same output as bnbolo did. Here is my code, if someone could make a suggestion, i would appreciate it. [cpp] // 10003 - Cutting Sticks.cpp : Defines the entry point for the console application. // #include <stdio.h> #include <stdlib.h> int iCutList; int iWorkingArray; void main(...