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 listApr 13, 2024 20:02Brian WardBrian WardScore: 5,706Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 13, 2024 20:025,64845,708,97416,066,0002,008,0002,289,664
2Apr 13, 2024 20:025,65135,825,19916,074,0002,009,0002,289,664
3Apr 13, 2024 20:025,66340,224,54316,110,0002,013,0002,289,664
4Apr 13, 2024 20:025,66446,309,10718,126,00002,355,200
5Apr 13, 2024 20:025,67035,417,48817,137,0001,008,0002,289,664
6Apr 13, 2024 20:025,68135,081,64616,159,0002,019,0002,289,664
7Apr 13, 2024 20:025,70641,449,96616,230,0002,028,0002,289,664
8Apr 13, 2024 20:025,71545,043,65716,256,0002,032,0002,289,664
9Apr 13, 2024 20:025,72538,163,38916,285,0002,035,0002,351,104
10Apr 13, 2024 20:025,89883,587,90018,872,77102,236,416
11Apr 13, 2024 20:025,89887,468,35118,874,87902,240,512
12Apr 13, 2024 20:025,89885,186,57118,875,10802,236,416