题解列表

筛选

python简单易懂

摘要:解题思路:注意事项:参考代码:while True:    try:        n = int(input())        if n!=0:            c = n%10      ……

取余运算(C++)

摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int b, p, k;int f(int p){ int q; if (p == 0) r……

求和训练题解

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){        int a, b, c;        int max = 0;//这里我们创建一个最大值的变量 ……

求和训练题解

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a, b, c; int max = 0;//这里我们创建一个最大值的变量 double count =……

字符串对比:简单逻辑题

摘要:解题思路:本体思路简单,我直接把思路标注在注释里,其实也用不了几句注意事项:不要看错判断条件了,1到4不是逐渐递进的参考代码:a=input()b=input()if len(a)!=len(b): ……

河中跳房子(C++)

摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int L,N,M,a[10000];int f(int x){ int ans=0,t=0……