結果
| 問題 |
No.525 二度寝の季節
|
| コンテスト | |
| ユーザー |
Eclair1015
|
| 提出日時 | 2018-09-26 12:29:48 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 524 bytes |
| コンパイル時間 | 705 ms |
| コンパイル使用メモリ | 64,004 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-10-10 02:33:42 |
| 合計ジャッジ時間 | 1,773 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 2 |
| other | AC * 13 WA * 20 |
ソースコード
//inlclude前用define
#define _USE_MATH_DEFINES
//include
#include<iostream>
#include<string>
#include<algorithm>
#include<vector>
#include<cmath>
#include<cstdio>
#include<type_traits>
#include<numeric>
#include<limits>
using namespace std;
//typedef
typedef vector<int> VI;
typedef vector<string> VS;
typedef vector<char> VC;
//grobal変数
int main() {
int h, m;
char a;
cin >> h >> a >> m;
m += 5;
if (m >= 60) {
m -= 60;
h++;
}
if (h >= 24) {
h -= 24;
}
printf("%01d%c%01d\n", h,a,m);
return 0;
}
Eclair1015