結果
| 問題 | 
                            No.296 n度寝
                             | 
                    
| コンテスト | |
| ユーザー | 
                             Hissha_
                         | 
                    
| 提出日時 | 2018-04-02 09:50:33 | 
| 言語 | C  (gcc 13.3.0)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 228 bytes | 
| コンパイル時間 | 123 ms | 
| コンパイル使用メモリ | 27,776 KB | 
| 実行使用メモリ | 6,948 KB | 
| 最終ジャッジ日時 | 2024-06-26 06:31:34 | 
| 合計ジャッジ時間 | 834 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge5 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 8 WA * 8 | 
ソースコード
#include <stdio.h>
int main(void) {
	// your code goes here
	int n, h, m, t;
	int wh, wm;
	
	scanf("%d %d %d %d", &n,&h,&m,&t);
	
	wh=h+(m+(n-1)*t)/60;
	wm=(m+(n-1)*t)%60;
	printf("%d\n",wh);
	printf("%d\n",wm);
	
	return 0;
}
            
            
            
        
            
Hissha_