結果

問題 No.666 1000000007で割るだけ
コンテスト
ユーザー megane_anko
提出日時 2021-02-18 00:13:22
言語 TypeScript
(6.0.2)
コンパイル:
tsc.sh -p tsconfig.json
実行:
node main.js ONLINE_JUDGE
結果
AC  
実行時間 116 ms / 2,000 ms
コード長 209 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 4,598 ms
コンパイル使用メモリ 349,020 KB
実行使用メモリ 53,224 KB
最終ジャッジ日時 2026-06-05 05:09:12
合計ジャッジ時間 8,348 ms
ジャッジサーバーID
(参考情報)
judge2_1 / judge1_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 24
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

import * as fs from 'fs';
const input = fs.readFileSync('/dev/stdin', 'utf8');

const arr = input.split(' ');
let A = BigInt(arr[0]);
let B = BigInt(arr[1]);

console.log(String((A * B) % BigInt(1000000007)));
0