結果

問題 No.1003 サイコロの実装 (1)
ユーザー study0826study0826
提出日時 2020-10-03 15:10:34
言語 TypeScript
(5.4.3)
結果
AC  
実行時間 82 ms / 2,000 ms
コード長 200 bytes
コンパイル時間 7,150 ms
コンパイル使用メモリ 254,064 KB
実行使用メモリ 42,428 KB
最終ジャッジ日時 2023-09-25 05:15:28
合計ジャッジ時間 10,519 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 75 ms
42,220 KB
testcase_01 AC 75 ms
42,228 KB
testcase_02 AC 74 ms
42,428 KB
testcase_03 AC 74 ms
42,220 KB
testcase_04 AC 76 ms
42,192 KB
testcase_05 AC 74 ms
42,240 KB
testcase_06 AC 75 ms
42,404 KB
testcase_07 AC 76 ms
42,200 KB
testcase_08 AC 75 ms
42,352 KB
testcase_09 AC 76 ms
42,220 KB
testcase_10 AC 75 ms
42,400 KB
testcase_11 AC 76 ms
42,320 KB
testcase_12 AC 75 ms
42,328 KB
testcase_13 AC 76 ms
42,228 KB
testcase_14 AC 77 ms
42,408 KB
testcase_15 AC 82 ms
42,220 KB
testcase_16 AC 76 ms
42,220 KB
testcase_17 AC 78 ms
42,352 KB
testcase_18 AC 80 ms
42,232 KB
testcase_19 AC 78 ms
42,224 KB
testcase_20 AC 76 ms
42,332 KB
testcase_21 AC 75 ms
42,316 KB
testcase_22 AC 76 ms
42,228 KB
testcase_23 AC 76 ms
42,220 KB
testcase_24 AC 78 ms
42,380 KB
testcase_25 AC 79 ms
42,220 KB
testcase_26 AC 76 ms
42,236 KB
testcase_27 AC 77 ms
42,176 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

function main(input) {

	const dice = input.split('\r\n'); 

	if (dice % 6 == 0) {
		console.log('Yes');
	} else {
		console.log('No');
	}
  }
  main(require('fs').readFileSync('/dev/stdin', 'utf8'));
0