Uva10474 - Where is the Marble?
摘要:两种解法: 1.计数排序 //计数排序#include#include#include#includeusing namespace std;const int maxn=10001;int v[maxn], s[maxn];int main() { int N, Q; int Kase=0; while(cin>>N>>Q && N && Q) { ...
阅读全文
posted @ 2014-06-10 16:46