包对的

coke  •  5个月前


include <bits/stdc++.h>

using namespace std;

int main() {

int a, b, c, d, s; cin >> a >> b >> c >> d >> s; if (a + b == s) {

cout << '1';

} else if (a + c == s) {

cout << '1';

} else if (a + d == s) {

cout << '1';

} else if (b + c == s) {

cout << '1';

} else if (b + d == s) {

cout << '1';

} else if (c + d == s) {

cout << '1';

} else {

cout << "-1";

}

return 0;

}


评论:

笑死,什么实力啊,小老弟


楊卍广  •  4个月前

没实力就别说话,fvv


coke  •  4个月前

请先登录,才能进行评论