| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 165207 | 王垚植 | 二进制转十进制 | C++ | Wrong Answer | 1 MS | 276 KB | 208 | 2026-11-14 10:54:11 |
#include<bits/stdc++.h> using namespace std; int main(){ int n,m=1,i=0; cin>>n; while(n){ m+=pow(i,n%10); i++; n/=10; } cout<<m+1<<'\n'; return 0; }
------Input------
111001111110000111111010111100
------Answer-----
972586684
------Your output-----
348681