結果
問題 |
No.296 n度寝
|
ユーザー |
![]() |
提出日時 | 2019-06-10 15:58:22 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 211 bytes |
コンパイル時間 | 491 ms |
コンパイル使用メモリ | 53,204 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-10-06 00:42:41 |
合計ジャッジ時間 | 1,307 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 8 WA * 8 |
ソースコード
#include <iostream> #include <string> using namespace std; int main(){ int N,H,M,T; cin>>N>>H>>M>>T; N--; T=T*N; M=T+M; int HH=M/60; int MM=M%60; H=H+HH; cout<<H<<endl<<MM; }