답안 #654589

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
654589 2022-10-31T19:41:51 Z beaconmc Brunhilda’s Birthday (BOI13_brunhilda) PyPy 3
0 / 100
84 ms 20304 KB
m,q = map(int, input().split())

lis = list(map(int, input().split()))
nums = []
for i in range(q):
    nums.append(int(input()))


for i in nums:
    cnt = 0

    while i > 0:
        mini = 1000000000
        for j in lis:

        
        if mini == i:
            print("oo")
            break
        
        i = mini
        cnt += 1
    
    if i==0:
        print(cnt)

Compilation message

Sorry: IndentationError: expected an indented block (brunhilda.py, line 17)
# 결과 실행 시간 메모리 Grader output
1 Runtime error 61 ms 20232 KB Execution failed because the return code was nonzero
2 Runtime error 63 ms 20164 KB Execution failed because the return code was nonzero
3 Runtime error 82 ms 20152 KB Execution failed because the return code was nonzero
4 Runtime error 79 ms 20128 KB Execution failed because the return code was nonzero
5 Runtime error 68 ms 20164 KB Execution failed because the return code was nonzero
6 Runtime error 63 ms 20184 KB Execution failed because the return code was nonzero
7 Runtime error 67 ms 20172 KB Execution failed because the return code was nonzero
8 Runtime error 69 ms 20144 KB Execution failed because the return code was nonzero
9 Runtime error 69 ms 20156 KB Execution failed because the return code was nonzero
10 Runtime error 66 ms 20136 KB Execution failed because the return code was nonzero
11 Runtime error 66 ms 20184 KB Execution failed because the return code was nonzero
12 Runtime error 63 ms 20100 KB Execution failed because the return code was nonzero
13 Runtime error 62 ms 20092 KB Execution failed because the return code was nonzero
14 Runtime error 69 ms 20192 KB Execution failed because the return code was nonzero
15 Runtime error 66 ms 20084 KB Execution failed because the return code was nonzero
16 Runtime error 68 ms 20132 KB Execution failed because the return code was nonzero
17 Runtime error 66 ms 20152 KB Execution failed because the return code was nonzero
18 Runtime error 75 ms 20124 KB Execution failed because the return code was nonzero
# 결과 실행 시간 메모리 Grader output
1 Runtime error 71 ms 20252 KB Execution failed because the return code was nonzero
2 Runtime error 67 ms 20188 KB Execution failed because the return code was nonzero
3 Runtime error 65 ms 20212 KB Execution failed because the return code was nonzero
4 Runtime error 66 ms 20152 KB Execution failed because the return code was nonzero
5 Runtime error 65 ms 20176 KB Execution failed because the return code was nonzero
6 Runtime error 63 ms 20100 KB Execution failed because the return code was nonzero
7 Runtime error 72 ms 20148 KB Execution failed because the return code was nonzero
8 Runtime error 63 ms 20136 KB Execution failed because the return code was nonzero
9 Runtime error 72 ms 20140 KB Execution failed because the return code was nonzero
10 Runtime error 64 ms 20160 KB Execution failed because the return code was nonzero
11 Runtime error 66 ms 20236 KB Execution failed because the return code was nonzero
12 Runtime error 66 ms 20136 KB Execution failed because the return code was nonzero
13 Runtime error 62 ms 20136 KB Execution failed because the return code was nonzero
14 Runtime error 61 ms 20228 KB Execution failed because the return code was nonzero
15 Runtime error 80 ms 20188 KB Execution failed because the return code was nonzero
16 Runtime error 76 ms 20224 KB Execution failed because the return code was nonzero
17 Runtime error 62 ms 20252 KB Execution failed because the return code was nonzero
18 Runtime error 59 ms 20152 KB Execution failed because the return code was nonzero
# 결과 실행 시간 메모리 Grader output
1 Runtime error 63 ms 20232 KB Execution failed because the return code was nonzero
2 Runtime error 60 ms 20144 KB Execution failed because the return code was nonzero
3 Runtime error 63 ms 20156 KB Execution failed because the return code was nonzero
4 Runtime error 81 ms 20152 KB Execution failed because the return code was nonzero
5 Runtime error 77 ms 20080 KB Execution failed because the return code was nonzero
6 Runtime error 75 ms 20124 KB Execution failed because the return code was nonzero
7 Runtime error 64 ms 20180 KB Execution failed because the return code was nonzero
8 Runtime error 63 ms 20068 KB Execution failed because the return code was nonzero
9 Runtime error 64 ms 20132 KB Execution failed because the return code was nonzero
10 Runtime error 71 ms 20160 KB Execution failed because the return code was nonzero
11 Runtime error 75 ms 20236 KB Execution failed because the return code was nonzero
12 Runtime error 64 ms 20224 KB Execution failed because the return code was nonzero
13 Runtime error 62 ms 20232 KB Execution failed because the return code was nonzero
14 Runtime error 62 ms 20180 KB Execution failed because the return code was nonzero
15 Runtime error 63 ms 20132 KB Execution failed because the return code was nonzero
16 Runtime error 84 ms 20208 KB Execution failed because the return code was nonzero
17 Runtime error 67 ms 20080 KB Execution failed because the return code was nonzero
18 Runtime error 64 ms 20092 KB Execution failed because the return code was nonzero
19 Runtime error 61 ms 20172 KB Execution failed because the return code was nonzero
20 Runtime error 63 ms 20236 KB Execution failed because the return code was nonzero
21 Runtime error 67 ms 20304 KB Execution failed because the return code was nonzero
22 Runtime error 72 ms 20228 KB Execution failed because the return code was nonzero
23 Runtime error 69 ms 20140 KB Execution failed because the return code was nonzero
24 Runtime error 66 ms 20216 KB Execution failed because the return code was nonzero
25 Runtime error 64 ms 20184 KB Execution failed because the return code was nonzero
26 Runtime error 67 ms 20176 KB Execution failed because the return code was nonzero
27 Runtime error 62 ms 20136 KB Execution failed because the return code was nonzero
28 Runtime error 69 ms 20228 KB Execution failed because the return code was nonzero
29 Runtime error 71 ms 20136 KB Execution failed because the return code was nonzero
30 Runtime error 84 ms 20272 KB Execution failed because the return code was nonzero
31 Runtime error 67 ms 20088 KB Execution failed because the return code was nonzero
32 Runtime error 62 ms 20168 KB Execution failed because the return code was nonzero
33 Runtime error 65 ms 20092 KB Execution failed because the return code was nonzero
34 Runtime error 77 ms 20116 KB Execution failed because the return code was nonzero
35 Runtime error 81 ms 20184 KB Execution failed because the return code was nonzero
36 Runtime error 75 ms 20136 KB Execution failed because the return code was nonzero
37 Runtime error 62 ms 20156 KB Execution failed because the return code was nonzero
38 Runtime error 62 ms 20080 KB Execution failed because the return code was nonzero
39 Runtime error 62 ms 20180 KB Execution failed because the return code was nonzero
40 Runtime error 71 ms 20072 KB Execution failed because the return code was nonzero
41 Runtime error 71 ms 20184 KB Execution failed because the return code was nonzero
42 Runtime error 68 ms 20092 KB Execution failed because the return code was nonzero