上一页 1 ··· 47 48 49 50 51 52 53 54 55 ··· 82 下一页
摘要: 插入链表: 利用尾插法,搞一个变量表示最后一个元素就行了。// 针对单个链表的可以,但是其他的,就不行,我的评价不如 链式前向星。 插入和删除看代码,注意特判空链表和head。 #include <bits/stdc++.h> using namespace std; #define ri regi 阅读全文
posted @ 2022-04-25 19:38 VxiaohuanV 阅读(28) 评论(0) 推荐(0)
摘要: content deliver clearly, interesting confident :be confident about what i want to say,research it well,use the availble resource to help me give some 阅读全文
posted @ 2022-04-25 15:20 VxiaohuanV 阅读(279) 评论(0) 推荐(0)
摘要: 简单理解: 指向一个东西的地址,可以表示这个东西的值,修改这个指针可以修改这个东西的值,当然这个指针本身也有自己独立的一个内存地址。 定义类型: 就是普通的类型后面加上一个 *(int *, char *。。。。。) 基本操作: 注意 2个 符号 * 和 & , int *a=&b; printf( 阅读全文
posted @ 2022-04-25 14:50 VxiaohuanV 阅读(31) 评论(0) 推荐(0)
摘要: 为什么周末管不住自己,状态这么差劲? 睡眠的问题,还是没有搞好,没有app的帮助 看小说入迷了 游戏是玩不进去的, 直播很好看? 悲观厌世??? 我发现还得外面的世界好啊 阅读全文
posted @ 2022-04-25 08:51 VxiaohuanV 阅读(26) 评论(0) 推荐(0)
摘要: 【GPLT】L1-009 N个数求和 题目描述: 本题的要求很简单,就是求N个数字的和。麻烦的是,这些数字是以有理数分子/分母的形式给出的,你输出的和也必须是有理数的形式。 输入格式: 输入第一行给出一个正整数N(≤100)。随后一行按格式a1/b1 a2/b2 ...给出N个有理数。题目保证所有分 阅读全文
posted @ 2022-04-22 10:24 VxiaohuanV 阅读(93) 评论(0) 推荐(0)
摘要: 小知识: TCP : 可靠性强。占据空间和时间较多,2个来回(建立联系,确认联系,发请求,接受请求) UTP:可靠性不高, 1个来回(丢失,在发送就行了) 更具这2点进行分类 阅读全文
posted @ 2022-04-21 18:37 VxiaohuanV 阅读(29) 评论(0) 推荐(0)
摘要: You are given a rooted tree consisting of nn vertices numbered from 11 to nn. The root of the tree is a vertex number 11. A tree is a connected undire 阅读全文
posted @ 2022-04-20 20:43 VxiaohuanV 阅读(38) 评论(0) 推荐(0)
摘要: k2 k teams participate in a playoff tournament. The tournament consists of 2^k - 12 k −1 games. They are held as follows: first of all, the teams are 阅读全文
posted @ 2022-04-20 19:45 VxiaohuanV 阅读(31) 评论(0) 推荐(0)
摘要: As we all know, Max is the best video game player among her friends. Her friends were so jealous of hers, that they created an actual game just to pro 阅读全文
posted @ 2022-04-20 17:05 VxiaohuanV 阅读(153) 评论(0) 推荐(0)
摘要: Moamen and Ezzat are playing a game. They create an array aa of nn non-negative integers where every element is less than 2^k2 k . Moamen wins if a_1 阅读全文
posted @ 2022-04-20 16:23 VxiaohuanV 阅读(41) 评论(0) 推荐(0)
上一页 1 ··· 47 48 49 50 51 52 53 54 55 ··· 82 下一页