結果

問題 No.8077 🔧
ユーザー square1001
提出日時 2021-04-01 21:53:03
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 3 ms / 2,000 ms
コード長 179 bytes
コンパイル時間 864 ms
コンパイル使用メモリ 63,836 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-12-21 06:12:17
合計ジャッジ時間 1,357 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <string>
#include <iostream>
using namespace std;
int main() {
	int a, b, c, d, k;
	cin >> a >> b >> c >> d >> k;
	cout << (1LL * a * b + c - d) % k << endl;
	return 0;
}
0