結果
問題 | No.388 階段 (1) |
ユーザー |
|
提出日時 | 2020-07-16 15:15:00 |
言語 | TypeScript (5.7.2) |
結果 |
AC
|
実行時間 | 62 ms / 2,000 ms |
コード長 | 294 bytes |
コンパイル時間 | 7,746 ms |
コンパイル使用メモリ | 227,780 KB |
実行使用メモリ | 39,552 KB |
最終ジャッジ日時 | 2024-12-31 16:15:34 |
合計ジャッジ時間 | 9,378 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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'));