![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
模拟
gtuif
大多数人永远都不会了解真实的你,但是他们会看到你所做的一切。。。
展开
-
Codeforce GoodBye2020 A - C
A. Bovine Dilemma time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Argus was charged with guarding Io, which is not an ordinary cow. Io is quite an explorer, and she wanders off rather fr原创 2020-12-31 23:26:26 · 385 阅读 · 0 评论 -
牛客网暑期ACM多校训练营(第四场)Beautiful Garden
链接:https://www.nowcoder.com/acm/contest/142/F 来源:牛客网 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 131072K,其他语言262144K 64bit IO Format: %lld 题目描述 There's a beautiful garden whose size is n x m in Chiaki's hous...原创 2018-08-16 15:50:20 · 166 阅读 · 0 评论 -
2018 Multi-University Training Contest 6 Pinball
Pinball Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others) Total Submission(s): 0 Accepted Submission(s): 0 Problem Description There is a slope on the 2D pl...原创 2018-08-08 17:04:56 · 154 阅读 · 0 评论 -
牛客网暑期ACM多校训练营(第四场)Maximum Mode
链接:https://www.nowcoder.com/acm/contest/142/G 来源:牛客网 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 131072K,其他语言262144K 64bit IO Format: %lld 题目描述 The mode of an integer sequence is the value that appears most ...原创 2018-08-15 16:50:30 · 187 阅读 · 0 评论 -
2018 Multi-University Training Contest 5 1005 Everything Has Changed
Everything Has Changed Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others) Total Submission(s): 793 Accepted Submission(s): 466Special Judge Problem Descriptio...原创 2018-08-07 22:23:53 · 149 阅读 · 0 评论 -
牛客网暑期ACM多校训练营(第二场)car
链接:https://www.nowcoder.com/acm/contest/140/I 来源:牛客网 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 131072K,其他语言262144K 64bit IO Format: %lld 题目描述 White Cloud has a square of n*n from (1,1) to (n,n). White Rabb...原创 2018-08-07 17:38:58 · 166 阅读 · 0 评论 -
牛客多校第六场 Singing Contest
链接:https://www.nowcoder.com/acm/contest/144/A 来源:牛客网 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 262144K,其他语言524288K 64bit IO Format: %lld 题目描述 Jigglypuff is holding a singing contest. There are 2n singers i...原创 2018-08-04 21:31:17 · 323 阅读 · 0 评论 -
B. Treasure Hunt
time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAfter the big birthday party, Katie still wanted Shiro to have some more fun. Later, she came up wi...原创 2018-05-15 15:51:47 · 211 阅读 · 0 评论 -
Minsum Plus
题意简单到令人发指!序列A由N个整数组成,从中选出一个连续的子序列,使得这个子序列的和为正数,且和为所有和大于零的子序列中的最小值.将这个值输出,若无解,输出no solution。输入第一行输入一个正整数N(2<N<50000)第二行输入N个整数输出输出最小的正子段和样例输入复制3 -1 2 3 样例输出复制1 最小正子段和模板#include<cstdio> #inc...原创 2018-05-14 19:23:20 · 172 阅读 · 0 评论 -
codeforce 962A Equator
A. Equatortime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputPolycarp has created his own training plan to prepare for the programming contests. He w...原创 2018-04-16 21:29:31 · 298 阅读 · 0 评论 -
Distances to Zero
You are given the array of integer numbers a0, a1, ..., an - 1. For each element find the distance to the nearest zero (to the element which equals to zero). There is at least one zero element in the原创 2017-11-04 17:44:16 · 263 阅读 · 0 评论 -
D - Integer Divisibility LightOJ - 1078
If an integer is not divisible by 2 or 5, some multiple of that number in decimal notation is a sequence of only a digit. Now you are given the number and the only allowable digit, you should report t原创 2017-07-29 11:35:59 · 249 阅读 · 0 评论 -
HPU 1007 严格递增连续子段 [模拟]
1007: 严格递增连续子段 [模拟] 时间限制: 1 Sec 内存限制: 128 MB 提交: 150 解决: 12 题目描述 给定一个有N 个正整数组成的序列,你最多可以改变其中一个元素,可以修改为任意的整数。问可以得到的严格递增连续子段的最大长度。 输入 第一行输入一个整数T ,代表有T 组测试数据。 每组数据占两行,第一行输入一个整数N原创 2017-10-21 10:21:51 · 514 阅读 · 0 评论 -
51Nod 1082 与7无关的数
题目来源: 有道难题 基准时间限制:1 秒 空间限制:131072 KB 分值: 5 难度:1级算法题 收藏 关注 一个正整数,如果它能被7整除,或者它的十进制表示法中某个位数上的数字为7,则称其为与7相关的数。求所有小于等于N的与7无关的正整数的平方和。 例如:N = 8, Input 第1行:一个数T,表示后面用作输入测试的数的数量。(1 第2 - T + 1行:每行1个原创 2017-07-20 09:47:32 · 222 阅读 · 0 评论