結果
問題 | No.293 4>7の世界 |
ユーザー | StarMatyan |
提出日時 | 2020-11-23 23:57:44 |
言語 | Python3 (3.12.2 + numpy 1.26.4 + scipy 1.12.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 299 bytes |
コンパイル時間 | 178 ms |
コンパイル使用メモリ | 10,660 KB |
実行使用メモリ | 7,916 KB |
最終ジャッジ日時 | 2023-10-01 00:32:12 |
合計ジャッジ時間 | 2,232 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge15 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 16 ms
7,852 KB |
testcase_01 | AC | 15 ms
7,900 KB |
testcase_02 | AC | 15 ms
7,764 KB |
testcase_03 | AC | 15 ms
7,732 KB |
testcase_04 | AC | 15 ms
7,876 KB |
testcase_05 | AC | 15 ms
7,744 KB |
testcase_06 | AC | 16 ms
7,740 KB |
testcase_07 | WA | - |
testcase_08 | AC | 16 ms
7,740 KB |
testcase_09 | AC | 16 ms
7,808 KB |
testcase_10 | AC | 16 ms
7,764 KB |
testcase_11 | AC | 16 ms
7,864 KB |
testcase_12 | WA | - |
testcase_13 | WA | - |
testcase_14 | WA | - |
testcase_15 | AC | 16 ms
7,832 KB |
testcase_16 | AC | 16 ms
7,828 KB |
testcase_17 | AC | 16 ms
7,820 KB |
testcase_18 | AC | 15 ms
7,872 KB |
testcase_19 | AC | 15 ms
7,824 KB |
testcase_20 | AC | 15 ms
7,808 KB |
testcase_21 | AC | 16 ms
7,764 KB |
testcase_22 | AC | 15 ms
7,792 KB |
testcase_23 | WA | - |
ソースコード
int_s = input() int_d = int_s.split(" ") a_num = int(int_d[0]) b_num = int(int_d[1]) if a_num ==4 and b_num == 7: result = a_num elif a_num ==7 and b_num == 4: result = b_num else: if a_num > b_num: result = a_num elif a_num < b_num: result = b_num else: result = a_num print(result)