結果
| 問題 |
No.721 Die tertia (ディエ・テルツィア)
|
| コンテスト | |
| ユーザー |
getty104
|
| 提出日時 | 2018-09-11 15:55:25 |
| 言語 | Elixir (1.18.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 243 bytes |
| コンパイル時間 | 1,028 ms |
| コンパイル使用メモリ | 66,036 KB |
| 実行使用メモリ | 56,356 KB |
| 最終ジャッジ日時 | 2024-12-31 02:20:22 |
| 合計ジャッジ時間 | 14,175 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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