結果
| 問題 |
No.373 かけ算と割った余り
|
| コンテスト | |
| ユーザー |
focus
|
| 提出日時 | 2018-02-17 01:57:44 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 220 bytes |
| コンパイル時間 | 443 ms |
| コンパイル使用メモリ | 61,824 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-06-23 20:28:29 |
| 合計ジャッジ時間 | 984 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 3 WA * 2 |
ソースコード
#include<iostream>
#include<string>
#include<cstdio>
using namespace std;
int main(){
long long int A,B,C,D;
cin >> A >> B >> C >> D;
A = A%D;
B = B%D;
C = C%D;
cout << (A*B*C)%D;
return 0;
}
focus