相关分类: Java技术 C/C++ VB delphi
  • tmp

    算法分析作业: 1. 使用快速排序和冒泡排序进行数组排序 2. 使用蛮力法进行字符串匹配 1 /* 2 * @Author: bpf 3 * @Date: 2020-04-01 08:54:13 4 * @LastEditTime: 2020-04-01 10:12:08 5 * @LastEditors: bpf 6 * @Description: 使用快速和冒泡排序数组 7 * @FilePath...

    2020-04-01 16:00:30

  • Window中的shellcode编写框架(入门篇)

    Window中的shellcode编写框架(入门篇) Shellcode 定义 是一段可注入的指令(opcode),可以在被攻击的程序内运行。 特点 短小精悍,灵活多变,独立存在,无需任何文件格式的包装,因为shellcode直接操作寄存器和函数,所以opcode必须是16进制形式。因此也不能用高级...

    2020-03-31 16:02:57

  • C++抓图服务

    C++抓图服务 基于前两篇抓图文章,本文将抓图提取为一个服务,实现不同场景下抓图需求的封装。 C++使用BitBlt进行窗口抓图 C++使用PrintWindow进行窗口抓图 首先是抓图服务: ICaptureHelper.h #pragma once #include windows.h #include string using std:: string ;...

    2020-03-31 16:02:46

  • 【题解】Building Strings Gym - 102152E

    【题解】Building Strings Gym - 102152E 【题面】 You are given a string s of length n consisting of lowercase English letters. This string can be used to build other strings. The cost of each letter in s is given by another string c of length n consi...

    2020-03-31 16:02:40

  • L1-016 查验身份证 (15分)

    L1-016 查验身份证 (15分) GPLT-天梯赛-L1-016 查验身份证 (15分) L1-016 查验身份证 (15分) 一个合法的身份证号码由 \(17\) 位地区、日期编号和顺序编号加 \(1\) 位校验码组成。校验码的计算规则如下: 首先对前 \(17\) 位数字加权求和,权重分配为: \(\{ 7,9,10,...

    2020-03-31 16:02:34

  • C语言数组指针的理解方式

    C语言数组指针的理解方式...

    2020-03-31 16:02:32

  • L1-015 跟奥巴马一起画方块 (15分)

    L1-015 跟奥巴马一起画方块 (15分) GPLT-天梯赛-L1-015 跟奥巴马一起画方块 (15分) L1-015 跟奥巴马一起画方块 (15分) 美国总统奥巴马不仅呼吁所有人都学习编程,甚至以身作则编写代码,成为美国历史上首位编写计算机代码的总统。2014 年底,为庆祝“计算机科学教育周...

    2020-03-31 16:02:18

  • 单链表

    单链表 #includestdio.h #include stdlib.h typedef struct Lnode{ char data; /* 数据域,保存节点的值。 */ struct Lnode*next; /* 指针域 */ } LNode; /* 节点的类型 */ LNode *CreateList_L( int n); void DispalyList(LNode* L); void main(){ int i; LNode * hea...

    2020-03-31 16:01:21

  • 顺序算法

    顺序算法 #include " stdio.h " #include " stdlib.h " #define MaxSize 100 typedef struct sqlist{ int data[MaxSize]; int length; }SqList; void CreateList(SqList *p, int data[], int n); int ListInsert(SqList *p, int i , int e); void ShowList(SqList *p,...

    2020-03-31 16:01:52

  • 2020年3月28日UCF Local Programming Contest 2016

    2020年3月28日UCF Local Programming Contest 2016 A. Majestic 10 题意:给你三个数,要你判断三个数中有多少个数是大鱼等于10的,并根据数量打印相关输出即可 题解:这是一道简单的签到题,简单。 代码: 1 #includeiostream 2 #includecstring 3 #includealgorithm...

    2020-03-31 16:00:57

首页 上一页 15 16 17 18 19 20 21 22 23 24 25 下一页 末页 119311925
2