結果
| 問題 |
No.2030 Googol Strings
|
| コンテスト | |
| ユーザー |
Kude
|
| 提出日時 | 2022-08-05 22:01:30 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 151 ms / 2,000 ms |
| コード長 | 142 bytes |
| コンパイル時間 | 407 ms |
| コンパイル使用メモリ | 82,332 KB |
| 実行使用メモリ | 76,544 KB |
| 最終ジャッジ日時 | 2024-09-15 18:36:08 |
| 合計ジャッジ時間 | 2,824 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 16 |
ソースコード
for _ in range(int(input())):
x = input()
y = input()
s = x + y
t = y + x
print('XY'[s < t or s == t and len(x) < len(y)])
Kude