提交时间:2023-02-12 12:28:09
运行 ID: 8910
#include <iostream> using namespace std; int main(){ int attack,defend; cin >> attack >> defend; double n=attack/defend; if(n>=1.2){ cout << "青龙" << endl; } if(n<0.8){ cout << "玄武" << endl; } if((n>=0.8)&&(n<1.2)){ cout << "白虎" << endl; } return 0; }