結果
| 問題 |
No.146 試験監督(1)
|
| コンテスト | |
| ユーザー |
compass19
|
| 提出日時 | 2016-11-28 17:23:38 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 397 ms / 1,000 ms |
| コード長 | 228 bytes |
| コンパイル時間 | 140 ms |
| コンパイル使用メモリ | 12,288 KB |
| 実行使用メモリ | 23,936 KB |
| 最終ジャッジ日時 | 2024-11-27 12:40:10 |
| 合計ジャッジ時間 | 2,854 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 3 |
ソースコード
n = int(input()) desk_data = list() for i in range(n): desk_data.append(tuple(map(int, input().split()))) people = 0 for num_chair, num_desk in desk_data: people += num_desk*(num_chair//2 + num_chair%2) print(people%(10**9+7))
compass19