結果
| 問題 | No.296 n度寝 | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2020-05-17 12:22:14 | 
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                WA
                                 
                             | 
| 実行時間 | - | 
| コード長 | 228 bytes | 
| コンパイル時間 | 1,647 ms | 
| コンパイル使用メモリ | 165,124 KB | 
| 実行使用メモリ | 5,376 KB | 
| 最終ジャッジ日時 | 2024-09-25 03:31:34 | 
| 合計ジャッジ時間 | 2,081 ms | 
| ジャッジサーバーID (参考情報) | judge4 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 8 WA * 8 | 
ソースコード
#include <bits/stdc++.h>
#define rep(i,n) for(int i=0; i<(n); i++)
using namespace std;
typedef long long ll;
int main(){
	int n,h,m,t; cin>>n>>h>>m>>t;
	
	int x=t*(n-1);
	h+=(m+x)/60;
	m=(m+x)%60;
	
	cout << h << endl << m;
}
            
            
            
        