結果
| 問題 | No.373 かけ算と割った余り |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-02-15 14:31:38 |
| 言語 | C++14 (gcc 15.3.0 + boost 1.92.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 1 ms / 2,000 ms |
| + 286µs | |
| コード長 | 110 bytes |
| 記録 | |
| コンパイル時間 | 260 ms |
| コンパイル使用メモリ | 72,240 KB |
| 実行使用メモリ | 9,872 KB |
| 最終ジャッジ日時 | 2026-10-09 12:04:41 |
| 合計ジャッジ時間 | 1,195 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 5 |
コンパイルメッセージ
main.cpp:2:21: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
2 | using namespace std;main(){long long a,b,c,d;cin>>a>>b>>c>>d;cout<<(((a*b)%d)*c)%d<<endl;}
| ^~~~
ソースコード
#include <iostream>
using namespace std;main(){long long a,b,c,d;cin>>a>>b>>c>>d;cout<<(((a*b)%d)*c)%d<<endl;}