题解列表
与指定数字相同的数的个数
摘要:解题思路:注意事项:参考代码:s=0a=list(map(int,input().split()))b=list(map(int,input().split()))for i in b: if ……
C++两个函数求阶乘和x的平方,并通过主函数调用;
摘要:解题思路:注意事项:注意返回值为double类型参考代码:#include<iostream>#include<math.h>#include<iomanip>using namespace std;……
汽水瓶(python代码)
摘要:解题思路:注意事项:参考代码while True: n=int(input()) if n==0: break c=0 while n>=3: c=……
python选择排序
摘要:解题思路:注意事项:参考代码:a=list(map(int,input().split()))a.sort()for i in a: print(i)……
注意‘'x"要大写
摘要:解题思路:注意事项:参考代码:#include<stdio.h>void main(){ int h,l,i,z,y; int d;const int n;const int j;int *p=&j;……
1226题解——贪心
摘要:解题思路:分奇偶两种情况考虑。注意事项:参考代码:#include <stdio.h>
#include <iostream>
using namespace std;
int gc……