結果
問題 | No.2414 2 KA 3 KA |
ユーザー |
|
提出日時 | 2023-08-12 13:32:16 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 54 ms / 2,000 ms |
コード長 | 490 bytes |
コンパイル時間 | 105 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 11,904 KB |
最終ジャッジ日時 | 2024-11-23 03:21:44 |
合計ジャッジ時間 | 2,713 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 28 |
ソースコード
import sys import logging input = sys.stdin.readline logger = logging.getLogger(__name__) def read(): A, B, C = map(int, input().strip().split()) return A, B, C def solve(A, B, C): X = 2 * (A * B + B * C + C * A) Y = A * B * C if X > Y: return 2 else: return 3 if __name__ == "__main__": logging.basicConfig(level=logging.INFO) inputs = read() outputs = solve(*inputs) if outputs is not None: print("%s" % str(outputs))