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 17, 2023 22:29Alexander MonakovAlexander MonakovScore: 4,557Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 17, 2023 22:294,53735,827,41214,517,00002,498,560
2Mar 17, 2023 22:294,54331,048,76114,536,00002,494,464
3Mar 17, 2023 22:294,54428,965,14714,541,00002,277,376
4Mar 17, 2023 22:294,54631,196,37014,548,00002,502,656
5Mar 17, 2023 22:294,55241,247,37513,525,0001,040,0002,498,560
6Mar 17, 2023 22:294,55330,495,25714,569,00002,273,280
7Mar 17, 2023 22:294,55729,298,63313,542,0001,041,0002,277,376
8Mar 17, 2023 22:294,56331,381,36014,602,00002,277,376
9Mar 17, 2023 22:294,57331,297,50913,590,0001,045,0002,498,560
10Mar 17, 2023 22:294,78183,392,12815,298,66202,244,608
11Mar 17, 2023 22:294,79279,786,05815,334,20502,244,608
12Mar 17, 2023 22:294,79694,272,27915,347,56902,240,512