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 listMay 30, 2021 16:50Yuriy LyfenkoYuriy LyfenkoScore: 5,053Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 30, 2021 16:505,00444,266,52314,012,0002,001,0002,281,472
2May 30, 2021 16:505,02732,204,55014,076,0002,010,0002,281,472
3May 30, 2021 16:505,02831,512,30415,083,0001,005,0002,404,352
4May 30, 2021 16:505,02837,956,68915,085,0001,005,0002,519,040
5May 30, 2021 16:505,02938,723,10115,088,0001,005,0002,392,064
6May 30, 2021 16:505,03138,007,67114,087,0002,012,0002,404,352
7May 30, 2021 16:505,05333,817,37315,158,0001,010,0002,404,352
8May 30, 2021 16:505,05936,113,04514,166,0002,023,0002,510,848
9May 30, 2021 16:505,06844,570,01414,192,0002,027,0002,396,160
10May 30, 2021 16:505,20466,707,88216,652,44902,289,664
11May 30, 2021 16:505,20790,087,71116,663,18702,281,472
12May 30, 2021 16:505,23087,385,56816,735,06302,293,760