結果

問題 No.2030 Googol Strings
ユーザー ThetaTheta
提出日時 2023-02-06 15:21:20
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 264 bytes
コンパイル時間 323 ms
コンパイル使用メモリ 10,508 KB
実行使用メモリ 14,940 KB
最終ジャッジ日時 2023-09-18 02:39:55
合計ジャッジ時間 2,218 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 78 ms
7,812 KB
testcase_01 AC 17 ms
8,184 KB
testcase_02 AC 17 ms
9,300 KB
testcase_03 AC 15 ms
7,952 KB
testcase_04 WA -
testcase_05 AC 17 ms
7,824 KB
testcase_06 AC 21 ms
12,508 KB
testcase_07 AC 23 ms
14,840 KB
testcase_08 AC 23 ms
14,940 KB
testcase_09 AC 17 ms
8,316 KB
testcase_10 AC 17 ms
8,240 KB
testcase_11 AC 17 ms
8,256 KB
testcase_12 AC 76 ms
7,960 KB
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 18 ms
9,312 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

def main():
    for _ in range(int(input())):
        X = input()
        Y = input()
        X_double = X*2
        Y_double = Y*2
        if X_double > Y_double:
            print("X")
        else:
            print("Y")


if __name__ == "__main__":
    main()
0