結果
| 問題 |
No.296 n度寝
|
| コンテスト | |
| ユーザー |
nCk_cv
|
| 提出日時 | 2015-11-28 00:56:20 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 369 bytes |
| コンパイル時間 | 584 ms |
| コンパイル使用メモリ | 68,420 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-09-14 01:02:40 |
| 合計ジャッジ時間 | 1,430 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 9 WA * 7 |
ソースコード
#include <iostream>
#include <vector>
#include <math.h>
#include <stdio.h>
#include <algorithm>
#include <string>
#include <map>
using namespace std;
#define ll long long
int main() {
int N,H,M,T;
cin >> N >> H >> M >> T;
N--;
ll time = (T * N + H * 60 + M) % 3600;
ll hour = time / 60;
time -= hour * 60;
cout << hour << endl;
cout << time << endl;
}
nCk_cv