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 listApr 18, 2024 09:19Joad NacerJoad NacerScore: 5,025Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 18, 2024 09:194,99233,496,02213,977,0001,996,0002,519,040
2Apr 18, 2024 09:194,99940,033,78613,997,0001,999,0002,265,088
3Apr 18, 2024 09:194,99947,189,65913,998,0001,999,0002,289,664
4Apr 18, 2024 09:195,00233,277,01514,005,0002,000,0002,289,664
5Apr 18, 2024 09:195,00640,533,59414,016,0002,002,0002,273,280
6Apr 18, 2024 09:195,01140,395,60415,033,0001,002,0002,269,184
7Apr 18, 2024 09:195,02535,964,53614,071,0002,010,0002,289,664
8Apr 18, 2024 09:195,02640,559,09716,083,00002,531,328
9Apr 18, 2024 09:195,03743,385,97414,104,0002,014,0002,289,664
10Apr 18, 2024 09:195,07398,838,52716,234,44702,293,760
11Apr 18, 2024 09:195,07780,188,58116,245,75202,301,952
12Apr 18, 2024 09:195,09889,284,41116,312,46702,297,856