c_code/景区门票计算.cpp

9 lines
117 B
C++
Raw Normal View History

2024-07-16 18:19:51 +08:00
#include<iostream>
using namespace std;
int main() {
int x,y,z;
cin>>x>>y>>z;
cout<<x*120+y*60+z*72;
return 0;
}