結果
問題 |
No.785 色食い虫
|
ユーザー |
|
提出日時 | 2022-12-19 14:41:28 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 36 ms / 2,000 ms |
コード長 | 274 bytes |
コンパイル時間 | 101 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 10,496 KB |
最終ジャッジ日時 | 2024-11-18 00:56:29 |
合計ジャッジ時間 | 2,214 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 28 |
ソースコード
def color_usable() -> int: if (input_ := input()) == "NONE": return 16 return 16-len(input_.split(",")) def main(): R = color_usable() G = color_usable() B = color_usable() print(R**2 * G**2 * B**2) if __name__ == "__main__": main()