結果
| 問題 | No.296 n度寝 |
| コンテスト | |
| ユーザー |
kongarishisyamo
|
| 提出日時 | 2016-02-26 00:23:35 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 1,000 ms |
| コード長 | 156 bytes |
| 記録 | |
| コンパイル時間 | 502 ms |
| コンパイル使用メモリ | 70,000 KB |
| 実行使用メモリ | 6,144 KB |
| 最終ジャッジ日時 | 2026-03-28 16:54:11 |
| 合計ジャッジ時間 | 1,079 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 16 |
ソースコード
#include<iostream>
using namespace std;
int main(){
int N,H,M,T;
cin>>N>>H>>M>>T;
cout<<(H+(M+T*(N-1))/60)%24<<endl;
cout<<(M+T*(N-1))%60<<endl;
}
kongarishisyamo