Megabytes, Gigabytes, Terabytes

These terms are usually used in the world of computing to describe disk space, or data storage space, and system memory. For instance, just a few years ago we were describing hard drive space using the term Megabytes. Today, Gigabytes is the most common term being used to describe the size of a hard drive. In the not so distant future, Terabyte will be a common term. But what are they? This is where it gets quite confusing because there are at least three accepted definitions of each term.

Computer Coupons and Deals

Coupon of the Day

Get a 20% discount with the Acronis Black Friday and Cyber Monday Acronis True Image 2010 Coupon Code! BFATIH10

More Coupons and Deals>>

According to the IBM Dictionary of computing, when used to describe disk storage capacity, a megabyte is 1,000,000 bytes in decimal notation. But when the term megabyte is used for real and virtual storage, and channel volume, 2 to the 20th power or 1,048,576 bytes is the appropriate notation. According to the Microsoft Press Computer Dictionary, a megabyte means either 1,000,000 bytes or 1,048,576 bytes. According to Eric S. Raymond in The New Hacker's Dictionary, a megabyte is always 1,048,576 bytes on the argument that bytes should naturally be computed in powers of two. So which definition do most people conform to?

When referring to a megabyte for disk storage, the hard drive manufacturers use the standard that a megabyte is 1,000,000 bytes. This means that when you buy an 80 Gigabyte Hard drive you will get a total of 80,000,000,000 bytes of available storage. This is where it gets confusing because Windows uses the 1,048,576 byte rule so when you look at the Windows drive properties an 80 Gigabyte drive will report a capacity of 74.56 Gigabytes and a 250 Gigabyte drive will only yield 232 Gigabytes of available storage space. Anybody confused yet? With three accepted definitions, there will always be some confusion so I will try to simplify the definitions a little.

The 1000 can be replaced with 1024 and still be correct using the other acceptable standards. Both of these standards are correct depending on what type of storage you are referring.

Processor or Virtual StorageDisk Storage

· 1 Bit = Binary Digit
· 8 Bits = 1 Byte
· 1024 Bytes = 1 Kilobyte 
· 1024 Kilobytes = 1 Megabyte 
· 1024 Megabytes = 1 Gigabyte 
· 1024 Gigabytes = 1 Terabyte 
· 1024 Terabytes = 1 Petabyte 
· 1024 Petabytes = 1 Exabyte
· 1024 Exabytes = 1 Zettabyte 
· 1024 Zettabytes = 1 Yottabyte 
· 1024 Yottabytes = 1 Brontobyte
· 1024 Brontobytes = 1 Geopbyte

· 1 Bit = Binary Digit
· 8 Bits = 1 Byte
· 1000 Bytes = 1 Kilobyte 
· 1000 Kilobytes = 1 Megabyte 
· 1000 Megabytes = 1 Gigabyte 
· 1000 Gigabytes = 1 Terabyte 
· 1000 Terabytes = 1 Petabyte 
· 1000 Petabytes = 1 Exabyte
· 1000 Exabytes = 1 Zettabyte 
· 1000 Zettabytes = 1 Yottabyte 
· 1000 Yottabytes = 1 Brontobyte
· 1000 Brontobytes = 1 Geopbyte



本文转自gaodi2002 51CTO博客,原文链接:http://blog.51cto.com/gaodi2002/1618131
回答: 这个问题是关于时间限制和内存限制的。根据引用\[1\]和引用\[2\],时间限制是每个测试用例2秒,内存限制是每个测试用例256兆字节。而引用\[3\]是关于一群学生乘坐出租车的问题,没有提到时间限制和内存限制。所以,这个问题中的时间限制和内存限制是没有具体指定的。 #### 引用[.reference_title] - *1* [ Luba And The Ticket time limit per test2 seconds memory limit per test256 megabytes inputstanda](https://blog.csdn.net/a197p/article/details/77467994)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item] - *2* [time limit per test/memory limit per test](https://blog.csdn.net/qq_44470353/article/details/110227672)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item] - *3* [cf刷题---贪心算法应用-B. Taxi](https://blog.csdn.net/weixin_43400325/article/details/89684875)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item] [ .reference_list ]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值