提交时间:2025-12-26 15:47:05

运行 ID: 78460

#include <iostream> using namespace std; int main() { int attack, defense; cin >> attack >> defense; double ratio = static_cast<double>(attack) / defense; if (ratio >= 1.2) { cout << "青龙"; } else if (ratio < 0.8) { cout << "玄武"; } else { cout << "白虎"; } return 0; }