- 博客(8)
- 收藏
- 关注
原创 CodeForces - 691C. Exponential notation
C. Exponential notationtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given a positive decimal number x.Your task is
2017-09-17 16:37:16 266
原创 栈的创建、返回栈顶元素、删除栈顶元素、插入栈顶元素
#include #include #define STACK_INIT_SIZE 100//初始容量#define STACKINCREMENT 10//每次增加的容量typedef struct{ int *base;//栈底指针 int *top;//栈顶指针 int stacksize;//栈容量}Sqstack;int InitS
2017-09-17 09:21:09 11563
转载 用cmd查看已连接过的所有wifi名和密码
for /f "skip=9 tokens=1,2 delims=:" %i in ('netsh wlan show profiles') do @echo %j | findstr -i -v echo | netsh wlan show profiles %j key=clear转自:http://blog.csdn.net/zhang__liuchen/article/deta...
2017-09-17 09:08:39 1280
原创 线性表——创建、插入、删除、查找
#include #include #define LIST_INIT_SIZE 100//初始分配量#define LISTINCREMENT 10//分配增量#define OK 1#define ERROR 0typedef struct{ int *elem;//存储空间基址 int len;//当前长度 int listsize;
2017-09-13 19:30:32 2111
原创 链表——创建、插入、删除、查找
#include#includetypedef struct node{ int data; struct node *next;}node;node *CreateList()//创建一个单链表{ printf("创建一个长度为n的链表,请输入n:"); int n; scanf("%d",&n); node *
2017-09-10 10:01:22 410
原创 HDU-1029 Ignatius and the Princess IV
Ignatius and the Princess IVProblem Description"OK, you are not too bad, em... But you can never pass the next test." feng5166 says."I will tell you an odd number N, and then N integers. There
2017-09-02 11:54:38 249
原创 HDU-1231 最大连续子序列
最大连续子序列Problem Description给定K个整数的序列{ N1, N2, ..., NK },其任意连续子序列可表示为{ Ni, Ni+1, ..., Nj },其中 1 。最大连续子序列是所有连续子序列中元素和最大的一个, 例如给定序列{ -2, 11, -4, 13, -5, -2 },其最大连续子序列为{ 11, -4, 13 },最大和 为20。 在
2017-09-02 10:59:46 244
原创 CodeForces - 344A. Magnets
A. Magnetstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputMad scientist Mike entertains himself by arrangin
2017-09-02 09:15:24 484
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人