結果

問題 No.2460 #強調#
ユーザー Fullmoon8507Fullmoon8507
提出日時 2023-10-31 12:27:04
言語 TypeScript
(5.4.3)
結果
AC  
実行時間 80 ms / 2,000 ms
コード長 259 bytes
コンパイル時間 10,864 ms
コンパイル使用メモリ 149,540 KB
実行使用メモリ 37,592 KB
最終ジャッジ日時 2023-10-31 12:27:28
合計ジャッジ時間 6,147 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 65 ms
37,592 KB
testcase_01 AC 65 ms
37,592 KB
testcase_02 AC 64 ms
37,592 KB
testcase_03 AC 65 ms
37,592 KB
testcase_04 AC 80 ms
37,592 KB
testcase_05 AC 64 ms
37,592 KB
testcase_06 AC 66 ms
37,592 KB
testcase_07 AC 66 ms
37,592 KB
testcase_08 AC 64 ms
37,592 KB
testcase_09 AC 64 ms
37,592 KB
testcase_10 AC 64 ms
37,592 KB
testcase_11 AC 65 ms
37,592 KB
testcase_12 AC 65 ms
37,592 KB
testcase_13 AC 64 ms
37,592 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

declare var require: any;

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));
0