b***y 发帖数: 2799 | 1 ☆─────────────────────────────────────☆
wmbyhh (wmbyhh) 于 (Thu Jul 17 15:39:03 2008) 提到:
1、Suppose there is an interger array of size N, the value of each
element ranges from 1 to N-1, so there are at least two elements have
the same value. Find the fastest algorithm to detect the first
repeated element.
2、 int (*a) [10];
a++;
What is the value of a after this?
a是个指向地址的指针?还是a就是个地址?
☆─────────────────────────────────────☆
repast (xebec) 于 (Thu Jul 17 15:46:04 2008) 提到:
这第一个问题,把 |
|