题解列表
~~【Java】版本~~
摘要:解题思路:注意事项:参考代码:import java.util.*;
public class Main {
public static void main(String[] args……
C语言题解 1021: [编程入门]迭代法求平方根
摘要:#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <math.h>
double squareroot(double n……
C语言题解 1093: 字符逆序
摘要:#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <string.h>
int main() {
char str[……
编写题解 1266: 马拦过河卒
摘要:解题思路:动态规划注意事项:参考代码:a, b, c, d = map(int, input().split())stop_point = [(0, 0), (-1, -2), (1, -2), (-……
Sn的公式求和,递归
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int fun(int ret) { if (ret > 9) { return ret + fun(ret / 10); } els……
编写题解 1577: 蓝桥杯算法提高VIP-铺地毯
摘要:解题思路:注意事项:参考代码:n = int(input())rugs = []result = []for j in range(n): a, b, g, k = map(int, input……
C++(乘积最大)与题目1312同一种解法
摘要://与题目1312思路完全一致,若代码看不太明白可以去洛谷上看“算式”这题的题解,不用考虑那题的特殊情况,看dp[i][j]那种思路就行
#include <iostream>
#include ……
编写题解 2762: 计算(a+b)*c的值
摘要:解题思路:wu注意事项:wu,超级简单参考代码:a,b,c=map(int,input().split())print((a+b)*c)……