上一页 1 ··· 3 4 5 6 7 8 9 10 下一页
摘要: 3.5 原码,反码,补码在二进制的编码过程中分为原码,反码,补码。原码是计算机对数字二进制定点表示方法。原码表示法在数值前面增加了符号位(即最高位为符号位):0代表正,1代表负。原码在计算机内部不能直接进行计算。反码是数值存储的一种,多应用于系统环境设置。补码是计算机中数字存储的常用形式。原码和反码 阅读全文
posted @ 2023-10-05 09:48 郭立恒 阅读(122) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2023-10-04 09:13 郭立恒 阅读(18) 评论(0) 推荐(0)
摘要: #include <iostream> using namespace std; void ss(int a,int b){ if(a<=9){ if(b<=a){ cout<<a<<" x "<<b<<" = "<<a*b<<" "; ss(a,b+1); }else{ cout<<endl; s 阅读全文
posted @ 2023-09-03 08:41 郭立恒 阅读(27) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstdio> #include<cstring> using namespace std; int x,y,z; int a(int z){ if(z<x+2){ return 1; } return a(z-1)+a(z-x-2)*y;// 阅读全文
posted @ 2023-08-03 20:10 郭立恒 阅读(28) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2023-07-24 20:07 郭立恒 阅读(0) 评论(0) 推荐(0)
摘要: #include <iostream> using namespace std; int main(int argc, char** argv) { char n[8]; int b=0; for(int i=0;i<8;i++){ cin>>n[i]; } for(int i=0;i<8;i++) 阅读全文
posted @ 2023-07-22 19:55 郭立恒 阅读(10) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2023-07-21 20:14 郭立恒 阅读(1) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2023-07-18 20:26 郭立恒 阅读(0) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2023-07-18 20:16 郭立恒 阅读(0) 评论(0) 推荐(0)
摘要: #include <iostream> using namespace std; int main() { int n,m,sum=0; cin>>n; char a[n][n]; for(int i=0;i<n;i++){ for(int j=0;j<n;j++){ cin>>a[i][j]; } 阅读全文
posted @ 2023-07-08 20:14 郭立恒 阅读(28) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 下一页