
模拟
_执念_
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
ZOJ 1006:Do the Untwist(模拟)
Do the Untwist Time Limit:2 Seconds Memory Limit:65536 KB Cryptographydeals with methods of secret communication that transform a message (theplaintext) into a disguised form (theciphertex...原创 2018-09-04 16:25:43 · 206 阅读 · 0 评论 -
ZOJ 1005:Jugs(思维)
Jugs Time Limit:2 Seconds Memory Limit:65536 KB Special Judge In the movie "Die Hard 3", Bruce Willis and Samuel L. Jackson were confronted with the following puzzle. They were given a 3...原创 2018-09-06 07:45:54 · 842 阅读 · 0 评论 -
The 2018 ACM-ICPC Asia Qingdao Regional Contest, Online -C:Halting Problem(模拟)
C Halting Problem In computability theory, the halting problem is the problem of determining, from a description of an arbitrary computer program, whether the program will finish running (i.e., halt)...原创 2018-09-16 18:05:04 · 237 阅读 · 0 评论 -
SUST OJ 1641: 电子狗的心事
1641: 电子狗的心事 时间限制: 1 Sec 内存限制: 128 MB提交: 192 解决: 14 [提交][状态][讨论版] 题目描述 计算机程序世界中有一位孤独的电子狗,这个电子狗每次只能执行一种操作指令:朝着现在的方向前进X米,然后左转。 电子狗认为,它不断的执行这样的指令,最终有一条指令,能使它回到曾经走过的地方。 然而,实际上,当它已经执行完给定它的n条指令时,并不一...原创 2018-03-13 12:52:36 · 470 阅读 · 0 评论 -
HPU 1476: 括号括号
1476: 括号括号 时间限制: 3 Sec 内存限制: 128 MB 提交: 305 解决: 61 统计 题目描述 小明今年上大学,在大学里发现有很多同学都女朋友,两人整天都在一起腻歪,小明看到后感觉很孤单,现在,给你一行括号序列,你来判断一下其中的括号是否配对。 输入 多组输入,每一组第一行输入一个数T(0<<N≤≤100),表示有T组测试数据。后面的T行输入多组输入数据...原创 2018-07-29 21:12:44 · 287 阅读 · 0 评论 -
Codeforces 893A:Chess For Three(模拟)
题目链接:http://codeforces.com/problemset/problem/893/A 题意 Alex,Bob,Carl三人下棋,每次只能两个人进行下棋,要求输的那个人当旁观者,然后给出n个输赢情况,1代表Alex赢,2代表Bob赢,3代表Carl赢,判断给出的这n中情况是否符合事实 思路 模拟,因为第一场是Alex和Bob进行,所以设置三个变量,分别代表该场的胜者,败...原创 2018-08-24 08:58:33 · 316 阅读 · 0 评论 -
Codeforces 1073D:Berland Fair(模拟)
time limit per test: 2 secondsmemory limit per test: 256 megabytesinput: standard inputoutput: standard output XXI Berland Annual Fair is coming really soon! Traditionally fair consists of nnn booth...原创 2019-02-15 22:51:55 · 266 阅读 · 0 评论