結果
| 問題 | No.356 円周上を回る3つの動点の一致 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-03-23 16:59:52 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 41 ms / 5,000 ms |
| コード長 | 231 bytes |
| 記録 | |
| コンパイル時間 | 199 ms |
| コンパイル使用メモリ | 85,248 KB |
| 実行使用メモリ | 52,224 KB |
| 最終ジャッジ日時 | 2026-04-28 05:01:37 |
| 合計ジャッジ時間 | 3,311 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 48 |
ソースコード
from math import gcd a = int(input()) b = int(input()) c = int(input()) deno = (b - a) * (c - a) t1 = (a * b) * (c - a) t2 = (a * c) * (b - a) nume = t1 * t2 // gcd(t1, t2) g = gcd(deno, nume) print(nume // g, deno // g, sep="/")