結果
| 問題 |
No.652 E869120 and TimeZone
|
| コンテスト | |
| ユーザー |
merom686
|
| 提出日時 | 2018-02-24 01:25:56 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 385 bytes |
| コンパイル時間 | 683 ms |
| コンパイル使用メモリ | 73,868 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-12-17 13:40:03 |
| 合計ジャッジ時間 | 1,532 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 5 |
| other | AC * 29 WA * 1 |
ソースコード
#include <iostream>
#include <vector>
#include <string>
#include <algorithm>
#include <cstdio>
#include <cstring>
#include <cmath>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
string s;
cin >> s;
a += 24 - 9;
b += (int)(stod(s.substr(3)) * 60) + 24 * 60;
a += b / 60; b %= 60;
a %= 24;
printf("%02d:%02d\n", a, b);
return 0;
}
merom686