結果
| 問題 |
No.373 かけ算と割った余り
|
| コンテスト | |
| ユーザー |
はまやんはまやん
|
| 提出日時 | 2016-06-04 22:27:57 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 238 bytes |
| コンパイル時間 | 1,704 ms |
| コンパイル使用メモリ | 165,064 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-10-08 08:22:28 |
| 合計ジャッジ時間 | 1,991 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 3 WA * 2 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
#define rep(i,a,b) for(int i=a;i<b;i++)
int A, B, C, D;
int main()
{
cin.tie(0);
ios::sync_with_stdio(false);
while (cin >> A >> B >> C >> D)
{
cout << ((A * B * C) % D) << endl;
}
}
はまやんはまやん