油耗(C++) 一心敲代码 2023-11-15 45 阅读1分钟 #include <cstdio> #include <iostream> using namespace std; int main() { int a; double b; scanf("%d%lf",&a,&b); printf("%.3lf km/l",a / b); return 0; }