Run ID | 作者 | 问题 | 语言 | 测评结果 | 分数 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
321302 | 顾子丞 | 【C1-11】抽奖 | C++ | 通过 | 100 | 1 MS | 248 KB | 211 | 2025-05-10 11:05:00 |
#include<iostream> using namespace std; int main(){ int a,b; cin>>a>>b; if(a==b){ cout<<"100"; } else if(a/10 == b/10 || a%10 ==b%10){ cout<<"10"; } else{ cout<<"0"; } return 0; }