結果
| 問題 | No.373 かけ算と割った余り |
| コンテスト | |
| ユーザー |
language_43
|
| 提出日時 | 2016-09-12 22:06:48 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 387 bytes |
| コンパイル時間 | 844 ms |
| コンパイル使用メモリ | 72,088 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-11-17 04:06:08 |
| 合計ジャッジ時間 | 976 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 3 WA * 2 |
ソースコード
# include <iostream>
# include <cstring>
# include <string>
# include <vector>
# include <cmath>
# include <sstream>
# include <iomanip>
# include <algorithm>
using namespace std;
# define repl(i, a, b) for(int i=(int)(a);i<(int)(b);i++)
# define rep(i, n) repl(i, 0, n)
typedef long long ll;
int main(){
ll a, b, c, d;
cin >> a >> b >> c >> d;
cout << a*b*c%d << endl;
return 0;
}
language_43