結果

問題 No.8115 What day of week is it in N days?
ユーザー ID 21712
提出日時 2025-04-02 15:08:40
言語 Go
(1.23.4)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 130 bytes
コンパイル時間 17,500 ms
コンパイル使用メモリ 232,416 KB
実行使用メモリ 7,720 KB
最終ジャッジ日時 2025-04-02 15:09:00
合計ジャッジ時間 18,767 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 19
権限があれば一括ダウンロードができます

ソースコード

diff #

package main

import . "fmt"
import "time"

func main() {
	var n int
	Scan(&n)
	Println(time.Weekday((int(time.Tuesday)+n%7)%7))
}
0