| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 20812 | 杨竣周 | 8进制转10进制 | C++ | Compile Error | 0 | 0 MS | 0 KB | 178 | 2021-06-20 13:54:37 |
#include<bits/stdc++.h> using namespace std; typedef int ii; ii a,n,m; int main(){ cin>>n; while(n){ a+=(n%10*pow(8,m)); n/=10; m++ } cout<<a; return 0; }