第八届题目
JW12138
既然出生在这个世上,我就没想着活着回去!!!
展开
-
山东省第八届ACM省赛 J 题(company)
Problem Description There are n kinds of goods in the company, with each of them has a inventory of and direct unit benefit . Now you find due to price changes, for any goods sold on day i, if its原创 2017-05-10 22:16:30 · 1251 阅读 · 0 评论 -
山东省第八届ACM省赛 I 题(Parity check)
Problem Description Fascinated with the computer games, Gabriel even forgets to study. Now she needs to finish her homework, and there is an easy problem: f(n)= She is required to calculate f(n)原创 2017-05-10 21:38:16 · 1031 阅读 · 0 评论 -
山东省第八届ACM省赛 G 题(sum of power)
Problem Description Calculate mod (1000000000+7) for given n,m. Input Input contains two integers n,m(1≤n≤1000,0≤m≤10). Output Output the answer in a single line. Example Input原创 2017-05-11 10:15:14 · 1195 阅读 · 0 评论 -
山东省第八届ACM省赛 F 题(quadratic equation)
Problem Description With given integers a,b,c, you are asked to judge whether the following statement is true: "For any x, if a⋅+b⋅x+c=0, then x is an integer." Input The first line contain原创 2017-05-11 10:57:45 · 962 阅读 · 0 评论 -
山东省第八届ACM省赛 K 题(CF)
Problem Description LYD loves codeforces since there are many Russian contests. In an contest lasting for T minutes there are n problems, and for the ith problem you can get ai−di∗ti points, wh原创 2017-05-11 19:38:20 · 633 阅读 · 0 评论