結果

問題 No.1915 Addition
ユーザー sanao10000sanao10000
提出日時 2022-05-23 16:56:21
言語 Nim
(2.0.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 740 bytes
コンパイル時間 4,542 ms
コンパイル使用メモリ 91,928 KB
実行使用メモリ 4,348 KB
最終ジャッジ日時 2023-10-20 17:37:08
合計ジャッジ時間 4,537 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
4,348 KB
testcase_01 AC 2 ms
4,348 KB
testcase_02 AC 1 ms
4,348 KB
testcase_03 AC 2 ms
4,348 KB
testcase_04 AC 2 ms
4,348 KB
testcase_05 AC 2 ms
4,348 KB
testcase_06 AC 1 ms
4,348 KB
testcase_07 AC 2 ms
4,348 KB
testcase_08 AC 1 ms
4,348 KB
testcase_09 AC 1 ms
4,348 KB
testcase_10 AC 1 ms
4,348 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

{.optimization:speed,optimization:size,warnings: off,hints: off.}
import strformat, macros, std/algorithm, tables, sets, lists,intsets, critbits, sequtils, strutils, std/math, times,sugar, options, bitops, heapqueue,std/deques,os
const MOD = 1000000007;const MOD_ANOTHER = 998244353
proc g(): string = stdin.readLine
proc gin(): int = g().parseInt
proc gInts(): seq[int] = g().split.map(parseInt)
proc gss():seq[int]=g().insertSep(sep=' ',1).split.map(parseInt)
proc gIntsN(n:int): seq[int] = 
  result=newSeq[int](n)
  for i in 0..n-1:result[i]=gin()
proc gIntsNs(n:int): seq[seq[int]] =
  result=newSeq[seq[int]](n)
  for i in 0..n-1:result[i]=gInts()

proc main(){.inline.}=
  for i in 0..<gin():echo gin()*2

when isMainModule:
  main()
0