結果
問題 |
No.2460 #強調#
|
ユーザー |
|
提出日時 | 2023-10-31 12:27:04 |
言語 | TypeScript (5.7.2) |
結果 |
AC
|
実行時間 | 65 ms / 2,000 ms |
コード長 | 232 bytes |
コンパイル時間 | 7,893 ms |
コンパイル使用メモリ | 228,668 KB |
実行使用メモリ | 40,956 KB |
最終ジャッジ日時 | 2025-01-01 00:43:54 |
合計ジャッジ時間 | 9,443 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 11 |
ソースコード
let lines: string[] = require("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));