
二分
jiruqianlong123
这个作者很懒,什么都没留下…
展开
-
Can you find it? ——二分
Give you three sequences of numbers A, B, C, then we give you a number X. Now you need to calculate if you can find the three numbers Ai, Bj, Ck, which satisfy the formula Ai+Bj+Ck = X. Input There...原创 2018-08-03 16:16:57 · 427 阅读 · 0 评论 -
River Hopscotch ——二分
Every year the cows hold an event featuring a peculiar version of hopscotch that involves carefully jumping from rock to rock in a river. The excitement takes place on a long, straight river with a ro...原创 2018-08-03 11:05:37 · 129 阅读 · 0 评论 -
CUP
The WHU ACM Team has a big cup, with which every member drinks water. Now, we know the volume of the water in the cup, can you tell us it height? The radius of the cup’s top and bottom circle is kno...原创 2018-08-02 20:34:00 · 229 阅读 · 0 评论 -
Hamburgers
Polycarpus loves hamburgers very much. He especially adores the hamburgers he makes with his own hands. Polycarpus thinks that there are only three decent ingredients to make hamburgers from: a bread,...原创 2018-08-02 19:36:49 · 360 阅读 · 0 评论 -
Monthly Expense
Farmer John is an astounding accounting wizard and has realized he might run out of money to run the farm. He has already calculated and recorded the exact amount of money (1 ≤ moneyi ≤ 10,000) that h...原创 2018-08-02 19:35:49 · 190 阅读 · 1 评论 -
HDOJ2675 - Equation Again
This problem’s author is too lazy to write the problem description, so he only give you a equation like X (eY) == (eY) x, and the value of Y, your task is calculate the value of X. Note : here e is ...原创 2018-08-02 19:34:42 · 215 阅读 · 0 评论 -
B - Pie
My birthday is coming up and traditionally I’m serving pie. Not just one pie, no, I have a number N of them, of various tastes and of various sizes. F of my friends are coming to my party and each of ...原创 2018-07-31 11:29:35 · 142 阅读 · 0 评论 -
The Frog's Games 航电oj4004
The annual Games in frogs’ kingdom started again. The most famous game is the Ironfrog Triathlon. One test in the Ironfrog Triathlon is jumping. This project requires the frog athletes to jump over th...原创 2018-08-03 20:02:59 · 158 阅读 · 0 评论 -
最长上升子序列
求一个数组中最长上升子序列长度n^2做法:#include<cstdio>#include<cmath>#include<iostream>#include<cstring>#include<cmath>#include<cstdlib>#include<algorithm>using原创 2018-09-14 17:06:20 · 141 阅读 · 0 评论