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 listJun 12, 2024 02:48Yuriy LyfenkoYuriy LyfenkoScore: 4,468Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 12, 2024 02:484,415544,006,81313,120,0001,009,0002,523,136
2Jun 12, 2024 02:484,420538,486,21513,134,0001,010,0002,396,160
3Jun 12, 2024 02:484,429551,629,51213,161,0001,012,0002,400,256
4Jun 12, 2024 02:484,454540,255,10614,253,00002,265,088
5Jun 12, 2024 02:484,457538,732,05414,263,00002,392,064
6Jun 12, 2024 02:484,461538,760,19412,237,0002,039,0002,519,040
7Jun 12, 2024 02:484,468540,823,28914,297,00002,523,136
8Jun 12, 2024 02:484,471541,525,64514,308,00002,265,088
9Jun 12, 2024 02:484,472538,445,21212,265,0002,044,0002,527,232
10Jun 12, 2024 02:484,627576,368,54414,805,53302,240,512
11Jun 12, 2024 02:484,631577,086,56614,818,51002,285,568
12Jun 12, 2024 02:484,637584,402,22414,839,51902,240,512