結果
問題 |
No.721 Die tertia (ディエ・テルツィア)
|
ユーザー |
![]() |
提出日時 | 2019-02-22 17:59:26 |
言語 | Go (1.23.4) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 271 bytes |
コンパイル時間 | 10,842 ms |
コンパイル使用メモリ | 239,580 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-11-24 18:57:20 |
合計ジャッジ時間 | 11,616 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 18 |
ソースコード
package main import ( "fmt" "time" ) func main() { var y, m, d int _, _ = fmt.Scanf("%d/%d/%d", &y, &m, &d) t := time.Date(y, time.Month(m), d, 0, 0, 0, 0, time.Local) t = t.Add(2 * 24 * time.Hour) fmt.Printf("%02d/%02d/%02d\n", t.Year(), t.Month(), t.Day()) }