結果
| 問題 | No.785 色食い虫 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-06-25 17:03:10 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 38 ms / 2,000 ms |
| コード長 | 326 bytes |
| 記録 | |
| コンパイル時間 | 247 ms |
| コンパイル使用メモリ | 84,992 KB |
| 実行使用メモリ | 52,096 KB |
| 最終ジャッジ日時 | 2026-05-10 02:35:18 |
| 合計ジャッジ時間 | 2,325 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 28 |
ソースコード
r = input()
g = input()
b = input()
num = [0]*3
if r == "NONE":
num[0] = 16
else:
num[0] = 16-(len(r)//2+1)
if g == "NONE":
num[1] = 16
else:
num[1] = 16-(len(g)//2+1)
if b == "NONE":
num[2] = 16
else:
num[2] = 16-(len(b)//2+1)
ans = 1
#print(num)
for i in range(3):
ans *= num[i]**2
print(ans)