洛谷 P1031 [NOIP2002 提高组] 均分纸牌 题解 本题的代码(采用c++语言)。 #include <bits/stdc++.h> using namespace std; int N; int a[105]; int main(){ cin>>N;//纸牌堆数<