上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 25 下一页
摘要: 一、STL引入 STL的全称为Standard Template Library,即为标准模板库,它主要依赖于模板,而不是对象,所以你需要对这个模板进行实例化,选择你要使用的类型。我们用的都是一些简单的容器吧 这里可以查到很多c++的文档http://www.cplusplus.com http:/ 阅读全文
posted @ 2018-01-20 12:06 暴力都不会的蒟蒻 阅读(3813) 评论(0) 推荐(0) 编辑
摘要: A - Move and Win Time limit : 1sec / Memory limit : 512MB Score : 300 points Problem Statement A game is played on a strip consisting of N cells conse 阅读全文
posted @ 2018-01-15 16:41 暴力都不会的蒟蒻 阅读(463) 评论(0) 推荐(0) 编辑
摘要: A旅游观光 A旅游观光 时间限制:C/C++ 1秒,其他语言2秒空间限制:C/C++ 131072K,其他语言262144K64bit IO Format: %lld 题目描述 有n个地方,编号为1->n,任意两个地方有公交车,从i到j的票价为(i+j)mod(n+1),而且这个票可以用无限次,你要 阅读全文
posted @ 2018-01-14 23:18 暴力都不会的蒟蒻 阅读(712) 评论(0) 推荐(0) 编辑
摘要: k叉树的前序和后续遍历,问一共有多少种这样的k叉树 这个就是树的同构,组合数就能解决 同样的题目在51nod也有的,我的另一篇博客 POJ 1240 Pre-Post-erous! We are all familiar with pre-order, in-order and post-order 阅读全文
posted @ 2018-01-07 13:36 暴力都不会的蒟蒻 阅读(597) 评论(0) 推荐(0) 编辑
摘要: #1636 : Pangu and Stones 时间限制:1000ms 单点时限:1000ms 内存限制:256MB 描述 In Chinese mythology, Pangu is the first living being and the creator of the sky and th 阅读全文
posted @ 2018-01-01 14:41 暴力都不会的蒟蒻 阅读(567) 评论(0) 推荐(0) 编辑
摘要: POJ - 2230 Watchcow Watchcow Bessie's been appointed the new watch-cow for the farm. Every night, it's her job to walk across the farm and make sure t 阅读全文
posted @ 2018-01-01 13:24 暴力都不会的蒟蒻 阅读(351) 评论(0) 推荐(0) 编辑
摘要: Is It A Tree? A tree is a well-known data structure that is either empty (null, void, nothing) or is a set of one or more nodes connected by directed 阅读全文
posted @ 2017-12-31 13:07 暴力都不会的蒟蒻 阅读(218) 评论(0) 推荐(0) 编辑
摘要: A -- 生是脂肪的人 Time Limit:2s Memory Limit:128MByte Submissions:263Solved:97 DESCRIPTION 给定一个整数n,输出[(10^n)/7]的个位数。其中 abs(n) ≤ 1e18 INPUT 第一行是一个正整数T (1 ≤ T 阅读全文
posted @ 2017-12-30 16:51 暴力都不会的蒟蒻 阅读(257) 评论(0) 推荐(0) 编辑
摘要: 珂朵莉的假动态仙人掌 珂朵莉的假动态仙人掌 时间限制:C/C++ 1秒,其他语言2秒空间限制:C/C++ 32768K,其他语言65536K64bit IO Format: %lld 题目描述 珂朵莉想每天都给威廉送礼物,于是她准备了n个自己的本子 她想送最多的天数,使得每天至少送一个本子,但是相邻 阅读全文
posted @ 2017-12-30 12:55 暴力都不会的蒟蒻 阅读(419) 评论(0) 推荐(0) 编辑
摘要: 太菜了啊,一不小心就goodbye rating了 A. New Year and Counting Cards time limit per test 1 second memory limit per test 256 megabytes input standard input output 阅读全文
posted @ 2017-12-30 10:15 暴力都不会的蒟蒻 阅读(687) 评论(0) 推荐(0) 编辑
摘要: 完全平方数 完全平方数 时间限制:C/C++ 1秒,其他语言2秒空间限制:C/C++ 131072K,其他语言262144K64bit IO Format: %lld 题目描述 多次查询[l,r]范围内的完全平方数个数 定义整数x为完全平方数当且仅当可以找到整数y使得y*y=x 输入描述: 第一行一 阅读全文
posted @ 2017-12-23 21:38 暴力都不会的蒟蒻 阅读(528) 评论(0) 推荐(0) 编辑
摘要: 1840: Jack Straws Time Limit(Common/Java):1000MS/10000MS Memory Limit:65536KByteTotal Submit: 154 Accepted:119 Description In the game of Jack Straws, 阅读全文
posted @ 2017-12-23 21:30 暴力都不会的蒟蒻 阅读(316) 评论(0) 推荐(0) 编辑
摘要: A. Splitting in Teams time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output There were n groups 阅读全文
posted @ 2017-12-21 22:15 暴力都不会的蒟蒻 阅读(372) 评论(0) 推荐(0) 编辑
摘要: TOJ4505: KOSARE Time Limit(Common/Java):10000MS/30000MS Memory Limit:65536KByteTotal Submit: 11 Accepted:3 Description Mirko found N boxes with variou 阅读全文
posted @ 2017-12-18 22:13 暴力都不会的蒟蒻 阅读(477) 评论(0) 推荐(0) 编辑
摘要: A. Rounding time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output A. Rounding time limit per te 阅读全文
posted @ 2017-12-17 11:48 暴力都不会的蒟蒻 阅读(655) 评论(0) 推荐(0) 编辑
摘要: 约数个数的和 约数个数的和 时间限制:C/C++ 1秒,其他语言2秒空间限制:C/C++ 32768K,其他语言65536K64bit IO Format: %lld 题目描述 给个n,求1到n的所有数的约数个数的和~ 输入描述: 第一行一个正整数n 输出描述: 输出一个整数,表示答案 示例1 输入 阅读全文
posted @ 2017-12-15 22:49 暴力都不会的蒟蒻 阅读(488) 评论(0) 推荐(0) 编辑
摘要: 4168: Same Digits Time Limit(Common/Java):1000MS/3000MS Memory Limit:65536KByteTotal Submit: 115 Accepted:62 Description Your program will be given an 阅读全文
posted @ 2017-12-15 10:55 暴力都不会的蒟蒻 阅读(300) 评论(0) 推荐(0) 编辑
摘要: 4483: Common Digit Pairs Time Limit(Common/Java):3000MS/9000MS Memory Limit:65536KByteTotal Submit: 90 Accepted:14 Description Given N integers, outpu 阅读全文
posted @ 2017-12-15 10:15 暴力都不会的蒟蒻 阅读(458) 评论(0) 推荐(0) 编辑
摘要: 4493: Remove Digits Description Given an N-digit number, you should remove K digits and make the new integer as large as possible. Input The first lin 阅读全文
posted @ 2017-12-15 10:08 暴力都不会的蒟蒻 阅读(217) 评论(0) 推荐(1) 编辑
摘要: 2680: 最大矩阵连乘次数 Time Limit(Common/Java):1000MS/10000MS Memory Limit:65536KByteTotal Submit: 144 Accepted:77 Description 给定n个矩阵{A1,A2,…,An},其中Ai与Ai+1是可乘 阅读全文
posted @ 2017-12-15 09:55 暴力都不会的蒟蒻 阅读(505) 评论(0) 推荐(0) 编辑
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 25 下一页