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();
相關文章
相關標籤/搜索