11 2021 档案

摘要:printf输出二进制 题意: 输出0到31的二进制数,要求前导零,保持位数为五位 #include <bits/stdc++.h> using namespace std; typedef long long LL; int main() { for(int i = 0 ; i < 32 ; i 阅读全文
posted @ 2021-11-17 11:03 ICE_棋 阅读(880) 评论(0) 推荐(0) 编辑
摘要:C++的六个输入 cin输入 输入一个数字或字符(不接受空字符作为字符输入,当输入字符为空字符时,会不断重复要求输入,直至输入字符非空后,通过回车结束输入) #include <iostream> using namespace std; int main () { int a,char b; ci 阅读全文
posted @ 2021-11-16 23:11 ICE_棋 阅读(360) 评论(0) 推荐(0) 编辑
摘要:JAVA随手记 Scanner中的读入与输出 next()与nextLine() import java.util.Scanner; //Scanner中nextLine()方法和next()方法的区别 Scanner cin = new Scanner(System.in); System.out 阅读全文
posted @ 2021-11-04 15:02 ICE_棋 阅读(33) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示