年会 (C++代码) 摘要: Dp苦手( 。参考代码:#ifndef LOCAL #include <bits/stdc++.h> #endif constexpr auto Inf = 0X3F3F…… 题解列表 2019年05月21日 0 点赞 0 评论 867 浏览 评分:9.9
蓝桥杯算法训练VIP-寂寞的数 (Java代码) 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main {public static void main(String[] args) {S…… 题解列表 2019年05月21日 0 点赞 0 评论 642 浏览 评分:9.9
数据结构-平衡二叉树的基本操作 (C++代码) 摘要: Splay,以及所有基础操作参考代码:#ifndef LOCAL #include <bits/stdc++.h> #endif constexpr auto Inf = 0X…… 题解列表 2019年05月22日 0 点赞 0 评论 1009 浏览 评分:9.9
数据结构-n阶Hanoi塔问题 (C++代码)---momoc 摘要:解题思路:水题。注意事项:参考代码:#include <bits/stdc++.h> using namespace std; int step = 1; void move(char x,in…… 题解列表 2019年05月23日 1 点赞 0 评论 930 浏览 评分:9.9
筛排处理 (C语言代码) 摘要:#include<stdio.h>int main(){ int x,t,i,j,n,b[100],a[100]; while(scanf("%d",&n)!=EOF&&n!=0) { x=0; …… 题解列表 2019年05月25日 0 点赞 0 评论 1388 浏览 评分:9.9
幸运儿 (C++语言代码)我的代码绝对看着特别有亲切感 摘要:解题思路这道题跟出圈的思想只是有一个地方不一样,就是每次小循环完之后记得是的计算的数重新归零,如若不然可能会出现bug,可自行调试注意事项:参考代码:/*n 个人围成一圈, 并依次编号1~n,。从编号…… 题解列表 2019年05月31日 1 点赞 0 评论 1724 浏览 评分:9.9
姜太公钓鱼 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,num=0; scanf("%d",&n); int s[n],i; for(i=0;i<n;i++…… 题解列表 2019年05月31日 0 点赞 0 评论 834 浏览 评分:9.9
ASCII码和toupper函数的结合 摘要:解题思路:用strlen求出本次输入的数组长度再根据ASCII码对应的小写字母范围用toupper函数调整注意事项:函数原型:extern int toupper(int c);在ctype.h文件中…… 题解列表 2019年06月02日 0 点赞 0 评论 788 浏览 评分:9.9
[编程入门]自定义函数之字符串拷贝 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main(){ char a[100]; int n,m,i; scanf("%d",&n);…… 题解列表 2019年06月02日 2 点赞 1 评论 1100 浏览 评分:9.9
数列问题 (C语言代码)挺简单的 摘要:解题思路:按题模拟注意事项:无参考代码:#include<stdio.h>int main(){ int n,i; int a=3,b=4,c=5,sum; scanf("%d",&n); if(n=…… 题解列表 2019年06月02日 0 点赞 0 评论 681 浏览 评分:9.9