提出 #52061482


ソースコード 拡げる

#S = input()
N = int(input())
#a, b, C = map(int, input().split())
ans = []
for i in range(N):
    if (i + 1) % 3 == 0:
        ans.append('x')
    else:
        ans.append('o')

print(''.join(ans))

提出情報

提出日時
問題 A - Penalty Kick
ユーザ zenmaaa
言語 Python (PyPy 3.10-v7.3.12)
得点 100
コード長 210 Byte
結果 AC
実行時間 60 ms
メモリ 76732 KiB

ジャッジ結果

セット名 Sample All
得点 / 配点 0 / 0 100 / 100
結果
AC × 2
AC × 15
セット名 テストケース
Sample 00_sample_00.txt, 00_sample_01.txt
All 00_sample_00.txt, 00_sample_01.txt, 01_random_00.txt, 01_random_01.txt, 01_random_02.txt, 01_random_03.txt, 01_random_04.txt, 01_random_05.txt, 01_random_06.txt, 01_random_07.txt, 01_random_08.txt, 01_random_09.txt, 02_hand_00.txt, 02_hand_01.txt, 02_hand_02.txt
ケース名 結果 実行時間 メモリ
00_sample_00.txt AC 60 ms 76732 KiB
00_sample_01.txt AC 56 ms 76280 KiB
01_random_00.txt AC 57 ms 76576 KiB
01_random_01.txt AC 59 ms 76324 KiB
01_random_02.txt AC 58 ms 76304 KiB
01_random_03.txt AC 57 ms 76508 KiB
01_random_04.txt AC 57 ms 76428 KiB
01_random_05.txt AC 58 ms 76416 KiB
01_random_06.txt AC 60 ms 76240 KiB
01_random_07.txt AC 57 ms 76320 KiB
01_random_08.txt AC 57 ms 76304 KiB
01_random_09.txt AC 60 ms 76584 KiB
02_hand_00.txt AC 57 ms 76548 KiB
02_hand_01.txt AC 55 ms 76440 KiB
02_hand_02.txt AC 57 ms 76324 KiB