其他 模拟
文章平均质量分 78
Albert__s
一直奔跑总会有出头之日。
展开
-
UVa 227 Puzzle 【数组和字符串】【模拟】
题目链接:https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=163(因为格式的原因 贴过来看起来很不舒服 所以直接发链接了,中文版可参考紫书57页习题3-5)思路很清晰就是简单地模拟一下,根据它的指令来做就好了。输入注意一下。AC代码:#incl原创 2017-02-03 01:34:02 · 462 阅读 · 0 评论 -
1999 ICPC WF C Morse Mismatches 【模拟】
PROBLEM C Morse Mismatches Input file: morse.inSamuel F. B. Morse is best known for the coding scheme that carries his name. Morse code is still used in international radio communication. The coding原创 2017-08-11 20:46:25 · 614 阅读 · 0 评论 -
UVa 12412 A Typical Homework (a.k.a Shi Xiong Bang Bang Mang) 【模拟】
题目链接:UVa 12412A Typical Homework(a.k.a Shi Xiong Bang Bang Mang)Hi, I am an undergraduate student in institute of foreign languages. As you know, C programming is a required course in our univer原创 2017-08-04 19:07:35 · 832 阅读 · 4 评论 -
HDU 6034 Balala Power! 【模拟】【大数高精度】
Balala Power!Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 2941 Accepted Submission(s): 648Problem DescriptionTalented原创 2017-07-26 11:57:43 · 667 阅读 · 0 评论 -
1990 ICPC WF C Repeating Decimals 【数组和字符串】【模拟】
题目链接: UVa 202Description: The decimal expansion of the fraction 1/33 is 0.03, where the 03 is used to indicate that the cycle 03 repeats indefinitely with no intervening digits. In fact, the decima原创 2017-06-02 20:31:55 · 453 阅读 · 0 评论 -
CodeForces 810A Straight <<A>> 【数学】【模拟】
题目链接: Codeforces Round #415 (Div. 2) ADescription: Noora is a student of one famous high school. It’s her final year in school — she is going to study in university next year. However, she has to get原创 2017-05-22 10:33:54 · 564 阅读 · 0 评论 -
EOJ 3256 拼音魔法 【模拟】
题目链接:EOJ 3256Description: 魔法学校小学一年级有一种题。就是给一个字的拼音,给一个声调,让你正确地注音。但魔法老师给了巨量的题,你不用魔法根本不可能做完。所以现在要让你发明一种魔法完成这个任务。 问题已经讲完了,下面开始教授汉语。(会汉语或者自认为会汉语的可以自动跳过) 汉语中一个字的拼音由声母和韵母两部分组成,在极少数情况下也会没有声母,但一定有韵母。 一般认为,声原创 2017-05-13 11:10:27 · 738 阅读 · 0 评论 -
UVa 101 The Blocks Problem 【STL】【vector】【模拟】
题目:点击打开链接紫书110页小技巧:输入的四种指令,找到其共同点会使代码简单多AC代码:#include #include #include #include #include #include using namespace std;const int maxn = 30;int n;vector pile[maxn];void find_block(i原创 2017-02-26 22:56:25 · 307 阅读 · 0 评论 -
UVa 489 Hangman Judge 【模拟】【练习函数的用法】
题目链接:点击打开链接题目大意及思路等参照紫书79-81页,也有代码。AC代码:#include #include #include #include #include using namespace std;int n, lena, lens, lefta;int win, lose, chance;char a[105], s[105];void guess(c原创 2017-02-12 23:34:09 · 490 阅读 · 0 评论 -
CodeForces 864D Make a Permutation! 【贪心】【模拟】
题目链接 : Codeforces Round #436 (Div. 2) DDescription:Ivan has an array consisting of n elements. Each of the elements is an integer from 1 to n.Recently Ivan learned about permutations and their lexicogr原创 2017-09-27 22:58:42 · 507 阅读 · 0 评论