| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 323984 | 王栎州 | 【C6-2】10进制转D进制 | C++ | Wrong Answer | 80 | 1 MS | 256 KB | 248 | 2025-05-24 13:07:20 |
#include <bits/stdc++.h> using namespace std; int main() { int n,r; string s="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"; string s1; cin>>n>>r; while(n!=0){ s1=s[n%r]+s1; n=n/r; } cout<<s1; return 0; }