Submission #1043229

# Submission time Handle Problem Language Result Execution time Memory
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)))
# Verdict Execution time Memory 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 -
# Verdict Execution time Memory 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
# Verdict Execution time Memory 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
# Verdict Execution time Memory 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 -
# Verdict Execution time Memory 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 -