| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 328339 | 孙一铭 | 【C6-2】正整数N转换成一个二进制数 | C++ | Wrong Answer | 66 | 3 MS | 260 KB | 183 | 2025-07-07 09:35:23 |
#include<bits/stdc++.h> using namespace std; int n,b,t; int main(){ cin>>n; char c; string s; while(n>0){ c=n%2+'0'; s=c+s; n=n/2; } cout<<s; return 0; }