-
[AtCoder][ARC082]Sandglass 题解
Sandglass 时间限制: 1 Sec 内存限制: 128 MB 原题链接https://arc082.contest.atcoder.jp/tasks/arc082_d 题目描述 We have a sandglass consisting of two bulbs, bulb A and bulb B. These bulbs contain some amount of sand. When we put the sandglass, either b...
2018-08-02 05:43:43
-
POJ - 2251 Dungeon Master
You are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed of unit cubes which may or may not be filled with rock. It takes one minute to move one unit north, south, east, west, up or down. You cannot move diagona...
2018-07-29 08:37:57
-
UVALive - 6434 (贪心)
题目链接:https://vjudge.net/problem/UVALive-6434 题意:给你n个数字,要你把这n个数字分成m组,每一组的消耗值定义为改组最大值和最小值之差,要求这m组的消耗值总和最...
2018-07-28 06:11:09
-
c++ primer学习总结day2
C++11新特性: auto: auto让编译器通过初始值来推算变量的类型。 auto定义的变量必须有初始值。 auto声明的所有变量的初始基本数据类型都必须一样。 decltype: decltype的作用是选择返回操作数的数据类型。 编译器分析表达式并得到它的类型,却不计算表达式的值。 dec...
2018-07-28 06:11:08
-
807. Max Increase to Keep City Skyline
题目描述 : In a 2 dimensional array grid , each value grid[i][j] represents the height of a building located there. We are allowed to increase the height of any number of buildings, by any amount (the amountscan be different for different buildings...
2018-07-28 06:11:07
-
[AtCoder][ARC081]Coloring Dominoes 题解
Coloring Dominoes 时间限制: 1 Sec 内存限制: 128 MB 原题链接https://arc081.contest.atcoder.jp/tasks/ARC081_B 题目描述 We have a board with a 2×N grid. Snuke covered the board with N dominoes without overlaps. Here, a domino can cover a 1×2 or 2×1...
2018-07-28 06:11:05
-
VK2C21 NSOP16 SOP20 SOP24/28 是一款存储器映射和多
型 号:VK2C21 / 品 牌:VINTEK/VINKA/元泰 封装形式:NSOP16 SOP20 SOP24 SOP28 概述 VK2C21 是一款存储器映射和多功能 LCD 控制 / 驱动芯片。该芯片显示模式有 80 点 (20×4) 或 128 点 (16×8)。VK2C21 的软件配置特性使得它 适用于多种 LCD 应用,包括 LCD 模块和...
2018-07-28 06:11:03
-
H Diff-prime Pairs
牛客网暑期ACM多校训练营(第三场) H Diff-prime Pairs 题目: 链接:https://www.nowcoder.com/acm/contest/141/H 来源:牛客网 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 262144K,其他语言524288K 64bit IO Format: %lld 题目描述 Eddy has solved lots o...
2018-07-27 06:10:31
-
char string 区别
由于在C++项目中,经常遇到处理字符方面的问题,故借此机会整理一下,让自己对于char , string 等有进一步的了解。 基本概念 由单引号括起来的一个字符成为char型字面值。双引号括起来的零个或多个字符则构成字符串型字面值。 ' a ' // 字符字面值 " Hello World! " //...
2018-07-27 06:10:30
-
BZOJ1132: [POI2008]Tro(叉积 排序)
题意 世上最良心题目描述qwq 平面上有N个点. 求出所有以这N个点为顶点的三角形的面积和 N=3000 Sol 直接模拟是$n^3$的。 考虑先枚举一个$i$,那么我们要算的就是$\sum_{j = 1}^n sum_{k = j + 1}^n |Cross((a_j, b_j), (a_k, b_k))|$ 但是在计算相对坐标以及叉积的时候...
2018-07-27 06:10:29
IDC资讯: 主机资讯 注册资讯 托管资讯 vps资讯 网站建设
网站运营: 建站经验 策划盈利 搜索优化 网站推广 免费资源
网络编程: Asp.Net编程 Asp编程 Php编程 Xml编程 Access Mssql Mysql 其它
服务器技术: Web服务器 Ftp服务器 Mail服务器 Dns服务器 安全防护
软件技巧: 其它软件 Word Excel Powerpoint Ghost Vista QQ空间 QQ FlashGet 迅雷
网页制作: FrontPages Dreamweaver Javascript css photoshop fireworks Flash




