fpy游戏人生 题解分享 · 2024/4/11
空间(结果填空) - 题解
直接用计算器或者excel算,256 1024 1024/4
0 0 1 0
didhv 题解分享 · 2024/4/4
空间(结果填空) - 题解
``` public class 空间 { public static void main(String[] args) { // TODO Auto-generated method stub long total = 256L * 1024 * 1024 * 8; // 计算总位数 因为1字节(Byte)= 8位(bit),而1MB = 1024KB, 1KB = 1024字节 long Stored = total / 32; // 计算可以存储的32位整数数量 System.out.println("256MB的空间可以存储的32位二进制整数的数量是: " + Stored); } } ```
查看全文
0 0 0 7
WonderfulD 题解分享 · 2024/4/5
空间(结果填空) - 题解
1Byte = 8 bit 4 Byte = 32 bit 1 MB = 1024 KB 1 KB = 1024 Byte answer = 25610241024/4
0 0 0 6