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 3, 2023 13:55Yuriy LyfenkoYuriy LyfenkoScore: 7,140Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 3, 2023 13:555,89794,002,60918,870,95402,269,184
2Dec 3, 2023 13:555,95264,153,33019,046,24702,273,280
3Dec 3, 2023 13:556,00789,587,68319,221,22302,273,280
4Dec 3, 2023 13:557,07854,387,70620,591,0002,059,0002,551,808
5Dec 3, 2023 13:557,09748,572,05720,645,0002,064,0002,555,904
6Dec 3, 2023 13:557,10650,520,87121,706,0001,033,0002,449,408
7Dec 3, 2023 13:557,14050,602,41720,862,0001,986,0002,457,600
8Dec 3, 2023 13:557,15652,902,99920,907,0001,991,0002,539,520
9Dec 3, 2023 13:557,19351,398,69221,018,0002,001,0002,551,808
10Dec 3, 2023 13:557,22052,803,26221,096,0002,009,0002,445,312
11Dec 3, 2023 13:557,26647,398,13922,240,0001,010,0002,461,696
12Dec 3, 2023 13:5514,81671,861,12045,395,0002,017,0002,551,808