結果
| 問題 | No.1453 手助け |
| コンテスト | |
| ユーザー |
kuc_jackson
|
| 提出日時 | 2021-04-01 23:02:17 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 434 bytes |
| 記録 | |
| コンパイル時間 | 1,206 ms |
| コンパイル使用メモリ | 125,884 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-06-19 08:34:44 |
| 合計ジャッジ時間 | 1,909 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 2 |
| other | AC * 1 WA * 20 |
ソースコード
#include<iostream>
#include<iomanip>
#include<bitset>
#include<algorithm>
#include<string>
#include<vector>
#include<cstdio>
#include<cmath>
#include<queue>
#include<map>
#include<set>
using namespace std;
using ll=long long;
int main(){
int A, B, C, D, E;
cin >> A >> B >> C >> D >> E;
int np = A * (B - C) * D;
int discount = (A * (B - C) / 10 - (E - 1) / 10) * E;
cout << np - discount << endl;
return 0;
}
kuc_jackson