Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listAug 7, 2024 00:03zielajzielajScore: 4,767Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 7, 2024 00:034,73531,783,26714,142,0001,010,0002,277,376
2Aug 7, 2024 00:034,74838,936,86913,169,0002,026,0002,277,376
3Aug 7, 2024 00:034,74934,622,77913,172,0002,026,0002,277,376
4Aug 7, 2024 00:034,75333,120,06713,183,0002,028,0002,281,472
5Aug 7, 2024 00:034,75834,106,25113,197,0002,030,0002,289,664
6Aug 7, 2024 00:034,76536,014,73013,216,0002,033,0002,289,664
7Aug 7, 2024 00:034,76744,754,65814,238,0001,017,0002,277,376
8Aug 7, 2024 00:034,77532,591,51214,261,0001,018,0002,527,232
9Aug 7, 2024 00:034,77535,918,07613,244,0002,037,0002,273,280
10Aug 7, 2024 00:034,984101,548,95315,949,95002,179,072
11Aug 7, 2024 00:035,00593,032,81716,016,45702,306,048
12Aug 7, 2024 00:035,02272,570,72116,071,15302,297,856