1151
-
LeetCode 1151 Minimum Swaps to Group All 1's Together 滑动窗口
Given a binary array data, return the minimum number of swaps required to group all 1’s pr…
-
1151:素数个数
编程求2-n中有多少个素数。 #include <iostream>using namespace std;int main(){ int n,s=0,sum=0…