how if all the number in the array is negative?
your program will print 0 because you skip all the number in the array right?
Search found 15 matches
- Fri May 27, 2005 5:00 am
- Forum: Volume 1 (100-199)
- Topic: 108 - Maximum Sum
- Replies: 233
- Views: 51723
- Thu May 19, 2005 3:59 am
- Forum: C++
- Topic: Watch this simple program. What happens?
- Replies: 8
- Views: 4015
- Wed May 18, 2005 10:02 am
- Forum: C
- Topic: How should i determine end of inputs
- Replies: 16
- Views: 8729
- Wed May 18, 2005 6:07 am
- Forum: C
- Topic: How should i determine end of inputs
- Replies: 16
- Views: 8729
that's exactly what i'm trying to do. I don't want the code to be run in the OJ because the file operation is prohibited, isn't it? you will get Restricted Function if you use the file operation function. (that's what i know). but i want to open from file and write to file to test the code in my ...
- Wed May 18, 2005 5:54 am
- Forum: C++
- Topic: Watch this simple program. What happens?
- Replies: 8
- Views: 4015
- Tue May 17, 2005 5:48 am
- Forum: C++
- Topic: Watch this simple program. What happens?
- Replies: 8
- Views: 4015
- Tue May 17, 2005 5:32 am
- Forum: C
- Topic: How should i determine end of inputs
- Replies: 16
- Views: 8729
- Mon May 16, 2005 8:27 am
- Forum: C
- Topic: what data type is fast ?
- Replies: 8
- Views: 4286
- Mon May 16, 2005 8:23 am
- Forum: C
- Topic: what data type is fast ?
- Replies: 8
- Views: 4286
- Mon May 16, 2005 8:11 am
- Forum: C
- Topic: How should i determine end of inputs
- Replies: 16
- Views: 8729
- Thu Jul 03, 2003 3:00 pm
- Forum: Volume 5 (500-599)
- Topic: 594 - One Little, Two Little, Three Little Endians
- Replies: 46
- Views: 23281
- Thu Jul 03, 2003 3:00 pm
- Forum: Volume 5 (500-599)
- Topic: 594 - One Little, Two Little, Three Little Endians
- Replies: 46
- Views: 23281
- Wed May 28, 2003 2:12 pm
- Forum: Volume 5 (500-599)
- Topic: 594 - One Little, Two Little, Three Little Endians
- Replies: 46
- Views: 23281
- Sun May 25, 2003 2:31 pm
- Forum: Volume 5 (500-599)
- Topic: 529 - Addition Chains
- Replies: 32
- Views: 7617
Find all posibility using recursive. to find the minimum, try to find it on each level, don't go to the next level of recursive if all value in one level not checked. It's the most simple algorithm I can found, if anyone know another algorithm please let me know. thx, hope this can help you...tonyk ...
- Sun May 25, 2003 2:11 pm
- Forum: Volume 5 (500-599)
- Topic: 594 - One Little, Two Little, Three Little Endians
- Replies: 46
- Views: 23281
594 - Test Case please
I need a test case for problem 594, I'm new here, so please help me, cause I get WA. but my program works fine with the sample input, thx...