| Run ID | 作者 | 问题 | 语言 | 测评结果 | 分数 | 时间 | 内存 | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|---|
| 328890 | 黄浙峰老师 | 【C1-12】彩票 | C++ | 通过 | 100 | 3 MS | 244 KB | 414 | 2025-07-07 16:16:07 |
#include<iostream> using namespace std; int main() { int x,y; cin>>x>>y; if(x==y){ cout<<100; }else if(x/10==y%10&&x%10==y/10){ cout<<20; }else if(x/10==y/10){ cout<<2; }else if(x/10==y%10){ cout<<2; }else if(x%10==y/10){ cout<<2; }else if(x%10==y%10){ cout<<2; }else{ cout<<0; } return 0; }