Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
24024 LeoWang 利剑与坚盾 C++ 解答错误 0 MS 252 KB 309 2023-08-02 22:16:00

Tests(0/1):


#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 << "White tiger" << endl; } return 0; }


测评信息: