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 17:42Jack FrigaardJack FrigaardScore: 4,959Success
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 17:424,90543,930,70514,650,0001,046,0002,285,568
2Jan 2, 2023 17:424,91142,801,20114,668,0001,047,0002,269,184
3Jan 2, 2023 17:424,91232,913,36715,717,00002,285,568
4Jan 2, 2023 17:424,95542,124,04413,874,0001,982,0002,285,568
5Jan 2, 2023 17:424,95632,761,11713,878,0001,982,0002,285,568
6Jan 2, 2023 17:424,95843,158,17914,875,000991,0002,527,232
7Jan 2, 2023 17:424,95946,397,56513,887,0001,983,0002,273,280
8Jan 2, 2023 17:424,95930,844,54613,887,0001,983,0002,285,568
9Jan 2, 2023 17:424,96046,094,49513,888,0001,984,0002,285,568
10Jan 2, 2023 17:425,16186,772,99216,516,64602,293,760
11Jan 2, 2023 17:425,164102,821,96916,525,19102,293,760
12Jan 2, 2023 17:425,17989,168,72516,571,48102,293,760