結果

問題 No.146 試験監督(1)
ユーザー HIROPON87069639HIROPON87069639
提出日時 2016-02-27 16:18:19
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 177 bytes
コンパイル時間 154 ms
コンパイル使用メモリ 7,128 KB
実行使用メモリ 9,752 KB
最終ジャッジ日時 2023-10-24 18:35:15
合計ジャッジ時間 2,272 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

# -*- coding: utf-8 -*-
import math
N = input()
cnt = 0.0
for i in range(N):
    C, D = map(int, raw_input().split())
    cnt += (math.ceil(C / 2.0) * D) % 1000000007
print cnt
0