結果
| 問題 | No.509 塗りつぶしツール |
| コンテスト | |
| ユーザー |
convexineq
|
| 提出日時 | 2021-02-17 20:29:24 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 40 ms / 2,000 ms |
| コード長 | 113 bytes |
| 記録 | |
| コンパイル時間 | 179 ms |
| コンパイル使用メモリ | 84,864 KB |
| 実行使用メモリ | 52,096 KB |
| 最終ジャッジ日時 | 2026-04-04 10:43:59 |
| 合計ジャッジ時間 | 1,988 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge5_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 27 |
ソースコード
W = [1,0,0,0,1,0,1,0,2,1] n = input() w = sum(W[i] for i in map(int,n)) + 1 b = len(n) print(min(w,b)*2+max(w,b))
convexineq