結果
| 問題 | No.721 Die tertia (ディエ・テルツィア) |
| コンテスト | |
| ユーザー |
getty104
|
| 提出日時 | 2018-09-11 15:55:25 |
| 言語 | Elixir (1.19.5) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 243 bytes |
| 記録 | |
| コンパイル時間 | 767 ms |
| コンパイル使用メモリ | 71,948 KB |
| 実行使用メモリ | 63,800 KB |
| 最終ジャッジ日時 | 2026-06-04 13:42:45 |
| 合計ジャッジ時間 | 9,624 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 18 |
ソースコード
defmodule Main do
def main do
[year, month, day] = IO.gets("") |> String.trim |> String.split("/") |> Enum.map(&String.to_integer/1)
{:ok, date} = Date.new(year, month, day)
IO.puts Date.add(date, 2) |> Date.to_string
end
end
getty104