dovelet - spot of light/spot
1 2 3 4 5 6 7 8 9 10 11 12 13 | #include <iostream> using namespace std; int main() { float d, p; cin >> d >> p; cout.precision(3); cout << fixed << d * (-p / 100) << endl; return 0; } | cs |
'algorithm ' 카테고리의 다른 글
더블릿|dovelet - 선의 수 구하기/complete_graph (0) | 2016.07.16 |
---|---|
dovelet - x 길이 구하기/x_length (0) | 2016.07.16 |
dovelet - 내/외각의 합/angle (0) | 2016.07.14 |
dovelet - maxandmin/maxandmin (0) | 2016.07.14 |
dovelet - 기울기/slant (0) | 2016.07.14 |