結果
問題 | No.2836 Comment Out |
ユーザー | prin_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 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 52 |
ソースコード
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')