結果
| 問題 |
No.296 n度寝
|
| コンテスト | |
| ユーザー |
keisuke6
|
| 提出日時 | 2022-10-23 09:13:12 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 197 bytes |
| コンパイル時間 | 1,614 ms |
| コンパイル使用メモリ | 191,576 KB |
| 最終ジャッジ日時 | 2025-02-08 11:40:41 |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 16 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
#define int long long
signed main(){
int A,B,C,D;
cin>>A>>B>>C>>D;
int t = B*60+C;
t += (A-1)*D;
t %= 1440;
cout<<t/60<<' '<<t%60<<endl;
}
keisuke6