結果

問題 No.480 合計
ユーザー 3qvwn3qvwn
提出日時 2019-07-02 00:10:05
言語 Elixir
(1.16.2)
結果
AC  
実行時間 642 ms / 2,000 ms
コード長 127 bytes
コンパイル時間 2,163 ms
コンパイル使用メモリ 53,548 KB
実行使用メモリ 50,304 KB
最終ジャッジ日時 2023-08-29 23:31:15
合計ジャッジ時間 16,421 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 618 ms
49,772 KB
testcase_01 AC 610 ms
49,084 KB
testcase_02 AC 619 ms
49,148 KB
testcase_03 AC 619 ms
49,388 KB
testcase_04 AC 618 ms
49,440 KB
testcase_05 AC 642 ms
49,204 KB
testcase_06 AC 637 ms
49,820 KB
testcase_07 AC 616 ms
49,224 KB
testcase_08 AC 632 ms
49,960 KB
testcase_09 AC 628 ms
49,276 KB
testcase_10 AC 624 ms
49,232 KB
testcase_11 AC 635 ms
49,296 KB
testcase_12 AC 623 ms
49,440 KB
testcase_13 AC 618 ms
50,216 KB
testcase_14 AC 615 ms
49,380 KB
testcase_15 AC 619 ms
49,264 KB
testcase_16 AC 615 ms
50,280 KB
testcase_17 AC 617 ms
49,216 KB
testcase_18 AC 620 ms
50,304 KB
testcase_19 AC 625 ms
49,432 KB
testcase_20 AC 639 ms
49,308 KB
testcase_21 AC 641 ms
49,864 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

defmodule Main do
  def main do
    n = IO.gets("") |> String.trim |> String.to_integer
    Enum.sum(0..n) |> IO.puts
  end
end
0