結果
| 問題 |
No.178 美しいWhitespace (1)
|
| コンテスト | |
| ユーザー |
n_knuu
|
| 提出日時 | 2015-05-13 17:29:28 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 57 ms / 2,000 ms |
| コード長 | 211 bytes |
| コンパイル時間 | 172 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-07-06 03:29:41 |
| 合計ジャッジ時間 | 2,207 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 21 |
ソースコード
source = [list(map(int, input().split())) for _ in range(int(input()))] s = [a + 4*b for a, b in source] print(-1 if 0 < len(list(filter(lambda x: x % 2 == 0, s))) < len(s) else sum((max(s)-si)//2 for si in s))
n_knuu