結果

問題 No.2836 Comment Out
ユーザー prin_kemkemprin_kemkem
提出日時 2024-08-09 22:15:00
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 143 ms / 2,000 ms
コード長 630 bytes
コンパイル時間 300 ms
コンパイル使用メモリ 82,472 KB
実行使用メモリ 113,904 KB
最終ジャッジ日時 2024-08-09 22:15:09
合計ジャッジ時間 8,376 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 83 ms
80,944 KB
testcase_01 AC 84 ms
80,584 KB
testcase_02 AC 84 ms
80,520 KB
testcase_03 AC 111 ms
80,544 KB
testcase_04 AC 82 ms
80,636 KB
testcase_05 AC 82 ms
80,480 KB
testcase_06 AC 81 ms
80,740 KB
testcase_07 AC 110 ms
109,024 KB
testcase_08 AC 113 ms
108,808 KB
testcase_09 AC 122 ms
113,500 KB
testcase_10 AC 123 ms
113,720 KB
testcase_11 AC 121 ms
113,780 KB
testcase_12 AC 123 ms
113,512 KB
testcase_13 AC 143 ms
113,552 KB
testcase_14 AC 125 ms
113,612 KB
testcase_15 AC 124 ms
113,676 KB
testcase_16 AC 125 ms
113,368 KB
testcase_17 AC 126 ms
113,468 KB
testcase_18 AC 125 ms
113,700 KB
testcase_19 AC 126 ms
113,904 KB
testcase_20 AC 127 ms
113,768 KB
testcase_21 AC 130 ms
113,544 KB
testcase_22 AC 136 ms
113,416 KB
testcase_23 AC 127 ms
113,728 KB
testcase_24 AC 106 ms
95,384 KB
testcase_25 AC 120 ms
107,420 KB
testcase_26 AC 98 ms
91,044 KB
testcase_27 AC 124 ms
103,048 KB
testcase_28 AC 126 ms
104,172 KB
testcase_29 AC 122 ms
102,712 KB
testcase_30 AC 100 ms
92,120 KB
testcase_31 AC 124 ms
100,676 KB
testcase_32 AC 94 ms
87,716 KB
testcase_33 AC 104 ms
96,424 KB
testcase_34 AC 93 ms
87,968 KB
testcase_35 AC 114 ms
106,660 KB
testcase_36 AC 100 ms
94,728 KB
testcase_37 AC 114 ms
106,164 KB
testcase_38 AC 113 ms
98,044 KB
testcase_39 AC 107 ms
99,136 KB
testcase_40 AC 110 ms
101,580 KB
testcase_41 AC 128 ms
102,808 KB
testcase_42 AC 117 ms
107,340 KB
testcase_43 AC 92 ms
86,552 KB
testcase_44 AC 84 ms
80,756 KB
testcase_45 AC 84 ms
80,600 KB
testcase_46 AC 85 ms
80,652 KB
testcase_47 AC 86 ms
80,684 KB
testcase_48 AC 85 ms
80,388 KB
testcase_49 AC 84 ms
80,500 KB
testcase_50 AC 84 ms
80,696 KB
testcase_51 AC 83 ms
80,356 KB
testcase_52 AC 84 ms
80,712 KB
testcase_53 AC 96 ms
80,692 KB
testcase_54 AC 84 ms
80,804 KB
testcase_55 AC 89 ms
80,664 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import defaultdict, deque, Counter
from functools import cache
# import copy
from itertools import combinations, permutations, product, accumulate, groupby, chain
from heapq import heapify, heappop, heappush
import math
import bisect
from pprint import pprint
from random import randint
import sys
# sys.setrecursionlimit(200000)
input = lambda: sys.stdin.readline().rstrip('\n')
inf = float('inf')
mod1 = 10**9+7
mod2 = 998244353
def ceil_div(x, y): return -(-x//y)

#################################################    

N = int(input())
A = list(map(int, input().split()))
print('Yes' if min(A) <= 1 else 'No')
0