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 6, 2024 22:31zielajzielajScore: 4,672Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 6, 2024 22:314,63444,907,98912,852,0001,977,0002,273,280
2Aug 6, 2024 22:314,64032,284,83514,849,00002,289,664
3Aug 6, 2024 22:314,64349,478,81713,869,000990,0002,383,872
4Aug 6, 2024 22:314,65742,497,63012,916,0001,987,0002,289,664
5Aug 6, 2024 22:314,66030,396,67113,918,000994,0002,289,664
6Aug 6, 2024 22:314,66436,929,16912,935,0001,990,0002,277,376
7Aug 6, 2024 22:314,67231,987,86713,954,000996,0002,519,040
8Aug 6, 2024 22:314,67436,531,00812,963,0001,994,0002,273,280
9Aug 6, 2024 22:314,69838,527,16114,032,0001,002,0002,289,664
10Aug 6, 2024 22:314,84495,903,35315,500,02002,179,072
11Aug 6, 2024 22:314,91059,171,59515,713,08502,310,144
12Aug 6, 2024 22:314,91486,977,88115,723,43502,179,072