暴力模拟
qiuxueming_csdn
喜欢编程
展开
-
codeforces 747C Servers
C. Serverstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere are n servers in a laboratory, each of the原创 2016-12-19 16:31:17 · 638 阅读 · 0 评论 -
2017计蒜客比赛第二场A题B题
A题 https://nanti.jisuanke.com/t/15503 思路:模拟打麻将,抓拍顺抓倒着数丢色子AC代码#include #include #include #include #include #include #include #include using namespace std;const int max_n = 100005;in原创 2017-05-21 21:32:49 · 432 阅读 · 0 评论 -
简单的杀人游戏 uva 133
Descriptionh1,h2,h3,h4,h5,h6{margin-bottom:0;}div.textBG p{margin: 0 0 0.0001pt;} Download as PDFThe Dole QueueIn a serious attempt to downsize (reduce) the dole queue, The New National G原创 2015-07-22 08:51:07 · 547 阅读 · 0 评论 -
Maximum Value二分二分 暴力暴力
D - Maximum ValueTime Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmitStatusDescriptionYou are given a sequence a consisting ofn integers. Find the maximu原创 2016-01-04 18:08:44 · 489 阅读 · 0 评论 -
codeforces 670D1 Magic Powder - 1
题目链接:http://codeforces.com/problemset/problem/670/D1题目:Magic Powder - 1time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard output原创 2016-05-21 19:42:32 · 893 阅读 · 0 评论 -
codeforces 670E Correct Bracket Sequence Editor
Recently Polycarp started to develop a text editor that works only with correct bracket sequences (abbreviated as CBS).Note that a bracket sequence is correct if it is possible to get a correct math原创 2016-05-27 15:10:49 · 451 阅读 · 0 评论 -
codeforces 656b Scrambled
Btoh yuo adn yuor roomatme lhoate wianshg disehs, btu stlil sdmoeboy msut peorrfm tihs cohre dialy. Oen dya yuo decdie to idourtcne smoe syestm. Yuor rmmotaoe sstgegus teh fooniwllg dael. Yuo ar原创 2016-06-13 22:03:39 · 419 阅读 · 0 评论 -
codefroces 723c Polycarp at the Radio
C. Polycarp at the Radiotime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputPolycarp is a music editor at the原创 2016-10-03 23:48:12 · 311 阅读 · 0 评论 -
codefroces 791C Bear and Different Names
C. Bear and Different Namestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputIn the army, it isn't easy to fo原创 2017-03-19 13:09:01 · 600 阅读 · 0 评论 -
codeforces 749C Voting
C. Votingtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere are n employees in Alternative Cake Manufacturing (ACM原创 2016-12-20 12:42:00 · 584 阅读 · 0 评论 -
USACO Prime Cryptarithm
Prime CryptarithmThe following cryptarithm is a multiplication problem that can besolved by substituting digits from a specified set of N digits into thepositions marked with *. If the set of prim原创 2016-11-18 20:23:58 · 315 阅读 · 0 评论 -
codeforces 732D 模拟暴力
D. Examstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputVasiliy has an exam period which will continue for原创 2016-10-18 23:36:49 · 504 阅读 · 0 评论 -
codeforces 789B Masha and geometric depression
. Masha and geometric depressiontime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputMasha really loves algebra.原创 2017-03-30 12:52:01 · 538 阅读 · 0 评论 -
2017年计蒜客比赛复赛B D两题
B题目:https://nanti.jisuanke.com/t/15967 分析:让你判断最后画在该点上的最后的线段标号,采用直线的上点的更新,(斜率存在和斜率不存在)记录每个点的最后的画上去线段的编号AC代码:#include #include #include #include #include #include #include #include #inclu原创 2017-06-11 13:37:28 · 372 阅读 · 0 评论