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 listMar 18, 2023 06:51Alexander MonakovAlexander MonakovScore: 4,551Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 18, 2023 06:514,52533,247,42814,480,00002,498,560
2Mar 18, 2023 06:514,52933,661,65314,492,00002,494,464
3Mar 18, 2023 06:514,53230,228,17714,501,00002,277,376
4Mar 18, 2023 06:514,53428,730,55514,508,00002,273,280
5Mar 18, 2023 06:514,54033,879,06414,528,00002,277,376
6Mar 18, 2023 06:514,54532,077,70814,545,00002,277,376
7Mar 18, 2023 06:514,55139,609,84113,523,0001,040,0002,277,376
8Mar 18, 2023 06:514,55329,769,50814,568,00002,494,464
9Mar 18, 2023 06:514,55933,202,06814,590,00002,498,560
10Mar 18, 2023 06:514,77987,869,51315,291,75602,244,608
11Mar 18, 2023 06:514,77993,756,72615,294,32402,244,608
12Mar 18, 2023 06:514,78763,921,74615,318,93402,244,608