結果
| 問題 |
No.296 n度寝
|
| コンテスト | |
| ユーザー |
保登心愛
|
| 提出日時 | 2015-11-14 00:40:53 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 447 bytes |
| コンパイル時間 | 580 ms |
| コンパイル使用メモリ | 68,088 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-09-13 16:32:05 |
| 合計ジャッジ時間 | 1,275 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 8 WA * 8 |
ソースコード
#include <iostream>
#include <cstdio>
#include <cstring>
#include <vector>
#include <algorithm>
#include <cmath>
#include <map>
using namespace std;
typedef long long ll;
#define SORT(x) sort((x).begin(), (x).end())
#define RSORT(x) sort((x).begin(), (x).end(), greater<int>() )
int main() {
int n, h, m, t;
cin >> n >> h >> m >> t;
n = m + h * 60 + t * (n - 1);
cout << n / 60 << endl;
cout << n % 60 << endl;
return 0;
}
保登心愛