結果
問題 | No.356 円周上を回る3つの動点の一致 |
ユーザー | 👑 rin204 |
提出日時 | 2022-03-23 16:51:50 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 220 bytes |
コンパイル時間 | 249 ms |
コンパイル使用メモリ | 82,600 KB |
実行使用メモリ | 54,088 KB |
最終ジャッジ日時 | 2024-04-20 01:11:58 |
合計ジャッジ時間 | 3,886 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 38 ms
53,268 KB |
testcase_01 | AC | 37 ms
51,952 KB |
testcase_02 | AC | 36 ms
53,084 KB |
testcase_03 | AC | 36 ms
52,528 KB |
testcase_04 | AC | 36 ms
53,756 KB |
testcase_05 | AC | 35 ms
53,468 KB |
testcase_06 | WA | - |
testcase_07 | AC | 35 ms
53,356 KB |
testcase_08 | AC | 35 ms
53,936 KB |
testcase_09 | AC | 37 ms
52,964 KB |
testcase_10 | AC | 37 ms
53,424 KB |
testcase_11 | AC | 35 ms
53,592 KB |
testcase_12 | AC | 34 ms
53,620 KB |
testcase_13 | AC | 38 ms
52,000 KB |
testcase_14 | AC | 36 ms
52,568 KB |
testcase_15 | AC | 37 ms
52,200 KB |
testcase_16 | AC | 36 ms
53,760 KB |
testcase_17 | AC | 36 ms
52,308 KB |
testcase_18 | AC | 36 ms
53,792 KB |
testcase_19 | AC | 34 ms
52,328 KB |
testcase_20 | AC | 35 ms
53,080 KB |
testcase_21 | AC | 35 ms
52,656 KB |
testcase_22 | WA | - |
testcase_23 | WA | - |
testcase_24 | WA | - |
testcase_25 | AC | 36 ms
52,788 KB |
testcase_26 | AC | 35 ms
53,116 KB |
testcase_27 | AC | 35 ms
53,044 KB |
testcase_28 | WA | - |
testcase_29 | AC | 36 ms
53,088 KB |
testcase_30 | AC | 34 ms
53,216 KB |
testcase_31 | AC | 35 ms
52,384 KB |
testcase_32 | WA | - |
testcase_33 | WA | - |
testcase_34 | AC | 35 ms
52,248 KB |
testcase_35 | AC | 35 ms
52,692 KB |
testcase_36 | WA | - |
testcase_37 | AC | 35 ms
53,384 KB |
testcase_38 | AC | 35 ms
52,772 KB |
testcase_39 | WA | - |
testcase_40 | WA | - |
testcase_41 | WA | - |
testcase_42 | WA | - |
testcase_43 | WA | - |
testcase_44 | AC | 37 ms
52,940 KB |
testcase_45 | WA | - |
testcase_46 | WA | - |
testcase_47 | AC | 35 ms
54,084 KB |
testcase_48 | WA | - |
testcase_49 | WA | - |
testcase_50 | WA | - |
ソースコード
from math import gcd a = int(input()) b = int(input()) c = int(input()) l = 1 for x in [a, b, c]: l = l * x // gcd(l, x) g = 0 for x in [a, b, c]: g = gcd(g, x - 1) x = gcd(l, g) print(l // x, g // x, sep="/")