Search found 277 matches
- Tue Jun 28, 2005 7:06 pm
- Forum: Off topic (General chit-chat)
- Topic: I win !! (the proper way!!!)
- Replies: 2
- Views: 2835
- Sun Feb 06, 2005 6:06 pm
- Forum: Volume 1 (100-199)
- Topic: 195 - Anagram
- Replies: 242
- Views: 54506
- Thu Feb 03, 2005 5:56 am
- Forum: Volume 1 (100-199)
- Topic: 100 - The 3n + 1 problem
- Replies: 1394
- Views: 304077
- Sun Jan 02, 2005 2:08 am
- Forum: C++
- Topic: Compilation Error on C++ and Accepted on C
- Replies: 1
- Views: 2130
- Mon Dec 27, 2004 4:43 am
- Forum: Volume 3 (300-399)
- Topic: 331 - Mapping the Swaps
- Replies: 11
- Views: 7749
- Sat Dec 25, 2004 10:41 pm
- Forum: Volume 3 (300-399)
- Topic: 314 - Robot
- Replies: 30
- Views: 10898
I got:
Code: Select all
12
5
3
7
-1
0
-1
4
20
11
-1
-1
-1
-1
-1
16
-1
-1
-1
-1
-1
10
-1
-1
19
-1
11
-1
-1
-1
-1
13
28
27
-1
-1
4
-1
-1
-1
-1
23
6
1
-1
-1
-1
27
-1
- Sat Dec 25, 2004 8:50 pm
- Forum: Volume 104 (10400-10499)
- Topic: 10426 - Knights' Nightmare
- Replies: 17
- Views: 9628
- Wed Dec 22, 2004 3:37 am
- Forum: Volume 1 (100-199)
- Topic: 108 - Maximum Sum
- Replies: 233
- Views: 48554
- Sun Dec 19, 2004 8:31 pm
- Forum: Volume 106 (10600-10699)
- Topic: 10633 - Rare Easy Problem
- Replies: 37
- Views: 23626
- Sun Dec 19, 2004 5:04 am
- Forum: Volume 106 (10600-10699)
- Topic: 10633 - Rare Easy Problem
- Replies: 37
- Views: 23626
- Sat Dec 18, 2004 4:42 am
- Forum: Volume 106 (10600-10699)
- Topic: 10633 - Rare Easy Problem
- Replies: 37
- Views: 23626
- Fri Dec 17, 2004 2:12 am
- Forum: C++
- Topic: STL priority queue
- Replies: 5
- Views: 3491
- Tue Dec 14, 2004 2:23 am
- Forum: C
- Topic: Arrays with arbitrary offset in C
- Replies: 8
- Views: 4074
You can always #define a macro to do it.. [c]#define myarray(a,b) realarray[a+20][b+20];[/c] Of course, it would be less efficient since it's doing a+20 and then another addition on the pointer itself, and you'd hafta write code like myarray(-1, -2) instead of myarray[-1][-2]. At least you get rid o...
- Mon Dec 13, 2004 2:57 am
- Forum: Volume 107 (10700-10799)
- Topic: 10789 - Prime Frequency
- Replies: 38
- Views: 26347
- Mon Dec 13, 2004 1:04 am
- Forum: Volume 107 (10700-10799)
- Topic: 10791 - Minimum Sum LCM
- Replies: 46
- Views: 28534