結果
| 問題 |
No.46 はじめのn歩
|
| コンテスト | |
| ユーザー |
濱田孝治
|
| 提出日時 | 2020-07-09 21:07:46 |
| 言語 | TypeScript (5.7.2) |
| 結果 |
AC
|
| 実行時間 | 70 ms / 5,000 ms |
| コード長 | 420 bytes |
| コンパイル時間 | 7,669 ms |
| コンパイル使用メモリ | 228,196 KB |
| 実行使用メモリ | 39,552 KB |
| 最終ジャッジ日時 | 2024-12-31 16:13:39 |
| 合計ジャッジ時間 | 8,778 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 10 |
ソースコード
function Main(input) {
// inputにはすべての入力の文字列が与えられるので必要に応じて input.split("\n") などで分割する。
let data = input.split("\n");
let first_line = data[0].split(" ");
let a: number = first_line[0];
let b: number = first_line[1];
console.log(Math.ceil(b / a).toString());
}
// Don't edit this line!
Main(require("fs").readFileSync("/dev/stdin", "utf8"));
濱田孝治