提出 #46525357


ソースコード 拡げる

n = int(input())
a = list(map(int, input().split()))

num = a[0]

for n in a:
    if n != num:
        print("No")
        exit()

print("Yes")

提出情報

提出日時
問題 A - Same
ユーザ hnkz_hnkz
言語 Python (CPython 3.11.4)
得点 100
コード長 157 Byte
結果 AC
実行時間 9 ms
メモリ 8876 KiB

ジャッジ結果

セット名 Sample All
得点 / 配点 0 / 0 100 / 100
結果
AC × 3
AC × 16
セット名 テストケース
Sample 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt
All 00_sample_00.txt, 00_sample_01.txt, 00_sample_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, 01_random_10.txt, 01_random_11.txt, 01_random_12.txt, 01_random_13.txt, 01_random_14.txt, 01_random_15.txt
ケース名 結果 実行時間 メモリ
00_sample_00.txt AC 9 ms 8876 KiB
00_sample_01.txt AC 9 ms 8520 KiB
00_sample_02.txt AC 9 ms 8812 KiB
01_random_03.txt AC 9 ms 8784 KiB
01_random_04.txt AC 9 ms 8540 KiB
01_random_05.txt AC 9 ms 8820 KiB
01_random_06.txt AC 9 ms 8456 KiB
01_random_07.txt AC 9 ms 8840 KiB
01_random_08.txt AC 9 ms 8824 KiB
01_random_09.txt AC 9 ms 8772 KiB
01_random_10.txt AC 9 ms 8764 KiB
01_random_11.txt AC 9 ms 8440 KiB
01_random_12.txt AC 9 ms 8740 KiB
01_random_13.txt AC 9 ms 8440 KiB
01_random_14.txt AC 9 ms 8528 KiB
01_random_15.txt AC 9 ms 8776 KiB