-->
当前位置:首页 > 题库

题库 第558页

  • 最新
  • 浏览
  • 评论

编程题:Assign Cookies

Luz3年前 (2022-11-26)482
Assume you are an awesome parent and want to give your children some cookies. But, you should give each child at most on…

编程题:Integer Solution

Luz3年前 (2022-11-26)534
There are two integers $x$ and $y$. The sum of $x$ and $y$ equals an integer $n$ and $x$ multiplied by $y$ equal to anot…

编程题:A Mathematical Curiosity

Luz3年前 (2022-11-26)547
Given two integers n and m, count the number of pairs of integers $(a,b)$ such that $0 < a < b < n$ and $(a^2+b…

编程题:Segment Tree

Luz3年前 (2022-11-26)493
Today HH is learning a new data structure named segment tree, which is often used to solve segment problem, here comes…

编程题:Factor Difference

Luz3年前 (2022-11-26)472
Cuber QQ is finding the minimal interesting number. An interesting number $x$ satisfies:$x$ is a positive integer;$x$ ha…

编程题:Here, Sign In

Luz3年前 (2022-11-26)689
In geometry, a cuboid is a convex polyhedron bounded by six quadrilateral faces, whose polyhedral graph is the same as t…

编程题:Rabbit

Luz3年前 (2022-11-26)627
What a cute rabbit! Mr.Gree has a lot of cute rabbits in the farm, and every rabbit has a number $a_1, a_2, a_3...a_n$.…

编程题:Apple

Luz3年前 (2022-11-26)470
There are a box of apples,which contains N apples. You're going to give them to M person. It is required that everyone m…

编程题:又见胜局排序

Luz3年前 (2022-11-26)837
n个人打乒乓球,好不热闹。已知每人各自胜了几局,请按胜局从多到少排序并输出每个人的排名rank(从1开始)、胜局数num及该人原来的输入序号index(从1开始),若num相同,则rank也相同,但输出时index小者优先输出。### 输入…

编程题:胜局排序

Luz3年前 (2022-11-26)990
n个人打乒乓球,好不热闹。已知每人各自胜了几局,请按胜局从多到少排序并输出每个人的胜局数及每个人的排名,若胜局数相同,则排名也相同。### 输入格式:首先输入一个正整数T,表示测试数据的组数,然后是T组测试数据。每组测试先输入人数n(不大于…