题解列表

筛选

只做最好的题解

摘要:#include<iostream> //#include<bits/stdc++.h> #include<cmath> #include<cstring> #include<algorith……

Java优质实现,

摘要:解题思路:注意事项:居然是两次中根遍历,笑掉我的大牙参考代码:import java.util.LinkedList;import java.util.Scanner;class TreeNode{ ……

容易理解的C语言代码

摘要:解题思路:注意事项:参考代码:#include <stdio.h> int LeapYear(int year)  //判断是否为闰年,闰年2月有29天,平年28天 {     if (ye……

求s=a+aa+aaa+aaaa+aa...a的值

摘要:解题思路:注意事项:参考代码:def fun(n,a):     x=a     for i in range(1,n):         x = x*10         x +=&n