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 listMay 17, 2023 20:44Martin StensgårdMartin StensgårdScore: 5,477Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2023 20:445,42842,860,93816,350,0001,021,0002,269,184
2May 17, 2023 20:445,43646,693,65316,371,0001,023,0002,269,184
3May 17, 2023 20:445,44348,395,45317,417,00002,269,184
4May 17, 2023 20:445,45143,791,27417,444,00002,531,328
5May 17, 2023 20:445,45143,462,59116,418,0001,026,0002,269,184
6May 17, 2023 20:445,45551,922,42117,456,00002,379,776
7May 17, 2023 20:445,47739,520,68817,526,00002,375,680
8May 17, 2023 20:445,47939,250,06117,533,00002,375,680
9May 17, 2023 20:445,48537,748,81616,519,0001,032,0002,269,184
10May 17, 2023 20:445,61369,770,91517,960,11202,256,896
11May 17, 2023 20:445,615102,301,26717,968,07002,244,608
12May 17, 2023 20:445,63888,622,23618,040,55202,269,184