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 2, 2023 21:52Jack FrigaardJack FrigaardScore: 4,858Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 21:524,78834,445,52713,279,0002,043,0002,285,568
2Jan 2, 2023 21:524,79736,640,01014,327,0001,023,0002,285,568
3Jan 2, 2023 21:524,82238,575,31114,402,0001,028,0002,383,872
4Jan 2, 2023 21:524,82734,885,71014,416,0001,029,0002,269,184
5Jan 2, 2023 21:524,84336,275,24914,463,0001,033,0002,285,568
6Jan 2, 2023 21:524,85135,493,27913,454,0002,069,0002,367,488
7Jan 2, 2023 21:524,85838,299,22315,547,00002,269,184
8Jan 2, 2023 21:524,86639,895,61914,533,0001,038,0002,527,232
9Jan 2, 2023 21:524,86737,397,86414,537,0001,038,0002,285,568
10Jan 2, 2023 21:525,07077,657,54516,224,37402,297,856
11Jan 2, 2023 21:525,07885,231,19916,249,16902,297,856
12Jan 2, 2023 21:525,08869,366,30816,282,25202,301,952