Two players play a game. They have $n > 2$ piles containing $n^{10}+1$ stones each. A move consists of removing all the piles but one and dividing the remaining pile into $n$ nonempty piles. The player that cannot move loses. Who has a winning strategy, the player that moves first or his adversary?
1. **Define Winning and Losing Positions:**
   - We label an integer \( k \) with "win" if there exist positive integers \( a_1, a_2, \cdots, a_n \) such that \( k = a_1 + a_2 + \cdots + a_n \) and if the game starts with piles \( (a_1, a_2, \cdots, a_n) \), the second player has a winning strategy.
   - Conversely, we label \( k \) with "lose" if the first player has a winning strategy for any starting configuration \( (a_1, a_2, \cdots, a_n) \).

2. **Characterize Winning Strategy:**
   - The first player has a winning strategy for \( (a_1, a_2, \cdots, a_n) \) if at least one of \( a_1, a_2, \cdots, a_n \) is a win integer.

3. **Lemma 1:**
   - \( k \) is a win if and only if there exist positive integers \( a_1, a_2, \cdots, a_n \) such that \( k = a_1 + a_2 + \cdots + a_n \) and all \( a_i \)'s are lose integers.

4. **Set of Lose Integers:**
   - We show that the set \[ L(n) = \{ k \in \mathbb{N} : (k \mod n(n-1)) \in \{1, 2, 3, \cdots, n-1\} \} \]
   is the set of all lose integers.

5. **Base Case:**
   - Clearly, \( 1, 2, 3, \cdots, n-1 \) are all lose integers.

6. **Inductive Step:**
   - Suppose for a natural \( k \), we have proved that \( m \leq kn(n-1) \), \( m \) is lose if and only if \( m \in L(n) \).
   - Let \( kn(n-1) + 1 \leq m \leq kn(n-1) + (n-1) \). Suppose by contradiction that \( m \) is win, which means there exist \( a_1, a_2, \cdots, a_n \) such that \( m = a_1 + a_2 + \cdots + a_n \) and all \( a_i \)'s are lose.
   - By the inductive hypothesis, \( a_i \in L(n) \implies a_i \mod n(n-1) \in \{1, 2, \cdots, n-1\} \).
   - Therefore, \( n \leq (a_1 + a_2 + \cdots + a_n \mod n(n-1)) \leq n(n-1) \).
   - This implies \( n \leq (m \mod n(n-1)) \leq n(n-1) \), which is a contradiction.
   - Hence, \( kn(n-1) + 1, \cdots, kn(n-1) + (n-1) \) are all lose.

7. **Conclusion:**
   - By Lemma 1, we can easily check that all numbers from \( kn(n-1) + n \) to \( (k+1)n(n-1) \) are win, completing the inductive step.

8. **Final Strategy:**
   - The second player has a winning strategy for starting piles \( (a_1, a_2, \cdots, a_n) \) if all \( a_i \)'s are in \( L(n) \).
   - The first player has a winning strategy otherwise.

The final answer is the second player has a winning strategy if all \( \boxed{ a_i } \)'s are in \( L(n) \).