Run ID:110759

提交时间:2025-02-23 12:21:40

#include <iostream> using namespace std; int main() { int a, b; cin >> a >> b; // 读取两个整数 // 判断胜负 if ((a - b + 3) % 3 == 1) { cout << "winner:1" << endl; // a 胜 } else { cout << "winner:2" << endl; // b 胜 } return 0; }