Codeforces Round #584 (Div. 1 + Div. 2)

Contest Pagehtml A sol 每次选最小的,而后把它的全部倍数都删掉。 #include<bits/stdc++.h> using namespace std; int read(){ int a = 0; char c = getchar(); bool f = 0; while(!isdigit(c)){f = c == '-'; c = getchar();
相关文章
相关标签/搜索