题解列表
1058: 二级C语言-求偶数和
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,s=0; scanf("%d",&n); int a[n]; for(int i=0;i<n;i++……
charAt之字符串反转
摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) {……
优质题解
最长上升子序列(贪心+二分)
摘要:线性DP(O(n^2)):[传送门](https://blog.dotcpp.com/a/91960 "动态规划")
------------
## 贪心+二分(nlogn)
##### *……
================================================================
摘要:参考代码:#include <stdio.h>#include <string.h>int function(char str[]){ int h1,m1,s1,h2,m2,s2,t=0; ……
[编程入门]求和训练-题解
摘要:解题思路:利用三次循环进行求解,将a,b,c中的值依次加到Sn上注意事项:int类型可以赋值给float类型,不会损失精度c部分的除法,分子用1.0,可以将k转换为浮点数进行运算,得到的值记为浮点数编……
编写题解 1044: [编程入门]三个字符串的排序
摘要:```c
#include
#include
#include
#include
int main()
{
char a[3][128];//每一行存一串字符串
cha……