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 listAug 6, 2024 23:46zielajzielajScore: 4,788Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 6, 2024 23:464,74737,591,38713,165,0002,025,0002,289,664
2Aug 6, 2024 23:464,75535,744,67213,187,0002,028,0002,273,280
3Aug 6, 2024 23:464,76632,381,85614,234,0001,016,0002,289,664
4Aug 6, 2024 23:464,77839,100,88513,252,0002,038,0002,289,664
5Aug 6, 2024 23:464,78337,478,37214,286,0001,020,0002,289,664
6Aug 6, 2024 23:464,78436,586,18113,269,0002,041,0002,289,664
7Aug 6, 2024 23:464,78836,689,65913,280,0002,043,0002,289,664
8Aug 6, 2024 23:464,78834,971,17613,280,0002,043,0002,281,472
9Aug 6, 2024 23:464,80832,090,27214,362,0001,025,0002,523,136
10Aug 6, 2024 23:464,985101,407,44415,951,54602,179,072
11Aug 6, 2024 23:464,99472,882,99115,981,77202,301,952
12Aug 6, 2024 23:465,04394,442,62716,137,25902,301,952