結果

問題 No.373 かけ算と割った余り
ユーザー conf
提出日時 2016-09-25 14:50:50
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 176 bytes
コンパイル時間 759 ms
コンパイル使用メモリ 58,712 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-11-18 11:52:37
合計ジャッジ時間 1,065 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 5
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
int main(){
    int64_t A,B,C,D;
    cin>>A>>B>>C>>D;
    cout<<A*B%D*C%D<<endl;
    return 0;
}
0