結果
問題 |
No.2460 #強調#
|
ユーザー |
|
提出日時 | 2023-10-31 12:19:58 |
言語 | TypeScript (5.7.2) |
結果 |
AC
|
実行時間 | 64 ms / 2,000 ms |
コード長 | 248 bytes |
コンパイル時間 | 8,273 ms |
コンパイル使用メモリ | 228,952 KB |
実行使用メモリ | 41,324 KB |
最終ジャッジ日時 | 2024-12-31 17:02:29 |
合計ジャッジ時間 | 9,827 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 11 |
ソースコード
import * as fs from "fs"; let lines: string[] = fs.readFileSync("/dev/stdin", "utf8").split("\n"); let S: string = lines[0]; let first: number = S.indexOf('#'); let last: number = S.indexOf('#', first+1); console.log(S.substring(first+1, last));