結果
| 問題 |
No.46 はじめのn歩
|
| コンテスト | |
| ユーザー |
濱田孝治
|
| 提出日時 | 2020-07-09 20:45:48 |
| 言語 | TypeScript (5.7.2) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 514 bytes |
| コンパイル時間 | 8,889 ms |
| コンパイル使用メモリ | 227,960 KB |
| 実行使用メモリ | 82,432 KB |
| 最終ジャッジ日時 | 2024-12-31 16:13:30 |
| 合計ジャッジ時間 | 15,616 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 9 TLE * 1 |
ソースコード
function Main(input) {
// inputにはすべての入力の文字列が与えられるので必要に応じて input.split("\n") などで分割する。
let data = input.split("\n");
let first_line = data[0].split(" ");
let a: bigint = BigInt(first_line[0]);
let b: bigint = BigInt(first_line[1]);
for (let i: bigint = BigInt(0); true; i++) {
if (a * BigInt(i) >= b) {
console.log(i);
break;
}
}
}
// Don't edit this line!
Main(require("fs").readFileSync("/dev/stdin", "utf8"));
濱田孝治