模拟
ujn20161222
persistence
展开
-
2018_2_1_Expression Evaluator_模拟求值
Language: 注意处理多余空格 Expression Evaluator Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 2087 Accepted: 644 Description This problem is about evaluating原创 2018-02-01 10:49:32 · 130 阅读 · 0 评论 -
2018_2_4M*A*S*H_约瑟夫变型
M*A*S*H Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 1067 Accepted: 574 Description Corporal Klinger is a member of the 4077th Mobile Army Surgical Hospit原创 2018-02-04 18:49:18 · 406 阅读 · 0 评论 -
2018_2_4_Joseph_模拟_打表_约瑟夫进阶
Joseph Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 55895 Accepted: 21354 Description The Joseph's problem is notoriously known. For those who are not fam原创 2018-02-04 19:56:01 · 169 阅读 · 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 · 212 阅读 · 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 · 145 阅读 · 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 · 195 阅读 · 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 · 133 阅读 · 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 · 159 阅读 · 0 评论 -
PAT_L1-043. 阅览室_priority_queue_模拟
L1-043. 阅览室 时间限制 400 ms 内存限制 65536 kB 代码长度限制 8000 B 判题程序 Standard 作者 陈越 天梯图书阅览室请你编写一个简单的图书借阅统计程序。当读者借...原创 2018-02-19 18:13:43 · 182 阅读 · 0 评论 -
2018_2_4_Roman Roulette_模拟STL_vector_约瑟夫环_升级版
https://vjudge.net/problem/UVA-130 https://www.cnblogs.com/devymex/archive/2010/09/04/1813034.html #include #include #include using namespace std; int main(){ int n,k; while(scanf("%d%d",&n,&k)原创 2018-02-04 16:57:41 · 256 阅读 · 0 评论 -
2018_2_3_I Can Guess the Data Structure!_STL_模拟
https://vjudge.net/problem/UVA-11995#include #include #include #include using 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 · 581 阅读 · 0 评论 -
2018_2_3_Rails_栈_基础_模拟
https://vjudge.net/problem/UVA-514 #include #include #include #include #include #include using 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 · 143 阅读 · 0 评论 -
2018_2_1_Exponentiation_国债精度_小数乘模拟
注意整数无点 Exponentiation Time Limit: 500MS Memory Limit: 10000K Total Submissions: 175835 Accepted: 42458 Description Problems involving the computation of exact values o原创 2018-02-01 13:33:26 · 168 阅读 · 0 评论 -
2018_2_1_NUMBER BASE CONVERSION_数制转换
注意如何取余,折腾了半天 NUMBER BASE CONVERSION Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 5649 Accepted: 2568 Description Write a program to convert numbers in on原创 2018-02-01 20:52:02 · 164 阅读 · 0 评论 -
2018_2_1_If We Were a Child Again_模拟除、取余
https://vjudge.net/problem/UVA-10494 这个题我之前的bug是,对于第二个数是个位数的时候 #include #include #include #include #include #include #include using namespace std; #define ll unsigned long long const int N=100000原创 2018-02-01 21:56:16 · 155 阅读 · 0 评论 -
2018_2_2_Simple Arithmetics_模拟_大数_输出_大综合_不容易
耐心做,祝你好运 改天再写一遍 Simple Arithmetics Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 2195 Accepted: 526 Description One part of the new WAP portal is also a原创 2018-02-02 15:50:50 · 312 阅读 · 0 评论 -
2018_2_2_Fibonacci Numbers暴力的代码
https://vjudge.net/problem/UVA-10579 #include #include #include #include #include char 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 · 503 阅读 · 0 评论 -
2018_2_2_Fibonacci Numbers_打表大数_暴力
https://vjudge.net/problem/UVA-10579 #include #include #include #include #include const 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 · 161 阅读 · 0 评论 -
2018_2_2_Heritage_打表_数学
Heritage Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 7622 Accepted: 2873 Description Your rich uncle died recently, and the heritage needs to be divided原创 2018-02-02 21:37:00 · 169 阅读 · 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 · 129 阅读 · 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 · 307 阅读 · 0 评论