結果
| 問題 | No.1003 サイコロの実装 (1) |
| コンテスト | |
| ユーザー |
study0826
|
| 提出日時 | 2020-10-03 15:09:23 |
| 言語 | TypeScript (5.7.2) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 200 bytes |
| 記録 | |
| コンパイル時間 | 8,057 ms |
| コンパイル使用メモリ | 229,020 KB |
| 実行使用メモリ | 41,332 KB |
| 最終ジャッジ日時 | 2024-12-31 16:21:06 |
| 合計ジャッジ時間 | 10,977 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 25 |
ソースコード
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'));
study0826