結果
問題 | No.525 二度寝の季節 |
ユーザー |
![]() |
提出日時 | 2019-04-18 17:49:05 |
言語 | C (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 1 ms / 1,000 ms |
コード長 | 322 bytes |
コンパイル時間 | 251 ms |
コンパイル使用メモリ | 28,928 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-09-22 09:21:09 |
合計ジャッジ時間 | 1,373 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 33 |
ソースコード
// yukicoder: No.525 二度寝の季節// 2019.4.18 bal4u#include <stdio.h>#include <ctype.h>#define gc() getchar()int in(){int n = 0, c = gc();do n = 10 * n + (c & 0xf), c = gc(); while (isdigit(c));return n;}int main(){int t = (in()*60+in()+5) % 1440;printf("%02d:%02d\n", t/60, t%60);return 0;}