結果

問題 No.1415 100の倍数かつ正整数(1)
ユーザー test
提出日時 2022-11-20 18:05:32
言語 JavaScript
(node v23.5.0)
結果
AC  
実行時間 71 ms / 2,000 ms
コード長 234 bytes
コンパイル時間 155 ms
コンパイル使用メモリ 5,376 KB
実行使用メモリ 39,424 KB
最終ジャッジ日時 2024-09-21 16:49:51
合計ジャッジ時間 4,892 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 24
権限があれば一括ダウンロードができます

ソースコード

diff #

function Main(input) {
    const N = input.replace("\n", "");
    let ans = 0;
    if (N[0] != "-" && N.length >= 3) {
        ans = N.slice(0, -2);
    }
    console.log(ans);
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));
0