题解 | #缩短二进制#

缩短二进制

https://www.nowcoder.com/practice/4ffcc9f206b949ddb057ee0099b34d51

#include <stdio.h>
int main()
{
    int a = 1234;
    int b = 1234;
    printf("%#o %#X",a,b);
    return 0;
}
//值得注意的一个使用修饰符“#”控制前导显示

全部评论

相关推荐

allin实习的大白...:我把第二个项目发出来了,如果感兴趣可以去研究研究,欢迎交流。 https://gitee.com/jtyjtyjty333/ind-dist-ai-sec-edge-cloud https://github.com/jtylab/ind-dist-ai-sec-edge-cloud
点赞 评论 收藏
分享
评论
3
1
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务