結果
| 問題 |
No.296 n度寝
|
| コンテスト | |
| ユーザー |
himo
|
| 提出日時 | 2019-09-20 16:22:10 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 230 bytes |
| コンパイル時間 | 1,204 ms |
| コンパイル使用メモリ | 158,228 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-09-14 07:06:58 |
| 合計ジャッジ時間 | 1,891 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 1 WA * 15 |
ソースコード
#include "bits/stdc++.h"
using namespace std;
int main(){
int n,h,m,t;
cin >> n >>h >>m >>t;
int hour=h,minute;
minute=m+((n-1)*t);
while(minute>=60){
hour++;
minute-=60;
}
hour/=24;
cout <<hour <<endl <<minute <<endl;
}
himo