結果
問題 | No.70 睡眠の重要性! |
ユーザー |
![]() |
提出日時 | 2024-10-30 19:44:05 |
言語 | Go (1.23.4) |
結果 |
WA
|
実行時間 | - |
コード長 | 254 bytes |
コンパイル時間 | 11,361 ms |
コンパイル使用メモリ | 239,952 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-10-30 19:44:17 |
合計ジャッジ時間 | 12,043 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 6 |
ソースコード
package mainimport . "fmt"import "time"func main() {var n intScan(&n)d:=0*time.Secondconst f="15:04"for ;n>0;n-- {var s,t stringScan(&s,&t)a,_:=time.Parse(f,s)b,_:=time.Parse(f,t)d+=b.Sub(a)}Println(int64(d.Seconds()))}