题解 | #(a+b-c)*d的计算问题#
(a+b-c)*d的计算问题
https://www.nowcoder.com/practice/9df4b80fc3ab475288e5c26972440e1b
#include <iostream> using namespace std; int main() { int a,b,c,d; cin>>a>>b>>c>>d; cout<<(a+b-c)*d; return 0; } // 64 位输出请用 printf("%lld")
(a+b-c)*d的计算问题
https://www.nowcoder.com/practice/9df4b80fc3ab475288e5c26972440e1b
#include <iostream> using namespace std; int main() { int a,b,c,d; cin>>a>>b>>c>>d; cout<<(a+b-c)*d; return 0; } // 64 位输出请用 printf("%lld")
相关推荐