猜拳(youVScomputer) 摘要:#include<iostream>#include<cstdlib>#include<ctime>using namespace std;int main(){ int c,p;//定义电脑(c),…… 文章列表 2022年03月11日 0 点赞 0 评论 231 浏览 评分:9.9
打怪鬼脸 做鬼脸 摘要:#include<bits/stdc++.h>#include<conio.h>#include<windows.h>using namespace std;double shanghai[20]={…… 文章列表 2022年03月11日 0 点赞 1 评论 274 浏览 评分:9.9
2048上下左右 摘要:#include <iostream> #include <windows.h> #include <ctime> using namespace std; int const ROW =…… 文章列表 2022年03月11日 0 点赞 0 评论 571 浏览 评分:9.9
扫雷( window原版规则) 摘要:#include<bits/stdc++.h>#include<windows.h>using namespace std;long long int c,dev,m,k,cnt,d,e,jie=10…… 文章列表 2022年03月11日 0 点赞 0 评论 521 浏览 评分:9.9
精品文章 每日算法题:反转链表 摘要:描述(来自牛客):给定一个单链表的头结点pHead(该头节点是有值的,比如在下图,它的val是1),长度为n,反转该链表后,返回新链表的表头。数据范围:0≤n≤1000要求:空间复杂度 O(1) ,时…… 文章列表 2022年03月12日 0 点赞 0 评论 538 浏览 评分:9.9
精品文章 每日算法题:二分查找 摘要:描述(来自牛客):请实现无重复数字的升序数组的二分查找。给定一个 元素升序的、无重复数字的整型数组 nums 和一个目标值 target ,写一个函数搜索 nums 中的 target,如果目标值存在…… 文章列表 2022年03月12日 0 点赞 0 评论 376 浏览 评分:9.9
龙腾数(Python 和 C++)(<1000) 摘要:Python:for i in range(1,1000): n=str(i) s=0 for x in n: s+=int(x) if s==5: …… 文章列表 2022年03月12日 0 点赞 0 评论 1224 浏览 评分:7.9
C进制转换(不带/带前缀) 摘要:无前缀方式:printf("%o",num) //无前缀o的8进制数printf("%d",num) //无前缀0d的10进制数printf("%x",num) //无前缀0x的小写16进制数p…… 文章列表 2022年03月12日 0 点赞 0 评论 218 浏览 评分:9.9
俄罗斯方块 摘要:#include<bits/stdc++.h> using namespace std; int block00[4][4] = { { 10,0,0,0 },{ 1,1,1,1 },{ 0,…… 文章列表 2022年03月13日 0 点赞 2 评论 271 浏览 评分:7.3
蓝桥杯直线题解(摘自ACWING) 摘要:#include<bits/stdc++.h>using namespace std;typedef long long ll;typedef long double ld;const int N=2…… 文章列表 2022年03月18日 0 点赞 0 评论 363 浏览 评分:0.0