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 1, 2024 18:09Nao YonashiroNao YonashiroScore: 5,583Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 1, 2024 18:095,50834,707,63017,626,00002,265,088
2Aug 1, 2024 18:095,51544,880,06517,647,00002,387,968
3Aug 1, 2024 18:095,52044,316,12216,624,0001,039,0002,289,664
4Aug 1, 2024 18:095,53134,763,67317,698,00002,273,280
5Aug 1, 2024 18:095,57344,305,59515,852,0001,981,0002,531,328
6Aug 1, 2024 18:095,57646,589,05016,851,000991,0002,289,664
7Aug 1, 2024 18:095,58350,948,14515,880,0001,985,0002,273,280
8Aug 1, 2024 18:095,58545,400,82016,879,000992,0002,289,664
9Aug 1, 2024 18:095,58642,433,02515,890,0001,986,0002,371,584
10Aug 1, 2024 18:095,70489,841,52618,252,50302,179,072
11Aug 1, 2024 18:095,71670,995,06818,292,34302,183,168
12Aug 1, 2024 18:095,79164,682,55218,529,90502,179,072