結果
問題 | No.296 n度寝 |
ユーザー | A63295 |
提出日時 | 2015-12-18 00:50:02 |
言語 | C90 (gcc 11.4.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 177 bytes |
コンパイル時間 | 98 ms |
コンパイル使用メモリ | 23,232 KB |
実行使用メモリ | 8,696 KB |
最終ジャッジ日時 | 2023-10-14 13:32:36 |
合計ジャッジ時間 | 2,880 ms |
ジャッジサーバーID (参考情報) |
judge13 / judge12 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | WA | - |
testcase_02 | WA | - |
testcase_03 | TLE | - |
testcase_04 | -- | - |
testcase_05 | -- | - |
testcase_06 | -- | - |
testcase_07 | -- | - |
testcase_08 | -- | - |
testcase_09 | -- | - |
testcase_10 | -- | - |
testcase_11 | -- | - |
testcase_12 | -- | - |
testcase_13 | -- | - |
testcase_14 | -- | - |
testcase_15 | -- | - |
ソースコード
#include<stdio.h> int main(void){ int N, H, M, T; scanf ( "%d%d%d%d", &N, &H, &M, &T); M += ( N - 1) * T; for ( M; M < 60; H++){ M -= 60; } printf ("%d\n%d\n",M,H); return 0; }