| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 338144 | 李明灿 | 【C2-3】加权数字和 | C++ | Accepted | 100 | 2 MS | 248 KB | 161 | 2025-08-06 11:12:18 |
#include<bits/stdc++.h> using namespace std; int n,x,c,i=1; int main(){ cin>>x; while(x){ c+=x%10*i; x/=10; i++; } cout<<c; return 0; }