

Hãy luôn nhớ cảm ơn và vote 5*
nếu câu trả lời hữu ích nhé!
#include <iostream>
using namespace std;
int main(){
long long x,y,z,t;
cin>>x>>y>>z>>t;
if (x>=z and y>=z)
{
cout<<x+y-z+t;
}
else
{
cout<<"None";
}
}
Hãy giúp mọi người biết câu trả lời này thế nào?
#include <bits/stdc++.h>
using namespace std;
int main()
{
freopen("TINTOAN.inp", "r", stdin), freopen("TINTOAN.out", "w", stdout);
long long x, y, z, t;
cin >> x >> y >> z >> t;
if (x + y - z > 0)
{
cout << x + y - z + t;
}
else
cout << "None";
return 0;
}
Hãy giúp mọi người biết câu trả lời này thế nào?
Bảng tin