- 博客(105)
- 资源 (2)
- 收藏
- 关注
原创 Codeforces 758C Unfair Poll
C. Unfair Polltime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputOn the Literature lesson Sergei noticed an awful injust
2017-08-31 16:07:47 258
原创 Codeforces 844B Rectangles
B. Rectanglestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given n × m table. Each cell of the table is col
2017-08-31 14:25:28 310
原创 Codeforces 844A Diversity
A. Diversitytime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputCalculate the minimum number of characters you need to ch
2017-08-31 14:17:58 357
原创 Codeforces 845A Chess Tourney
A. Chess Tourneytime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputBerland annual chess tournament is coming!Organizer
2017-08-31 14:13:51 258
原创 HDU 1072 Nightmare
NightmareTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 12330 Accepted Submission(s): 6015Problem DescriptionIgnatius had a nigh
2017-08-30 15:56:45 189
原创 HDU 1181 变形课
变形课Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/65536 K (Java/Others)Total Submission(s): 25852 Accepted Submission(s): 9445Problem Description呃......变形课上Harry碰到了一点小麻烦
2017-08-30 15:06:59 199
原创 HDU 1026 Ignatius and the Princess I
Ignatius and the Princess ITime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 19772 Accepted Submission(s): 6437Special JudgeProblem D
2017-08-30 14:49:14 367
原创 HDU 1015 Safecracker
SafecrackerTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 15088 Accepted Submission(s): 7960Problem Description=== Op tech brief
2017-08-30 13:37:04 217
原创 Codeforces Round #430 (Div. 2) B. Gleb And Pizza
B. Gleb And Pizzatime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputGleb ordered pizza home. When the courier delivered
2017-08-30 11:18:37 340
原创 Codeforces Round #430 (Div. 2) A. Kirill And The Game
A. Kirill And The Gametime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputKirill plays a new computer game. He came to t
2017-08-30 09:05:50 1009
原创 POJ 1703 Find them, Catch them
Find them, Catch themTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 47170 Accepted: 14526DescriptionThe police office in Tadu City decides to say ends
2017-08-29 23:43:28 199
原创 Codeforces 733A Grasshopper And the String
A. Grasshopper And the Stringtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputOne day, the Grasshopper was jumping on
2017-08-29 23:39:17 232
原创 Codeforces 359B Permutation
B. Permutationtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputA permutation p is an ordered group of numbersp1, p
2017-08-29 23:34:52 345
原创 codeforces 359A Table
A. Tabletime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputSimon has a rectangular table consisting of n rows andm col
2017-08-29 23:27:06 400
原创 UVA 10018 - Reverse and Add
题目链接:点击打开链接题目大意:给你一个数字,如果他不是回文数,就把它倒过来相加一遍,直到它变成回文数,输出步骤和最终的回文数#includeusing namespace std;typedef long long ll;ll reverse(ll tmp){ ll a=0; while(tmp){ a=a*10+tmp%10; tmp/=10; } return
2017-08-29 21:30:54 307
原创 UVA 10038 - Jolly Jumpers
题目链接:点击打开链接题目大意:每相邻的两个数之间求差,若这n个数的所有的差值正好满足1~(n-1),则输出“Jolly”,否则输出“Not Jolly”。水题#include#include#include#includeusing namespace std;int book[3010];int num[3010];int main(){ int n; //fre
2017-08-29 18:27:45 352
原创 UVA 458 - The Decoder
题目链接:点击打开链接题目大意:观察他给的字符串,找一下规律。规律就是字符的ASCII码-7#include#include#includeusing namespace std;int main(){ char ch; //freopen("in.txt","r",stdin); while((ch=getchar())!=EOF){ if(ch!='\n') pu
2017-08-29 18:18:36 310
原创 UVA 272 - TEX Quotes
题目链接:点击打开链接题目大意:在TEX中,左双引号是“``”,右双引号是“''”,给你一个字符串,把它变成TEX的样子水题,用一个变量记录一下就可以知道左右了#include#include#includeusing namespace std;int main(){ char ch; int flag=1; //freopen("in.txt","r",stdin);
2017-08-29 18:11:49 276
原创 UVA - 10071 Back to High School Physics
题目链接:点击打开链接题目大意:粒子有初始速度和加速度。如果它的速度在某一时间为v,那么它的位移在两倍的时间内是多少?(来自百度翻译)恩...物理题#include#include#includeusing namespace std;int main(){ int n,m; //freopen("in.txt","r",stdin); while(cin>>n>>m){
2017-08-29 18:02:06 284
原创 UVA 100 - The 3n + 1 problem
题目链接:点击打开链接题目大意:给你两个数字,在这两个数字之间,如果一个数字是偶数,就让他除以2,如果是奇数,就让他乘以3再加一,直到这个数变成一。记录次数,输出最多的次数一道水题~但是有个坑,就是n可能比m大.....#include#include#includeusing namespace std;int main(){ int n,m; //freopen("in
2017-08-29 17:54:13 255
原创 PAT 甲级 1019. General Palindromic Number
1019. General Palindromic Number (20)时间限制 400 ms内存限制 65536 kB代码长度限制 16000 B判题程序 Standard 作者 CHEN, YueA number that will be the same when it is writt
2017-08-28 10:10:30 237
原创 PAT 甲级 1020. Tree Traversals
1020. Tree Traversals (25)时间限制 400 ms内存限制 65536 kB代码长度限制 16000 B判题程序 Standard 作者 CHEN, YueSuppose that all the keys in a binary tree are distinct po
2017-08-27 07:57:35 227
原创 PAT 甲级 1023. Have Fun with Numbers
1023. Have Fun with Numbers (20)时间限制 400 ms内存限制 65536 kB代码长度限制 16000 B判题程序 Standard 作者 CHEN, YueNotice that the number 123456789 is a 9-digit number
2017-08-27 07:57:22 259
原创 PAT 甲级 1024. Palindromic Number
1024. Palindromic Number (25)时间限制 400 ms内存限制 65536 kB代码长度限制 16000 B判题程序 Standard 作者 CHEN, YueA number that will be the same when it is written forwa
2017-08-27 07:57:08 200
原创 POJ 1979 Red and Black
Red and BlackTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 37017 Accepted: 20099DescriptionThere is a rectangular room, covered with square tiles. Eac
2017-08-27 07:56:57 208
原创 POJ 3669 Meteor Shower
Meteor ShowerTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 21487 Accepted: 5605DescriptionBessie hears that an extraordinary meteor shower is comi
2017-08-27 07:56:34 235
原创 POJ 2431Expedition
ExpeditionTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 18002 Accepted: 5257DescriptionA group of cows grabbed a truck and ventured on an expedition d
2017-08-27 07:56:25 222
原创 POJ 2376 Cleaning Shifts
Cleaning ShiftsTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 24006 Accepted: 6019DescriptionFarmer John is assigning some of his N (1 <= N <= 25,000)
2017-08-27 07:56:15 188
原创 POJ 2385 Apple Catching
Apple CatchingTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 13132 Accepted: 6393DescriptionIt is a little known fact that cows love apples. Farmer Joh
2017-08-27 07:54:47 407
原创 POJ 3176 Cow Bowling
Cow BowlingTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 20033 Accepted: 13282DescriptionThe cows don't use actual bowling balls when they go bowling.
2017-08-27 07:53:56 288
原创 CodeForces - 816A Karen and Morning
A. Karen and Morningtime limit per test2 secondsmemory limit per test512 megabytesinputstandard inputoutputstandard outputKaren is getting ready for a new school day!
2017-08-27 07:53:38 315
原创 PAT 甲级 1015. Reversible Primes
1015. Reversible Primes (20)时间限制 400 ms内存限制 65536 kB代码长度限制 16000 B判题程序 Standard 作者 CHEN, YueA reversible prime in any number system is a prime whose
2017-08-26 19:00:28 209
原创 PAT 甲级 1011. World Cup Betting
1011. World Cup Betting (20)时间限制 400 ms内存限制 65536 kB代码长度限制 16000 B判题程序 Standard 作者 CHEN, YueWith the 2010 FIFA World Cup running, football fans the
2017-08-26 18:57:34 207
原创 PAT 甲级 1009. Product of Polynomials
1009. Product of Polynomials (25)时间限制 400 ms内存限制 65536 kB代码长度限制 16000 B判题程序 Standard 作者 CHEN, YueThis time, you are supposed to find A*B where A and
2017-08-26 18:56:20 189
原创 PAT 甲级 1008. Elevator
1008. Elevator (20)时间限制 400 ms内存限制 65536 kB代码长度限制 16000 B判题程序 Standard 作者 CHEN, YueThe highest building in our city has only one elevator. A request
2017-08-26 18:53:35 211
原创 PAT 甲级 1007. Maximum Subsequence Sum
1007. Maximum Subsequence Sum (25)时间限制 400 ms内存限制 65536 kB代码长度限制 16000 B判题程序 Standard 作者 CHEN, YueGiven a sequence of K integers { N1, N2, ..., NK }
2017-08-26 18:52:22 188
原创 PAT 甲级 1006. Sign In and Sign Out
1006. Sign In and Sign Out (25)时间限制 400 ms内存限制 65536 kB代码长度限制 16000 B判题程序 Standard 作者 CHEN, YueAt the beginning of every day, the first person who s
2017-08-26 18:50:35 210
原创 PAT 甲级 1005. Spell It Right
1005. Spell It Right (20)时间限制 400 ms内存限制 65536 kB代码长度限制 16000 B判题程序 Standard 作者 CHEN, YueGiven a non-negative integer N, your task is to compute the
2017-08-26 18:48:11 197
原创 PAT 甲级 1003. Emergency
1003. Emergency (25)时间限制 400 ms内存限制 65536 kB代码长度限制 16000 B判题程序 Standard 作者 CHEN, YueAs an emergency rescue team leader of a city, you are given a sp
2017-08-26 18:46:41 183
原创 PAT 甲级 1002. A+B for Polynomials
1002. A+B for Polynomials (25)时间限制 400 ms内存限制 65536 kB代码长度限制 16000 B判题程序 Standard 作者 CHEN, YueThis time, you are supposed to find A+B where A and B
2017-08-26 18:43:54 218
TCP/IP网络编程 [韩] 尹圣雨(带书签)
2019-04-19
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人