답안 #1043229

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
1043229 2024-08-04T05:10:42 Z model_code Make them Meet (EGOI24_makethemmeet) PyPy 3
24 / 100
29 ms 19000 KB
#!/usr/bin/python3
N, M = map(int, input().split())

even = [i//2 for i in range(N)]
odd = [(i+1)//2 for i in range(N)]

print(N)
for i in range(N):
    print(' '.join(map(str, even if i % 2 == 0 else odd)))
# 결과 실행 시간 메모리 Grader output
1 Correct 25 ms 18228 KB Output is correct
2 Incorrect 24 ms 18204 KB If people start at 0 and 2, then they can avoid each other
3 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Correct 29 ms 18236 KB Output is correct
2 Correct 22 ms 18320 KB Output is correct
3 Correct 26 ms 18200 KB Output is correct
4 Correct 23 ms 18228 KB Output is correct
5 Correct 24 ms 18236 KB Output is correct
6 Correct 25 ms 18236 KB Output is correct
7 Correct 27 ms 18744 KB Output is correct
8 Correct 27 ms 18736 KB Output is correct
9 Correct 27 ms 19000 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 24 ms 18236 KB Output is correct
2 Correct 28 ms 18288 KB Output is correct
3 Correct 23 ms 18288 KB Output is correct
4 Correct 26 ms 18744 KB Output is correct
5 Correct 26 ms 18992 KB Output is correct
6 Correct 27 ms 18996 KB Output is correct
7 Correct 26 ms 18736 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 25 ms 18228 KB Output is correct
2 Incorrect 24 ms 18204 KB If people start at 0 and 2, then they can avoid each other
3 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Correct 25 ms 18228 KB Output is correct
2 Incorrect 24 ms 18204 KB If people start at 0 and 2, then they can avoid each other
3 Halted 0 ms 0 KB -