题解列表

筛选

1388: GC的苦恼

摘要:解题思路:注意事项:参考代码:while True:    try:        num = int(input())        if 90<=num<=100:            prin……

1131: C语言训练-斐波纳契数列

摘要:这里采用的是循环方案,也可以用递归。#include<bits/stdc++.h> using namespace std; int main(){     int n;     cin ……

2071: [STL训练]壮志难酬

摘要:用 find 函数找到小数点的位置,再加上往后移动的位数就是所求数字。#include<bits/stdc++.h> using namespace std; int main(){    ……

2058: [STL训练]Who&#039;s in the Middle

摘要:把 n 个数先后压进向量,然后排序,最后直接用索引打印中位数。#include<bits/stdc++.h> using namespace std; int main(){     int……