結果
| 問題 |
No.373 かけ算と割った余り
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-09-13 15:37:26 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 176 bytes |
| コンパイル時間 | 396 ms |
| コンパイル使用メモリ | 53,848 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-11-17 04:50:36 |
| 合計ジャッジ時間 | 838 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 3 WA * 2 |
ソースコード
#include <iostream>
int main()
{
int a, temp = 1;
std::cin >> a;
for (int i = 0; i < 3; ++i) {
a *= temp;
std::cin >> temp;
}
std::cout << a % temp << std::endl;
}