結果
| 問題 |
No.721 Die tertia (ディエ・テルツィア)
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-12-15 17:44:39 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 368 bytes |
| コンパイル時間 | 5,903 ms |
| コンパイル使用メモリ | 248,432 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-09-20 01:49:24 |
| 合計ジャッジ時間 | 6,644 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 18 |
ソースコード
#include <bits/stdc++.h>
#include "boost/date_time/gregorian/gregorian.hpp"
using namespace std;
int main() {
using namespace boost::gregorian;
string s;
cin >> s;
date d(from_string(s));
d += days(2);
int yyyy = d.year();
int mm = d.month();
int dd = d.day();
cout << yyyy << '/' << setw(2) << mm << '/' << setw(2) << dd << endl;
return 0;
}