from sys import stdin, stdout
def main():
n:int=int(stdin.readline())
powers=stdin.readline().split()
powers = [int(i) for i in powers]
def test_setup(p_in:list[int]) ->int:
stdout.write("? "+" ".join(map(str, p_in)))
stdout.flush()
return int(stdin.readline())
test_setup(powers)
test_setup(powers)
stdout.write("! "+" ".join(map(str, powers)))
stdout.flush()
main()
Subtask | Sum | Test | Verdict | Time | Memory | ||
---|---|---|---|---|---|---|---|
subtask1 | 0/0 | ||||||
1 | Time limit exceeded | 17ms | 3784 KiB | ||||
subtask2 | 0/10 | ||||||
2 | Time limit exceeded | 16ms | 3996 KiB | ||||
3 | Time limit exceeded | 16ms | 4208 KiB | ||||
subtask3 | 0/30 | ||||||
4 | Time limit exceeded | 16ms | 4224 KiB | ||||
5 | Time limit exceeded | 14ms | 4524 KiB | ||||
6 | Time limit exceeded | 14ms | 4732 KiB | ||||
7 | Time limit exceeded | 16ms | 4944 KiB | ||||
8 | Time limit exceeded | 16ms | 5284 KiB | ||||
9 | Time limit exceeded | 16ms | 5076 KiB | ||||
subtask4 | 0/20 | ||||||
10 | Time limit exceeded | 16ms | 5232 KiB | ||||
11 | Time limit exceeded | 16ms | 5404 KiB | ||||
12 | Time limit exceeded | 16ms | 5336 KiB | ||||
13 | Time limit exceeded | 14ms | 5740 KiB | ||||
subtask5 | 0/40 | ||||||
14 | Time limit exceeded | 17ms | 6136 KiB | ||||
15 | Time limit exceeded | 17ms | 6188 KiB | ||||
16 | Time limit exceeded | 17ms | 6168 KiB | ||||
17 | Time limit exceeded | 17ms | 6052 KiB | ||||
18 | Time limit exceeded | 17ms | 6176 KiB | ||||
19 | Time limit exceeded | 17ms | 6432 KiB | ||||
20 | Time limit exceeded | 17ms | 6376 KiB | ||||
21 | Time limit exceeded | 17ms | 6392 KiB |