| Run ID | 作者 | 问题 | 语言 | 测评结果 | 分数 | 时间 | 内存 | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|---|
| 359259 | admin_rjp | 【C1-12】彩票 | C++ | 通过 | 100 | 9 MS | 248 KB | 311 | 2025-11-01 16:13:36 |
#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||x/10==y%10||x%10==y/10||x%10==y%10){ cout<<2; }else{ cout<<0; } return 0; }