摘要:
计算机网络 实验 作业 enSwitch#confSwitch(config)#vlan 2Switch(config-vlan)#EXITSwitch(config)#int f0/2Switch(config-if)#switchport access vlan ... 阅读全文
摘要:
A 题A. Search for Pretty Integerstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputY... 阅读全文
摘要:
Recursive sequenceTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 2187 Acce... 阅读全文
摘要:
数据结构实验:(1)采用下列方法之一建立二叉树的二叉链表:① 输入完全二叉树的先序序列,用#代表虚结点(空指针),如ABD###CE##F##,建立二叉树的二叉链表。② 已知二叉树的先序遍历序列和中序遍历序列,或者已知二叉树的中序遍历序列和后序遍历序列,建立二叉树的二... 阅读全文
摘要:
Yet Another Multiple ProblemTime Limit: 40000/20000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): ... 阅读全文
摘要:
线段树区间合并:寻找询问区间中满足条件的连续最长区间。而一个区间连续的最长区间有两种情况:1、此连续最长区间全在左子树或全在右子树,则sum[t]=max(sum[t#include #include #include #include #include #inclu... 阅读全文
摘要:
MeetingTime Limit: 12000/6000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others)Total Submission(s): 3618 Accepted Sub... 阅读全文
摘要:
Problem E. What a Ridiculous ElectionDescriptionIn country Light Tower, a presidential election is going on. There are two candidates,... 阅读全文
摘要:
FrogsTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 2828 Accepted Submissi... 阅读全文
摘要:
非常不喜欢链表操作, 又因为 c++ STL 库里 自带 stack 函数, 但是 实验课 需要自己写, 好吧模仿STL stack 写到一个结构体中, 这让我习惯了stack 函数的人很舒服。(1)输入一个十进制数,利用栈操作,将该数转换成n进制数。(... 阅读全文