#include <iostream> using namespace std; int main() { float height; cin >> height; float ans = (height - 100) * 0.9 * 2; printf("%.1f", ans); return 0; }
PTA L1-29.是不是太胖了
于 2024-05-03 02:34:54 首次发布
#include <iostream> using namespace std; int main() { float height; cin >> height; float ans = (height - 100) * 0.9 * 2; printf("%.1f", ans); return 0; }