結果

問題 No.373 かけ算と割った余り
ユーザー subsn
提出日時 2023-06-19 09:18:55
言語 C
(gcc 13.3.0)
結果
AC  
実行時間 1 ms / 2,000 ms
コード長 162 bytes
コンパイル時間 91 ms
コンパイル使用メモリ 27,264 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-06-26 21:29:49
合計ジャッジ時間 531 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 5
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>
#include <stdint.h>
int main()
{
    uint64_t a, b, c, d;
    scanf("%llu%llu%llu%llu",&a,&b,&c,&d);
    printf("%llu\n",a * b % d * c % d);
}
0