题解列表
自定义函数之数字后移
摘要:解题思路:注意事项:参考代码:#include<stdio.h>void yd(int a[],int m,int n){ int i,b[n]; for(i=0;i<n;i++) ……
鸡兔同笼(注意全为兔,或全为鸡的情况,用循环遍历出结果)
摘要:参考代码:
```c
#include
#define sum 80
int main()
{
int s;
scanf("%d",&s);
int x,y;//y是鸡,x是兔
……
编写题解 2749: Hello, World!
摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ cout<<"Hello, World!";}……
字符串的修改(python)
摘要:解题思路:注意事项:参考代码:def min_edit_distance(A, B): m, n = len(A), len(B) # 创建一个二维数组来记录状态 dp = ……
C语言--for循环
摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int i,j,a[3][3],b=0,c=0; for(i=0;i<3;i++) { ……
输入当月利润I,求应发奖金总数
摘要:解题思路:/*企业发放的奖金根据利润I提成。利润I低于或等于100000元的,奖金可提10%;利润高于100000元,低于或等于200000元(100000<I≤200000)时,低于等于100000……