ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#168108 | #1143. 打折!打折! | luojianwei2216 | 100 | 0ms | 1328kb | C++ | 177b | 2023-01-28 20:29:16 | 2023-01-28 20:29:18 |
answer
#include <bits/stdc++.h>
using namespace std;
int main() {
double k, p, y;
cin >> k >> p;
k /= 10;
y = p / k;
cout << fixed << setprecision(2) << y;
return 0;
}
Details
小提示:点击横条可展开更详细的信息
Test #1:
score: 50
Accepted
time: 0ms
memory: 1328kb
input:
9.5 275
output:
289.47
result:
ok single line: '289.47'
Test #2:
score: 50
Accepted
time: 0ms
memory: 1328kb
input:
6.5 902
output:
1387.69
result:
ok single line: '1387.69'