QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#505589 | #3427. Getting Rid of Coins | xiaowuc1 | AC ✓ | 46ms | 39612kb | Java8 | 2.8kb | 2024-08-05 06:18:01 | 2024-08-05 06:18:02 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
Test #1:
score: 100
Accepted
time: 46ms
memory: 37556kb
input:
14 11 0 1 1
output:
5
result:
ok single line: '5'
Test #2:
score: 0
Accepted
time: 46ms
memory: 38032kb
input:
30 5 0 3 1
output:
6
result:
ok single line: '6'
Test #3:
score: 0
Accepted
time: 32ms
memory: 38224kb
input:
12 6 6 0 4
output:
4
result:
ok single line: '4'
Test #4:
score: 0
Accepted
time: 35ms
memory: 37308kb
input:
783 15 51 39 14
output:
108
result:
ok single line: '108'
Test #5:
score: 0
Accepted
time: 36ms
memory: 37368kb
input:
6863 2862 155 210 67
output:
3267
result:
ok single line: '3267'
Test #6:
score: 0
Accepted
time: 42ms
memory: 37132kb
input:
92573 26598 809 3704 1241
output:
32106
result:
ok single line: '32106'
Test #7:
score: 0
Accepted
time: 40ms
memory: 37248kb
input:
208823 317 912 6847 1288
output:
Impossible
result:
ok single line: 'Impossible'
Test #8:
score: 0
Accepted
time: 38ms
memory: 39612kb
input:
33876241 9888057 357603 843373 455010
output:
Impossible
result:
ok single line: 'Impossible'
Test #9:
score: 0
Accepted
time: 27ms
memory: 38092kb
input:
100000000 2937029 14974823 1234243 12631827
output:
19539947
result:
ok single line: '19539947'
Test #10:
score: 0
Accepted
time: 30ms
memory: 36956kb
input:
100000000 29837029 197823 291702 99185427
output:
32976823
result:
ok single line: '32976823'
Test #11:
score: 0
Accepted
time: 36ms
memory: 39540kb
input:
100000000 99999995 0 1 1
output:
99999991
result:
ok single line: '99999991'
Test #12:
score: 0
Accepted
time: 39ms
memory: 37476kb
input:
100000000 99999980 3 0 3
output:
99999976
result:
ok single line: '99999976'
Test #13:
score: 0
Accepted
time: 35ms
memory: 36992kb
input:
100000000 99999929 2 6 1
output:
99999932
result:
ok single line: '99999932'