| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 367297 | 蒙可馨 | 【C1-12】彩票 | C++ | Accepted | 100 | 2 MS | 248 KB | 254 | 2025-12-07 20:25:39 |
#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<<20; else if(a/10==b/10||a/10==b/10||a%10==b/10==b%10) cout<<2; else cout<<0; return 0; }