改进了别人的代码,删除的数字不能链表在最后 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>typedef struct STU { int num; struct STU* next;}li…… 题解列表 2021年03月24日 0 点赞 0 评论 471 浏览 评分:2.0
就两行代码,来看看吧 摘要:```java import java.util.Scanner; public class Main { public static void main(String[] ar…… 题解列表 2021年04月01日 0 点赞 0 评论 474 浏览 评分:2.0
C语言训练-"水仙花数"问题2 摘要:参考代码:#include<stdio.h>#include<math.h>main(){ int n,a,b,c; for(n=100;n<=999;n++) { …… 题解列表 2021年04月01日 0 点赞 0 评论 437 浏览 评分:2.0
Java优质实现, 摘要:解题思路:注意事项:居然是两次中根遍历,笑掉我的大牙参考代码:import java.util.LinkedList;import java.util.Scanner;class TreeNode{ …… 题解列表 2021年04月01日 0 点赞 0 评论 857 浏览 评分:2.0
容易理解的C语言代码 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int LeapYear(int year) //判断是否为闰年,闰年2月有29天,平年28天 { if (ye…… 题解列表 2021年04月02日 0 点赞 0 评论 538 浏览 评分:2.0
信息学奥赛一本通T1588-数字游戏-题解(C++代码) 摘要: 数位DP板子题(本质记忆化搜索)constexpr auto Inf = 0X3F3F3F3F; #ifndef LOCAL #include <bits/stdc++.h> …… 题解列表 2021年04月02日 0 点赞 0 评论 874 浏览 评分:2.0
求s=a+aa+aaa+aaaa+aa...a的值 摘要:解题思路:注意事项:参考代码:def fun(n,a): x=a for i in range(1,n): x = x*10 x +=&n 题解列表 2021年04月03日 0 点赞 0 评论 499 浏览 评分:2.0
暴力C语言解题 摘要:解题思路:第一组整数的勾股数是3,4,5所以可以让a从3开始,b从4开始,c从5开始然后通过暴力的方法解决注意事项:参考代码:#include <stdio.h> int main() { …… 题解列表 2021年04月05日 0 点赞 0 评论 842 浏览 评分:2.0
1432: 蓝桥杯2013年第四届真题-剪格子(Python3)DFS 摘要:解题思路:注意事项:参考代码:def dfs(x=0, y=0, add_all=0): global map_, visited, around, sum_, res, end_flag …… 题解列表 2021年04月14日 0 点赞 0 评论 452 浏览 评分:2.0
C++版本——打表+字符串与数字转换拆分 摘要:```cpp #include using namespace std; int flag[1000100] = {0}; //标记平方数 int p[100000]; //存平方数 …… 题解列表 2021年04月17日 0 点赞 0 评论 609 浏览 评分:2.0