結果

問題 No.442 和と積
ユーザー Mew_1406Mew_1406
提出日時 2016-11-11 23:14:19
言語 Python2
(2.7.18)
結果
AC  
実行時間 24 ms / 1,000 ms
コード長 119 bytes
コンパイル時間 44 ms
コンパイル使用メモリ 6,696 KB
実行使用メモリ 7,848 KB
最終ジャッジ日時 2023-09-18 06:18:49
合計ジャッジ時間 1,426 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 24 ms
7,616 KB
testcase_01 AC 24 ms
7,720 KB
testcase_02 AC 24 ms
7,612 KB
testcase_03 AC 23 ms
7,652 KB
testcase_04 AC 23 ms
7,740 KB
testcase_05 AC 23 ms
7,824 KB
testcase_06 AC 23 ms
7,848 KB
testcase_07 AC 22 ms
7,780 KB
testcase_08 AC 23 ms
7,804 KB
testcase_09 AC 23 ms
7,804 KB
testcase_10 AC 23 ms
7,808 KB
testcase_11 AC 22 ms
7,668 KB
testcase_12 AC 24 ms
7,784 KB
testcase_13 AC 23 ms
7,644 KB
testcase_14 AC 23 ms
7,748 KB
testcase_15 AC 23 ms
7,664 KB
testcase_16 AC 23 ms
7,752 KB
testcase_17 AC 23 ms
7,816 KB
testcase_18 AC 23 ms
7,828 KB
testcase_19 AC 22 ms
7,652 KB
testcase_20 AC 23 ms
7,748 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import fractions 
lst = raw_input().split()
lst = map(int,lst)
print (str(fractions.gcd(lst[0]*lst[1], lst[0]+lst[1])))
0