16282022-11-30 11:07:53fanibarkaiNomekoppython3Wrong answer 0/1004.456s265700 KiB
n = int(input())
ta = []
ta = input().split()
v = []
g = [[]for x in range(n)]
for i in range(n):
    print("?", *ta)
    v.append(int(input()))
    g[i].extend(ta)
    ta.insert(0, ta[-1])
    ta.pop(-1)

print("!", *g[v.index(max(v))], flush = True)
SubtaskSumTestVerdictTimeMemory
subtask10/0
1Wrong answer17ms11452 KiB
subtask20/10
2Wrong answer17ms11640 KiB
3Wrong answer17ms11760 KiB
subtask30/30
4Wrong answer20ms12132 KiB
5Wrong answer93ms16208 KiB
6Wrong answer93ms16420 KiB
7Wrong answer92ms16684 KiB
8Wrong answer20ms12760 KiB
9Wrong answer90ms17100 KiB
subtask40/20
10Wrong answer300ms29344 KiB
11Wrong answer298ms29680 KiB
12Wrong answer296ms29564 KiB
13Wrong answer298ms29428 KiB
subtask50/40
14Wrong answer4.421s265512 KiB
15Wrong answer4.416s265480 KiB
16Wrong answer3.846s235560 KiB
17Wrong answer3.404s207052 KiB
18Wrong answer4.368s265700 KiB
19Wrong answer4.456s265440 KiB
20Accepted4.443s265432 KiB
21Wrong answer4.352s264068 KiB