結果
| 問題 |
No.47 ポケットを叩くとビスケットが2倍
|
| コンテスト | |
| ユーザー |
jesuissuyaa
|
| 提出日時 | 2019-11-06 07:55:34 |
| 言語 | JavaScript (node v23.5.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 471 bytes |
| コンパイル時間 | 58 ms |
| コンパイル使用メモリ | 6,692 KB |
| 実行使用メモリ | 40,192 KB |
| 最終ジャッジ日時 | 2024-10-13 01:28:03 |
| 合計ジャッジ時間 | 2,260 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 3 |
| other | RE * 21 |
ソースコード
function Main(input) {
// inputにはすべての入力の文字列が与えられるので必要に応じて input.split("\n") などで分割する。
var data = input.split("\n")
const n = parseInt(data[0])
console.log(Math.ceil(Math.log(n)/Math.log(2)))
var c = parseInt(first_line[0]) + parseInt(first_line[1])
console.log(c + " " + second_line);
}
// Don't edit this line!
Main(require("fs").readFileSync("/dev/stdin", "utf8"));
jesuissuyaa