結果
問題 | No.2863 Base 10 Subsets 1 |
ユーザー |
![]() |
提出日時 | 2025-02-09 22:48:30 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 39 ms / 2,000 ms |
コード長 | 1,195 bytes |
コンパイル時間 | 261 ms |
コンパイル使用メモリ | 82,232 KB |
実行使用メモリ | 56,360 KB |
最終ジャッジ日時 | 2025-02-09 22:48:33 |
合計ジャッジ時間 | 2,009 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 14 |
ソースコード
import sys, math; sys.setrecursionlimit(10**8); sys.set_int_max_str_digits(0)inf = 1<<60; MOD = 998244353from bisect import bisect_left, bisect_rightfrom collections import deque, defaultdict, Counterfrom itertools import product, combinations, permutations, groupby, accumulatefrom heapq import heapify, heappop, heappushdef I(): return sys.stdin.readline().rstrip()def II(): return int(sys.stdin.readline().rstrip())def IS(): return sys.stdin.readline().rstrip().split()def MII(): return map(int, sys.stdin.readline().rstrip().split())def LI(): return list(sys.stdin.readline().rstrip())def TII(): return tuple(map(int, sys.stdin.readline().rstrip().split()))def LII(): return list(map(int, sys.stdin.readline().rstrip().split()))def LSI(): return list(map(str, sys.stdin.readline().rstrip().split()))def GMI(): return list(map(lambda x: int(x) - 1, sys.stdin.readline().rstrip().split()))def kiriage(a, b): return (a+b-1)//b#def check(i:int, j:int): return 0 <= i < H and 0 <= j < WA, B = IS()N = len(A)M = len(B)if N < M:exit(print('No'))B = B.rjust(N, '0')for i in range(N):a = A[i]b = B[i]if a < b:exit(print('No'))print('Yes')