結果

問題 No.666 1000000007で割るだけ
ユーザー vrjfsyi
提出日時 2018-04-01 16:43:11
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 326 bytes
コンパイル時間 664 ms
コンパイル使用メモリ 66,436 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-06-26 05:35:16
合計ジャッジ時間 1,336 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 24
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <vector>
#include <algorithm>
#include <iterator>
#include <array>
#include <map>
#include <stack>
#include <queue>
#include <set>

using namespace std;


int main() {

    long A, B;
    long long M = 1000000007;
    cin >> A >> B;

    cout << ((A % M) * (B % M)) % M << "\n";

    return 0;
}

0