提交时间:2023-08-02 22:17:42

运行 ID: 24025

#include <iostream> using namespace std; int main(){ int attack,defend; cin >> attack >> defend; double n=attack/defend; if(n>=1.2){ cout << "Blue dragon" << endl; } if(n<0.8){ cout << "Xuanwu" << endl; } if((n>=0.8)&&(n<1.2)){ cout << "白虎" << endl; } return 0; }