ZOJ
文章平均质量分 83
Jelly_acm
这个作者很懒,什么都没留下…
展开
-
ZOJ3696 Alien's Organ
A - Alien's Organ ZOJ - 3696 ——————————————————————————————————————输入N和入,入表示平均每天产生多少个物品,求产生物品在N以内的概率是多少?思路:带入泊松分布定理即可#include #include #include #include #include #include #原创 2017-04-06 23:16:04 · 447 阅读 · 0 评论 -
ZOJ2417 Lowest Bit
Lowest BitTime Limit: 2 Seconds Memory Limit: 65536 KBGiven an positive integer A (1 For example, given A = 26, we can write A in binary form as 11010, so the lowest bit of A is 10, so原创 2017-04-18 20:53:04 · 311 阅读 · 0 评论 -
ZOJ2418 Matrix
MatrixTime Limit: 2 Seconds Memory Limit: 65536 KBGiven an n*n matrix A, whose entries Ai,j are integer numbers ( 0 SHIFT at row i ( 0 <= i < n ) will move the integers in the row one pos原创 2017-04-18 21:05:25 · 698 阅读 · 0 评论 -
ZOJ2478 Encoding
EncodingTime Limit: 2 Seconds Memory Limit: 65536 KBGiven a string containing only 'A' - 'Z', we could encode it using the following method:1. Each sub-string containing k same characte原创 2017-04-18 23:02:26 · 341 阅读 · 0 评论 -
ZOJ2481 Unique Ascending Array
Unique Ascending ArrayTime Limit: 2 Seconds Memory Limit: 65536 KBGiven an array of integers A[N], you are asked to decide the shortest array of integers B[M], such that the following two原创 2017-04-18 23:08:48 · 329 阅读 · 0 评论 -
ZOJ2482 IP Address
IP AddressTime Limit: 2 Seconds Memory Limit: 65536 KBSuppose you are reading byte streams from any device, representing IP addresses. Your task is to convert a 32 characters long sequenc原创 2017-04-18 23:11:15 · 463 阅读 · 0 评论 -
ZOJ2388 Beat the Spread!
Beat the Spread!Time Limit: 2 Seconds Memory Limit: 65536 KBSuperbowl Sunday is nearly here. In order to pass the time waiting for the half-time commercials and wardrobe malfunctions, t原创 2017-04-16 19:18:13 · 534 阅读 · 0 评论 -
ZOJ2201 No Brainer
No BrainerTime Limit: 2 Seconds Memory Limit: 65536 KBZombies love to eat brains. Yum.InputThe first line contains a single integer n indicating the number of data sets.The follow原创 2017-04-16 19:21:50 · 436 阅读 · 0 评论 -
ZOJ2208 To and Fro
To and FroTime Limit: 2 Seconds Memory Limit: 65536 KBMo and Larry have devised a way of encrypting messages. They first decide secretly on the number of columns and write the message (le原创 2017-04-16 19:30:49 · 401 阅读 · 0 评论 -
ZOJ2405 Specialized Four-Digit Numbers
Specialized Four-Digit NumbersTime Limit: 2 Seconds Memory Limit: 65536 KBFind and list all four-digit numbers in decimal notation that have the property that the sum of its four digits e原创 2017-04-18 20:43:54 · 320 阅读 · 0 评论 -
ZOJ2748 Free Kick
Free KickTime Limit: 2 Seconds Memory Limit: 65536 KBIn a soccer game, a direct free kick is also awarded to the opposing team if a player commits any of the offences.A direct free原创 2017-04-18 20:40:34 · 424 阅读 · 0 评论 -
ZOJ3700 Ever Dream
Ever DreamTime Limit: 2 Seconds Memory Limit: 65536 KB"Ever Dream" played by Nightwish is my favorite metal music. The lyric (see Sample Input) of this song is much more like a poem. E原创 2017-04-06 23:22:12 · 515 阅读 · 0 评论 -
ZOJ3703 Happy Programming Contest
Happy Programming ContestTime Limit: 2 Seconds Memory Limit: 65536 KBIn Zhejiang University Programming Contest, a team is called "couple team" if it consists of only two students lovin原创 2017-04-06 23:33:01 · 316 阅读 · 0 评论 -
ZOJ3704 I am Nexus Master!
I am Nexus Master!Time Limit: 2 Seconds Memory Limit: 65536 KBNexusHD.org is a popular PT (Private Tracker) site in Zhejiang University aiming to provide high quality stuff. In order to e原创 2017-04-06 23:36:12 · 426 阅读 · 0 评论 -
ZOJ3767 Elevator
ElevatorTime Limit: 2 Seconds Memory Limit: 65536 KBHow time flies! The graduation of this year is around the corner. N members of ZJU ACM/ICPC Team decided to hold a party in a restaur原创 2017-04-13 23:32:31 · 276 阅读 · 0 评论 -
ZOJ3775 ?(>_o)!
?(>_o)!Time Limit: 2 Seconds Memory Limit: 65536 KB?(>_o)! is a pseudo-object-oriented programming language. It implements the following commands:CommandDescription?Chec原创 2017-04-13 23:37:04 · 456 阅读 · 0 评论 -
ZOJ3770Ranking System
Ranking SystemTime Limit: 2 Seconds Memory Limit: 65536 KBFew weeks ago, a famous software company has upgraded its instant messaging software. A ranking system was released for user gr原创 2017-04-14 12:42:59 · 350 阅读 · 0 评论 -
ZOJ3768 Continuous Login
Continuous LoginTime Limit: 2 Seconds Memory Limit: 131072 KB Special JudgePierre is recently obsessed with an online game. To encourage users to log in, this game will give users a原创 2017-04-14 12:47:36 · 418 阅读 · 0 评论 -
ZOJ1648 Circuit Board
Circuit BoardTime Limit: 2 Seconds Memory Limit: 65536 KBOn the circuit board, there are lots of circuit paths. We know the basic constrain is that no two path cross each other, for other原创 2017-04-18 20:31:06 · 313 阅读 · 0 评论 -
ZOJ2256 Mincost
MincostTime Limit: 2 Seconds Memory Limit: 65536 KBThe cost of taking a taxi in Hangzhou is not a constant for each kilometer you travel: the first 4 kilometers costs 10 yuan (yuan is t原创 2017-04-16 19:36:49 · 540 阅读 · 0 评论