your results are correct. I think you took answers from my WA-program, cause my AC-code gives the same results as you have: 2 and 17
Erik
Search found 105 matches
- Wed Mar 09, 2005 3:32 pm
- Forum: Volume 1 (100-199)
- Topic: 132 - Bumpy Objects
- Replies: 38
- Views: 5528
- Mon Dec 13, 2004 2:51 pm
- Forum: C
- Topic: Arrays with arbitrary offset in C
- Replies: 8
- Views: 3427
- Tue Nov 16, 2004 1:24 pm
- Forum: Other words
- Topic: New idea for authors rank list
- Replies: 5
- Views: 2150
I vote against your plan: for me the fun is programming an algorithm and solving a lot of problems, not squeezing out an extra factor of 2 by a smarter implementation of the same algo. And also, Java users are completely set aside in your plan :-( But that's just my humble opinion of course... we li...
- Mon Nov 15, 2004 11:29 am
- Forum: Java
- Topic: [ Java ] Useful methods to save time.
- Replies: 12
- Views: 11313
- Sun Nov 14, 2004 9:23 pm
- Forum: Off topic (General chit-chat)
- Topic: Testing
- Replies: 2
- Views: 1823
- Sun Nov 14, 2004 9:22 pm
- Forum: Off topic (General chit-chat)
- Topic: What do you like to eat?
- Replies: 20
- Views: 67669
- Sun Nov 14, 2004 3:31 pm
- Forum: Volume 7 (700-799)
- Topic: 706 - LCD Display
- Replies: 221
- Views: 41766
- Sun Nov 14, 2004 3:27 pm
- Forum: Algorithms
- Topic: Sorting points
- Replies: 2
- Views: 1540
- Thu Nov 11, 2004 1:39 pm
- Forum: Volume 6 (600-699)
- Topic: 673 - Parentheses Balance
- Replies: 243
- Views: 53485
- Thu Nov 11, 2004 1:32 am
- Forum: Volume 6 (600-699)
- Topic: 673 - Parentheses Balance
- Replies: 243
- Views: 53485
- Wed Nov 10, 2004 5:04 pm
- Forum: C
- Topic: long long int AND __int64
- Replies: 4
- Views: 2697
muvee, I have exactly the same problem. Let me know when you have a structural solution! What I currently do is use a define statement for LONG (like Dominik Michniewski does) and then just before I send in to the judge, I change the printf statements by hand and send in the program without recompil...
- Wed Nov 10, 2004 4:58 pm
- Forum: Volume 6 (600-699)
- Topic: 673 - Parentheses Balance
- Replies: 243
- Views: 53485
- Wed Nov 10, 2004 4:47 pm
- Forum: Algorithms
- Topic: Rounding problems
- Replies: 2
- Views: 1091
- Wed Nov 10, 2004 11:00 am
- Forum: Java
- Topic: How to deal with really BIG numbers in JAVA?
- Replies: 3
- Views: 2776
Yes you can submit several classes in the same file and that is exactly what you should do :-) Note that: - you can't use inner classes cause Java 1.1 (or the stone age version the UVA Judge uses) doesn't support them - your main class should still be called Main and that one must contain the public...