結果

問題 No.188 HAPPY DAY
ユーザー yun_appyun_app
提出日時 2016-05-12 12:40:31
言語 JavaScript
(node v21.7.1)
結果
AC  
実行時間 76 ms / 1,000 ms
コード長 208 bytes
コンパイル時間 67 ms
コンパイル使用メモリ 5,456 KB
実行使用メモリ 42,692 KB
最終ジャッジ日時 2023-08-03 01:37:34
合計ジャッジ時間 800 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 76 ms
42,692 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

date = new Date(2015,0,1);
cnt = 0;
while(date.getFullYear() == 2015){
cnt += ((Math.floor(date.getDate()/10) + date.getDate()%10) == date.getMonth()+1)?1:0;
date.setDate(date.getDate()+1)
}
console.log(cnt);
0