题解列表

筛选

筛选N以内的素数

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int N; scanf("%d",&N); for(int i=2;i<=N;i++) { int k=0;……

871da84df5s6af4ads\

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ string a,b; while(cin>>a>>b) {……

有规律的数列求和

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>using namespace std;int main(){    int n;    cin>>……

自由下落的距离计算

摘要:解题思路:注意事项:路程最后一次不算反弹参考代码:#include<iostream>#include<iomanip>using namespace std;int main(){    int m……

思路简单清晰的解法

摘要:解题思路:看过python列表操作的小伙伴应该都能看得懂注意事项:参考代码:while True:    l1 = list(map(int, input().split()))    l1.pop(……