用户输出
[26, 70, 27, 89, 46, 85, 76, 68, 11]
3G wanna win win
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
编号 | 题目 | 状态 | 分数 | 总时间 | 内存 | 代码 / 答案文件 | 提交者 | 提交时间 |
---|---|---|---|---|---|---|---|---|
#31918 | #2063. 海鲜八爪鱼VS小猴7 | Wrong Answer | 0 | 7213 ms | 38732 K | Python 3 / 977 B | banned26 | 2025-03-16 20:53:49 |
def can_octopus_win(n, p, q, student_scores, lectures):
# Apply the lecture changes to the student scores
for l, r, v in lectures:
for i in range(l - 1, r):
student_scores[i] += v
# Determine the maximum scores for octopus and monkey
octopus_max_score=p
if p<=max(student_scores):
octopus_max_score =max(student_scores)
monkey_max_score = q
print(student_scores)
# Compare scores and determine the result
return "G win win!" if octopus_max_score >= monkey_max_score else "3G wanna win win"
# Input processing
n, p, q = map(int, input().split()) # numbers of students, octopus score, monkey score
student_scores = list(map(int, input().split())) # initial student scores
T = int(input()) # number of lectures
lectures = [tuple(map(int, input().split())) for _ in range(T)] # lecture details
# Output result
result = can_octopus_win(n, p, q, student_scores, lectures)
print(result)
用户输出
[26, 70, 27, 89, 46, 85, 76, 68, 11]
3G wanna win win
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
49 2 158
26 70 27 89 53 92 74 66 8 46 38 12 24 100 30 35 92 35 28 74 53 6 70 36 85 45 64 62 82 30 8
<288 bytes omitted>
用户输出
[26, -85, -128, -66, -102, -213, -231, -239, -306, -358, -380, -432, -420, -384, -454, -540, -487, -641, -720, -594, -615, -662,
<175 bytes omitted>
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
91 67 172
72 90 71 26 28 71 6 58 77 68 94 2 56 99 86 25 15 36 37 54 32 18 72 16 38 20 17 7 98 42 30
<943 bytes omitted>
用户输出
[72, 46, -35, -80, -78, -35, -100, -140, -320, -153, -263, -353, -376, -333, -363, -571, -576, -627, -650, -629, -728, -748, -59
<418 bytes omitted>
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
32 186 194
36 64 90 42 53 76 90 84 58 48 78 34 27 28 16 42 2 24 98 82 27 56 94 48 30 82 27 84 2 22
<983 bytes omitted>
用户输出
[-100, -739, -729, -800, -802, -1027, -956, -1196, -1317, -1732, -1747, -1743, -1481, -1484, -1452, -1390, -1412, -1425, -994, -
<95 bytes omitted>
Special Judge 信息
Files user_out and answer differ
系统信息
Exited with return code 0
157146 167851002 301413358
336971126 659598370 160567227 391749389 4890853 35766292 26239574 473038
<1595587 bytes omitted>
65182 260983746 255370802
162536035 11951271 291815006 132311412 746986514 302469818 96790556 70175
<738647 bytes omitted>
32309 35212212 187762664
16262171 373702136 216443852 466796266 101877274 236884686 198373430 93734
<504422 bytes omitted>
200000 757149 167851002
301413358 336971126 659598370 160567227 391749389 4890853 35766292 26239574
<6776449 bytes omitted>
200000 189180434 119094263
234777188 565234657 323089474 390682726 305252786 182678938 424591742 18
<6775655 bytes omitted>
200000 99532526 234181142
100320052 127241122 942243178 247457954 769793172 248882953 33851162 2858
<6774597 bytes omitted>