結果
| 問題 |
No.373 かけ算と割った余り
|
| コンテスト | |
| ユーザー |
tomsonsc
|
| 提出日時 | 2016-06-07 23:20:40 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 269 bytes |
| コンパイル時間 | 1,123 ms |
| コンパイル使用メモリ | 55,628 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-10-08 22:06:44 |
| 合計ジャッジ時間 | 1,272 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 3 WA * 2 |
コンパイルメッセージ
main.cpp: In function ‘int main()’:
main.cpp:18:15: warning: ignoring return value of ‘int system(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
18 | system("pause");
| ~~~~~~^~~~~~~~~
ソースコード
#include<iostream>
#include <array>
#include<string>
using namespace std;
int main(){
array<int, 4> Intezer;
for (int i = 0; i < 4; i++){
cin >> Intezer[i];
}
cout << Intezer[0] * Intezer[1] * Intezer[2] % Intezer[3]<<endl;
system("pause");
return 0;
}
tomsonsc