結果

問題 No.296 n度寝
ユーザー yosupot
提出日時 2015-11-06 23:15:49
言語 D
(dmd 2.109.1)
結果
WA  
実行時間 -
コード長 372 bytes
コンパイル時間 1,875 ms
コンパイル使用メモリ 159,488 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-06-12 02:46:00
合計ジャッジ時間 2,657 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 8 WA * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

import std.stdio, std.conv;
import std.algorithm, std.range, std.random;
import std.string, std.array, std.container, std.bigint;
import std.typecons, std.ascii;
import std.datetime;


int main() {
	long n; int h, m, t;
	readf("%d %d %d %d\n", &n, &h, &m, &t);
	auto st = TimeOfDay(h, m);
	st.roll!"minutes"((n-1) * t);
	writeln(st.hour);
	writeln(st.minute);
	return 0;
}
0