結果

問題 No.8077 🔧
ユーザー chacoder1chacoder1
提出日時 2021-04-01 21:57:23
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 188 bytes
コンパイル時間 1,784 ms
コンパイル使用メモリ 191,476 KB
最終ジャッジ日時 2025-01-20 06:46:38
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other WA * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i,n) for(int i=0;i<n;i++)

int main(){
  int a,b,c,d,k;
  cin>>a>>b>>c>>d>>k;
  cout<<(a*b+c-d)%k<<endl;

}
0