結果
問題 | No.785 色食い虫 |
ユーザー |
|
提出日時 | 2022-05-06 00:13:56 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 32 ms / 2,000 ms |
コード長 | 282 bytes |
コンパイル時間 | 243 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 10,624 KB |
最終ジャッジ日時 | 2024-07-05 01:52:16 |
合計ジャッジ時間 | 2,626 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 28 |
ソースコード
R = list(input().split(','))G = list(input().split(','))B = list(input().split(','))if R[0] == "NONE":r = 16else:r = 16 - len(R)if G[0] == "NONE":g = 16else:g = 16 - len(G)if B[0] == "NONE":b = 16else:b = 16 - len(B)print(r**2 * g**2 * b**2)