Cut the sticks

AC代码:(一个数组存数字种类另一个存这个种类的数字的个数) #include <iostream>#include <bits/stdc++.h>using namespace std;int main(){    int i, n, a[1000+10], b[1000+10], x, h;    while(scanf("%d",&n)!=EOF)    {        int q = n
相关文章
相关标签/搜索