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 listDec 2, 2022 12:21eeby jeebyeeby jeebyScore: 2,524,933Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 2, 2022 12:212,520,1648,129,059,7448,064,525,26602,252,800
2Dec 2, 2022 12:212,524,9338,148,250,5618,079,785,45102,256,896
3Dec 2, 2022 12:212,526,2398,147,410,4688,083,963,94902,260,992