救救我,0分悬关
查看原帖
救救我,0分悬关
1333723
kervinyan楼主2024/6/3 20:57
#include <iostream>
#include <vector>
std::string answer_query(int x, int y) {
    if ((x % 2) != (y % 2)) {
        return "Yes";
    }
    return "Placeholder Answer"; 
}

int main() {
    int T;
    std::cin >> T;
    while (T--) {
        int x, y;
        std::cin >> x >> y;
        std::cout << answer_query(x, y) << std::endl;
    }
    return 0;
}
2024/6/3 20:57
加载中...