結果

問題 No.721 Die tertia (ディエ・テルツィア)
ユーザー TksiTksi
提出日時 2018-11-06 00:31:46
言語 JavaScript
(node v20.8.0)
結果
AC  
実行時間 81 ms / 2,000 ms
コード長 248 bytes
コンパイル時間 149 ms
コンパイル使用メモリ 5,332 KB
実行使用メモリ 42,948 KB
最終ジャッジ日時 2023-08-03 02:56:07
合計ジャッジ時間 3,069 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 78 ms
42,780 KB
testcase_01 AC 78 ms
42,872 KB
testcase_02 AC 77 ms
42,800 KB
testcase_03 AC 77 ms
42,712 KB
testcase_04 AC 77 ms
42,700 KB
testcase_05 AC 76 ms
42,688 KB
testcase_06 AC 77 ms
42,692 KB
testcase_07 AC 81 ms
42,872 KB
testcase_08 AC 78 ms
42,852 KB
testcase_09 AC 78 ms
42,684 KB
testcase_10 AC 79 ms
42,712 KB
testcase_11 AC 78 ms
42,784 KB
testcase_12 AC 78 ms
42,860 KB
testcase_13 AC 78 ms
42,684 KB
testcase_14 AC 80 ms
42,780 KB
testcase_15 AC 77 ms
42,888 KB
testcase_16 AC 76 ms
42,920 KB
testcase_17 AC 77 ms
42,948 KB
testcase_18 AC 78 ms
42,784 KB
testcase_19 AC 76 ms
42,696 KB
testcase_20 AC 78 ms
42,692 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

let input = require('fs').readFileSync('/dev/stdin', 'utf8');
let D = new Date(input.replace('\n',''));
const z = str => ('00' + str).slice(-2);
D.setDate(D.getDate() + 2);
console.log(`${D.getFullYear()}/${z(D.getMonth() + 1)}/${z(D.getDate())}`);
0