結果
| 問題 | No.785 色食い虫 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-06-25 17:03:10 |
| 言語 | PyPy3 (7.3.23 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 22 ms / 2,000 ms |
| + 208µs | |
| コード長 | 326 bytes |
| 記録 | |
| コンパイル時間 | 66 ms |
| コンパイル使用メモリ | 81,516 KB |
| 実行使用メモリ | 56,312 KB |
| 最終ジャッジ日時 | 2026-09-22 13:32:43 |
| 合計ジャッジ時間 | 2,992 ms |
|
ジャッジサーバーID (参考情報) |
judge5_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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)