Run ID | 作者 | 问题 | 语言 | 测评结果 | 分数 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
14180 | c292user2 | 面积 | C++ | 解答错误 | 90 | 0 MS | 696 KB | 221 | 2021-07-10 19:19:47 |
#include<bits/stdc++.h> using namespace std; int main(){ long int a,b,c; cin>>a>>b>>c; int ans=0,cnt=0; if(a>0&&b>0&&c>0) ans=a*a; cnt=b*c; if(ans>cnt)cout<<"Alice"; else cout<<"Bob"; return 0; }