模拟
ujn20161222
persistence
展开
-
2018_2_1_Expression Evaluator_模拟求值
Language:注意处理多余空格Expression EvaluatorTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 2087 Accepted: 644DescriptionThis problem is about evaluating原创 2018-02-01 10:49:32 · 103 阅读 · 0 评论 -
2018_2_4M*A*S*H_约瑟夫变型
M*A*S*HTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 1067 Accepted: 574DescriptionCorporal Klinger is a member of the 4077th Mobile Army Surgical Hospit原创 2018-02-04 18:49:18 · 192 阅读 · 0 评论 -
2018_2_4_Joseph_模拟_打表_约瑟夫进阶
JosephTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 55895 Accepted: 21354DescriptionThe Joseph's problem is notoriously known. For those who are not fam原创 2018-02-04 19:56:01 · 146 阅读 · 0 评论 -
2018_2_5_Anagrams by Stack_栈_模拟_回溯_递归
How can anagrams result from sequences of stack operations? There are two sequences of stack operators which can convert TROT to TORT:[ i i i i o o o o i o i i o o i o ] where i stands原创 2018-02-05 08:38:42 · 184 阅读 · 0 评论 -
2018_2_9_ShellSort _字符串_模拟_巧妙
https://vjudge.net/problem/UVA-10152#include<iostream>#include<cstdio>#include<string>#include<vector>using namespace std;string s;int main(){ int n; cin>>n; whi...原创 2018-02-09 20:25:19 · 121 阅读 · 0 评论 -
2018_2_10_Football Sort大模拟题_排序__格式
https://vjudge.net/problem/UVA-10698 注意字母对应,大小写#include<iostream>#include<cstdio>#include<string>#include<vector>#include<cstring>#include<algorithm>#include&...原创 2018-02-10 10:22:06 · 173 阅读 · 0 评论 -
Shredding Company_dfs_2018_2_27
You have just been put in charge of developing a new shredder for the Shredding Company Although a "normal" shredder would just shred sheets of paper into little pieces so that the conten...原创 2018-02-27 18:51:54 · 107 阅读 · 0 评论 -
2018_2_17_Tree Summing_树模拟
Tree SummingTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 8469 Accepted: 2079DescriptionLISP was one of the earliest high-level programming languages and, with FORTRAN, is one of the oldes...原创 2018-02-17 11:58:39 · 132 阅读 · 0 评论 -
PAT_L1-043. 阅览室_priority_queue_模拟
L1-043. 阅览室 时间限制 400 ms 内存限制 65536 kB 代码长度限制 8000 B 判题程序 Standard 作者 陈越 天梯图书阅览室请你编写一个简单的图书借阅统计程序。当读者借...原创 2018-02-19 18:13:43 · 164 阅读 · 0 评论 -
2018_2_4_Roman Roulette_模拟STL_vector_约瑟夫环_升级版
https://vjudge.net/problem/UVA-130https://www.cnblogs.com/devymex/archive/2010/09/04/1813034.html#include#include#includeusing namespace std;int main(){ int n,k; while(scanf("%d%d",&n,&k)原创 2018-02-04 16:57:41 · 222 阅读 · 0 评论 -
2018_2_3_I Can Guess the Data Structure!_STL_模拟
https://vjudge.net/problem/UVA-11995#include#include#include#includeusing namespace std;const int N=1000+10;int n;int op[N],x[N];int main(){ while(scanf("%d",&n)!=EOF){ for(int i=0;i<n;i原创 2018-02-03 21:56:08 · 559 阅读 · 0 评论 -
2018_2_3_Rails_栈_基础_模拟
https://vjudge.net/problem/UVA-514#include#include#include#include#include#includeusing namespace std;const int N=1005;int main(){ int a[N],b[N],i,j,k,n; while(scanf("%d",&n),n){ while原创 2018-02-03 13:24:00 · 121 阅读 · 0 评论 -
2018_2_1_Exponentiation_国债精度_小数乘模拟
注意整数无点ExponentiationTime Limit: 500MS Memory Limit: 10000KTotal Submissions: 175835 Accepted: 42458DescriptionProblems involving the computation of exact values o原创 2018-02-01 13:33:26 · 151 阅读 · 0 评论 -
2018_2_1_NUMBER BASE CONVERSION_数制转换
注意如何取余,折腾了半天NUMBER BASE CONVERSIONTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 5649 Accepted: 2568DescriptionWrite a program to convert numbers in on原创 2018-02-01 20:52:02 · 139 阅读 · 0 评论 -
2018_2_1_If We Were a Child Again_模拟除、取余
https://vjudge.net/problem/UVA-10494这个题我之前的bug是,对于第二个数是个位数的时候#include#include#include#include#include#include#includeusing namespace std;#define ll unsigned long longconst int N=100000原创 2018-02-01 21:56:16 · 127 阅读 · 0 评论 -
2018_2_2_Simple Arithmetics_模拟_大数_输出_大综合_不容易
耐心做,祝你好运改天再写一遍Simple ArithmeticsTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 2195 Accepted: 526DescriptionOne part of the new WAP portal is also a原创 2018-02-02 15:50:50 · 270 阅读 · 0 评论 -
2018_2_2_Fibonacci Numbers暴力的代码
https://vjudge.net/problem/UVA-10579#include #include #include #include #includechar a[4700][1100]={ "1","1","2","3","5","8","13","21","34","55","89","144","233","377","610","987","1597","258原创 2018-02-02 17:11:08 · 464 阅读 · 0 评论 -
2018_2_2_Fibonacci Numbers_打表大数_暴力
https://vjudge.net/problem/UVA-10579#include#include#include#include#includeconst int N=2000;using namespace std;ofstream out;struct bignumber{ int len; int c[N]; void setnum(char s[]原创 2018-02-02 17:14:33 · 147 阅读 · 0 评论 -
2018_2_2_Heritage_打表_数学
HeritageTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 7622 Accepted: 2873DescriptionYour rich uncle died recently, and the heritage needs to be divided原创 2018-02-02 21:37:00 · 142 阅读 · 0 评论 -
2018_2_3_The Dole Queue 模拟_uva133
read要有返回值In a serious attempt to downsize (reduce) the dole queue, The New National Green Labour Rhinoceros Party has decided on the following strategy. Every day all dole applicants will be place原创 2018-02-03 12:49:34 · 111 阅读 · 0 评论 -
Rich Game_模拟+思维+2018_3_18
Rich GameTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 420 Accepted Submission(s): 172Problem Description One day, God Sheep would like to ...原创 2018-03-18 14:56:02 · 277 阅读 · 0 评论