题解列表

筛选

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……

1105数列(函数加while循环)

摘要:解题思路:注意事项:参考代码:#includeusing namespace std;//鬼知道这道题是怎么想的,我用pow求k的次方,结果总有一个例题过不去,我真的服了int power(int k……