
模拟
gtuif
大多数人永远都不会了解真实的你,但是他们会看到你所做的一切。。。
展开
-
Codeforce GoodBye2020 A - C
A. Bovine Dilemmatime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputArgus 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 · 427 阅读 · 0 评论 -
牛客网暑期ACM多校训练营(第四场)Beautiful Garden
链接:https://www.nowcoder.com/acm/contest/142/F来源:牛客网 时间限制:C/C++ 1秒,其他语言2秒空间限制:C/C++ 131072K,其他语言262144K64bit IO Format: %lld题目描述There's a beautiful garden whose size is n x m in Chiaki's hous...原创 2018-08-16 15:50:20 · 186 阅读 · 0 评论 -
2018 Multi-University Training Contest 6 Pinball
PinballTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others)Total Submission(s): 0 Accepted Submission(s): 0 Problem DescriptionThere is a slope on the 2D pl...原创 2018-08-08 17:04:56 · 173 阅读 · 0 评论 -
牛客网暑期ACM多校训练营(第四场)Maximum Mode
链接:https://www.nowcoder.com/acm/contest/142/G来源:牛客网 时间限制:C/C++ 1秒,其他语言2秒空间限制:C/C++ 131072K,其他语言262144K64bit IO Format: %lld题目描述The mode of an integer sequence is the value that appears most ...原创 2018-08-15 16:50:30 · 218 阅读 · 0 评论 -
2018 Multi-University Training Contest 5 1005 Everything Has Changed
Everything Has ChangedTime 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 · 168 阅读 · 0 评论 -
牛客网暑期ACM多校训练营(第二场)car
链接:https://www.nowcoder.com/acm/contest/140/I来源:牛客网 时间限制:C/C++ 1秒,其他语言2秒空间限制:C/C++ 131072K,其他语言262144K64bit 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 · 184 阅读 · 0 评论 -
牛客多校第六场 Singing Contest
链接:https://www.nowcoder.com/acm/contest/144/A来源:牛客网 时间限制:C/C++ 1秒,其他语言2秒空间限制:C/C++ 262144K,其他语言524288K64bit IO Format: %lld题目描述Jigglypuff is holding a singing contest. There are 2n singers i...原创 2018-08-04 21:31:17 · 377 阅读 · 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 · 228 阅读 · 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 · 194 阅读 · 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 · 324 阅读 · 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 · 284 阅读 · 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 · 272 阅读 · 0 评论 -
HPU 1007 严格递增连续子段 [模拟]
1007: 严格递增连续子段 [模拟]时间限制: 1 Sec 内存限制: 128 MB提交: 150 解决: 12 题目描述给定一个有N个正整数组成的序列,你最多可以改变其中一个元素,可以修改为任意的整数。问可以得到的严格递增连续子段的最大长度。输入第一行输入一个整数T,代表有T组测试数据。每组数据占两行,第一行输入一个整数N原创 2017-10-21 10:21:51 · 548 阅读 · 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 · 278 阅读 · 0 评论