99822024-03-22 22:57:38körteSzitakötő (50 pont)python3Time limit exceeded 3/50601ms18344 KiB
N, K = list(map(int,input().split()))
fölösleg = list(map(int,input().split()))

if N == 0 or N == 1:
    print(0)
else:
    e = [0, 4]
    for i in range(N):
        e.append(sum(e))
    print(e[K-1])

        
    
SubtaskSumTestVerdictTimeMemory
base3/50
1Accepted0/017ms11372 KiB
2Time limit exceeded0/0601ms15160 KiB
3Accepted1/117ms11808 KiB
4Accepted1/118ms12244 KiB
5Wrong answer0/117ms12628 KiB
6Accepted1/117ms12836 KiB
7Wrong answer0/117ms12588 KiB
8Wrong answer0/117ms12592 KiB
9Wrong answer0/117ms12620 KiB
10Wrong answer0/217ms12884 KiB
11Wrong answer0/217ms12964 KiB
12Wrong answer0/217ms12996 KiB
13Wrong answer0/241ms13548 KiB
14Wrong answer0/241ms13708 KiB
15Wrong answer0/241ms13752 KiB
16Wrong answer0/241ms14008 KiB
17Wrong answer0/241ms14052 KiB
18Wrong answer0/241ms14116 KiB
19Wrong answer0/241ms14180 KiB
20Wrong answer0/241ms14220 KiB
21Wrong answer0/141ms14212 KiB
22Time limit exceeded0/2565ms17708 KiB
23Time limit exceeded0/2568ms17884 KiB
24Time limit exceeded0/2575ms17596 KiB
25Time limit exceeded0/2572ms17656 KiB
26Time limit exceeded0/2560ms17604 KiB
27Time limit exceeded0/2560ms8352 KiB
28Time limit exceeded0/2575ms18164 KiB
29Time limit exceeded0/2572ms18344 KiB
30Time limit exceeded0/2568ms18084 KiB
31Time limit exceeded0/2555ms18040 KiB