简单的写了一下,不喜勿喷, 摘要:解题思路:主要考察函数调用,个人觉得是一个很经典的函数调用练习题注意事项:参考代码:#include<stdio.h>main(){ int fun1(int a,int b); int …… 题解列表 2022年02月17日 0 点赞 0 评论 371 浏览 评分:0.0
动态规划解决清楚易懂 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class dp解决01背包问题 { public static void main(String[] a…… 题解列表 2022年02月17日 0 点赞 0 评论 335 浏览 评分:0.0
c++,P1024:考虑所求是 最长不降子序列 的 长度 摘要:解题思路: 定义len = 0; 第一个元素进来,我们直接将他收入temp[len++]中; &nb 题解列表 2022年02月17日 0 点赞 0 评论 380 浏览 评分:0.0
建议改为:测测你的快读(雾) 摘要:vector 存法: ```cpp #include using namespace std; namespace io { constexpr int IN_BUF = …… 题解列表 2022年02月17日 0 点赞 0 评论 400 浏览 评分:0.0
1025: [编程入门]数组插入处理 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[9],b[10]; int i,j,k; for(i=0;i<9;i++) …… 题解列表 2022年02月17日 0 点赞 0 评论 753 浏览 评分:0.0
编写题解 1171: 蟠桃记 摘要:解题思路:注意事项:参考代码:while True: try: n=int(input()) ls=[1] for i in&nb 题解列表 2022年02月17日 0 点赞 0 评论 318 浏览 评分:0.0
解决栅格问题 摘要:解题思路:注意事项:注意高度或者宽度为零的时候参考代码:#include <stdio.h>#include <iostream>using namespace std;int main(){ int…… 题解列表 2022年02月17日 0 点赞 0 评论 296 浏览 评分:0.0
编写题解 1173: 计算球体积 摘要:解题思路:注意事项:参考代码:while True: try: r=float(input()) print('%.3f'%((4/3)*…… 题解列表 2022年02月17日 0 点赞 0 评论 605 浏览 评分:0.0
编写题解 1180: 不容易系列 摘要:解题思路:注意事项:参考代码:n=int(input()) for i in range(n): a=int(input()) y=3 for j in range(a…… 题解列表 2022年02月17日 0 点赞 0 评论 421 浏览 评分:0.0