Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
160214 张浩然 十进制转二进制 C++ Wrong Answer 1 MS 276 KB 182 2026-09-13 12:04:05

Tests(3/20):


Code:

#include<bits/stdc++.h> using namespace std; int main (){ string sum=""; int x; cin>>x; while(x!=0){ sum=char(x%2+48)+sum; x/=2; } cout<<sum; return 0; }


Run Info:

------Input------
0
------Answer-----
0
------Your output-----