結果

問題 No.146 試験監督(1)
ユーザー kou_kkkkou_kkk
提出日時 2024-04-30 22:58:05
言語 Nim
(2.0.2)
結果
RE  
実行時間 -
コード長 248 bytes
コンパイル時間 4,453 ms
コンパイル使用メモリ 66,312 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-04-30 22:58:11
合計ジャッジ時間 5,100 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

import math, sequtils, strutils, sugar

let
  n = parseInt readLine stdin
  xs = newSeq.collect:
    for _ in 0 ..< n:
      let
        cd = stdin.readLine.split.map parseInt
        c = cd[0]
        d = cd[1]

      c.succ div 2 * d

echo sum xs
0