結果
問題 | No.785 色食い虫 |
ユーザー |
|
提出日時 | 2019-02-08 21:27:51 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 32 ms / 2,000 ms |
コード長 | 278 bytes |
コンパイル時間 | 81 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-06-28 18:23:46 |
合計ジャッジ時間 | 1,864 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 28 |
ソースコード
r = list(input().split(','))g = list(input().split(','))b = list(input().split(','))if r == ['NONE']:r = 16else:r = 16 - len(r)if g == ['NONE']:g = 16else:g = 16 - len(g)if b == ['NONE']:b = 16else:b = 16 - len(b)print(r**2 * g**2 * b**2)