結果
| 問題 | No.388 階段 (1) |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-07-16 15:15:00 |
| 言語 | TypeScript (6.0.2) |
| 結果 |
AC
|
| 実行時間 | 95 ms / 2,000 ms |
| コード長 | 294 bytes |
| 記録 | |
| コンパイル時間 | 4,564 ms |
| コンパイル使用メモリ | 344,812 KB |
| 実行使用メモリ | 53,108 KB |
| 最終ジャッジ日時 | 2026-06-05 04:28:23 |
| 合計ジャッジ時間 | 7,237 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 12 |
ソースコード
import { readFileSync } from 'fs';
function Main(input: string) {
const data = input.split('\n');
const firstLine = data[0].split(' ');
const s = Number(firstLine[0]);
const f = Number(firstLine[1]);
console.log(Math.floor(s / f) + 1);
}
Main(readFileSync('/dev/stdin', 'utf8'));