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 listJan 21, 2024 16:56matsuoka-601matsuoka-601Score: 4,839Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 21, 2024 16:564,81733,396,77214,386,0001,027,0002,289,664
2Jan 21, 2024 16:564,81932,749,51714,394,0001,028,0002,379,776
3Jan 21, 2024 16:564,81945,639,18814,394,0001,028,0002,531,328
4Jan 21, 2024 16:564,82030,155,28014,397,0001,028,0002,383,872
5Jan 21, 2024 16:564,83145,697,18213,399,0002,061,0002,289,664
6Jan 21, 2024 16:564,83231,641,64515,463,00002,371,584
7Jan 21, 2024 16:564,83936,948,08314,453,0001,032,0002,289,664
8Jan 21, 2024 16:564,84830,214,76014,481,0001,034,0002,273,280
9Jan 21, 2024 16:564,85534,315,69514,502,0001,035,0002,527,232
10Jan 21, 2024 16:565,04296,258,01616,132,80502,301,952
11Jan 21, 2024 16:565,05189,747,74416,163,94702,301,952
12Jan 21, 2024 16:565,05499,755,40416,171,83902,179,072