题解列表

筛选

编写题解 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 = ……

字符类型统计

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){    char a[100]={0};    int zimu=0,shuz……

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

#第一次写题解

摘要:解题思路:前面刚好有一个与这个类似的题目,那个题目相当是这个题目的正数部分一步一步移位就好了注意事项:看到很多人不知道0x80000000= 0b 1000 0000 0000 0000 0000 0……

数列排序C语言

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[1000][9],i,j,n,b,m,h,y[1000][9];  scanf("%d",&n); ……

[编程入门]最大公约数与最小公倍数

摘要:解题思路:首先要明白最大公约数与最小公倍数的关系以及如何求出例如:a=18 b=12最大公约数:ii=(a+b)/2;while(a%i!=0||b%i!=0){i--;}或者  for(;a%c!=……

大白话描述

摘要:解题思路:注意事项:参考代码:a=int(input().lstrip("0"))b=int(input().lstrip("0"))print(a-b)……

基因问题!!

摘要:解题思路:求比例和输入的阈值比大小注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){    char a[501],b[501];    ……