Puzzleup 2018 (5) NUMBER SELECTION - 拼圖
By Bethany
at 2018-08-30T14:31
at 2018-08-30T14:31
Table of Contents
題目網址: http://www.puzzleup.com/2018/
http://www.puzzleup.com/2018/puzzle/?5
答題時限: 8月30日7PM-比賽結束(約12月12日)
加分時限: 8月30日7PM-9月5日6:59PM
答對可得基本分100分。答案可上傳5次,每改1次答案從基本分扣20分。
比賽期間內可隨時上傳答案,加分時限內答對第n天加(6-n)分
另依題目的難易有額外加分(如有80%的人這題答錯,答對者加80分)
◆NUMBER SELECTION
Given any X integers (not necessarily distinct), if it is always possible to
select Y of them whose sum is divisible by 7, what is the minimum value of X
and the corresponding value of Y?
Note: X and Y are positive integers.
If the same question were asked for divisibility by 2, the minimum value of X
would be 3 and the corresponding value of Y would be 2.
Enter the minimum X, then the corresponding Y without using a space in between.
給予X個任意整數(可以重覆),一定能從中挑選出Y個數,使其總和能整除於7,則X的最
小值與其相應的Y值呢?
註:X與Y都是正整數。
若題目要求整除於2,則X的最小值會是3,相對應的Y會是2。
輸入最小的X,接著相對應的Y,中間無需空格。
--
http://www.puzzleup.com/2018/puzzle/?5
答題時限: 8月30日7PM-比賽結束(約12月12日)
加分時限: 8月30日7PM-9月5日6:59PM
答對可得基本分100分。答案可上傳5次,每改1次答案從基本分扣20分。
比賽期間內可隨時上傳答案,加分時限內答對第n天加(6-n)分
另依題目的難易有額外加分(如有80%的人這題答錯,答對者加80分)
◆NUMBER SELECTION
Given any X integers (not necessarily distinct), if it is always possible to
select Y of them whose sum is divisible by 7, what is the minimum value of X
and the corresponding value of Y?
Note: X and Y are positive integers.
If the same question were asked for divisibility by 2, the minimum value of X
would be 3 and the corresponding value of Y would be 2.
Enter the minimum X, then the corresponding Y without using a space in between.
給予X個任意整數(可以重覆),一定能從中挑選出Y個數,使其總和能整除於7,則X的最
小值與其相應的Y值呢?
註:X與Y都是正整數。
若題目要求整除於2,則X的最小值會是3,相對應的Y會是2。
輸入最小的X,接著相對應的Y,中間無需空格。
--
Tags:
拼圖
All Comments
Related Posts
Puzzleup 2018 (4) DIGIT SUMS
By Eartha
at 2018-08-23T14:09
at 2018-08-23T14:09
朋友買了一張古老明信片...
By Frederica
at 2018-08-23T09:29
at 2018-08-23T09:29
Puzzleup 2018 (3) CARDS
By Steve
at 2018-08-16T21:15
at 2018-08-16T21:15
Puzzleup 2018 (2) LETTER COUNT
By Oscar
at 2018-08-16T21:14
at 2018-08-16T21:14
Puzzleup 2018 (1) TRIANGLE, SQUARE, RE
By Callum
at 2018-08-16T21:12
at 2018-08-16T21:12