Run ID:156960
提交时间:2026-07-11 22:33:45
#include<bits/stdc++.h> using namespace std; int main() int d; double f; cin>>d; if(d<=2) { f=6.0; } else { f=6+(d-2)*1.8; } else { f=6+(10-2)*1.8+(d-10)*2.7; } return 0; }