题解列表

筛选

编写题解 2810: 鸡尾酒疗法

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

1103开心的金明(dp动态规划)

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;const int S = 28;int M;//拥有的钱int N;//需要买的物品数int……

自定义函数之字符类型统计

摘要:解题思路:注意事项:参考代码:def tongji(m):    a,b,c,d = 0,0,0,0    for i in m:        if i.isalpha():            ……

C语言—小白易懂版本

摘要:解题思路:看代码即可注意事项:参考代码:#include<stdio.h> int fun(int n) {      if (n <= 3)return n;      else  re……

C语言--小白必懂

摘要:解题思路:后一项是的分子是后一项减去前一项分母的差即可解题注意事项:注意两两关系即可参考代码:#include <stdio.h> int main() {     int n, i = 1; ……

 编写题解 3015: 幂的末尾

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

自定义函数之数字后移

摘要:解题思路:注意事项:参考代码:def houyi(my_list,m,n):    list1=[]+my_list    for i in range(n):        list1[i] = m……

编写题解 3018: 末两位数

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