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 | 14ms | 4008 KiB | ||||
3 | Time limit exceeded | 14ms | 4160 KiB | ||||
subtask3 | 0/30 | ||||||
4 | Time limit exceeded | 16ms | 4308 KiB | ||||
5 | Time limit exceeded | 14ms | 4540 KiB | ||||
6 | Time limit exceeded | 14ms | 4552 KiB | ||||
7 | Time limit exceeded | 14ms | 4428 KiB | ||||
8 | Time limit exceeded | 14ms | 4424 KiB | ||||
9 | Time limit exceeded | 14ms | 4540 KiB | ||||
subtask4 | 0/20 | ||||||
10 | Time limit exceeded | 14ms | 4560 KiB | ||||
11 | Time limit exceeded | 14ms | 4856 KiB | ||||
12 | Time limit exceeded | 14ms | 5144 KiB | ||||
13 | Time limit exceeded | 14ms | 5044 KiB | ||||
subtask5 | 0/40 | ||||||
14 | Time limit exceeded | 17ms | 5352 KiB | ||||
15 | Time limit exceeded | 17ms | 5432 KiB | ||||
16 | Time limit exceeded | 17ms | 5428 KiB | ||||
17 | Time limit exceeded | 17ms | 5560 KiB | ||||
18 | Time limit exceeded | 17ms | 5628 KiB | ||||
19 | Time limit exceeded | 17ms | 5800 KiB | ||||
20 | Time limit exceeded | 17ms | 6024 KiB | ||||
21 | Time limit exceeded | 17ms | 6180 KiB |