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 22, 2021 04:07Yuriy LyfenkoYuriy LyfenkoScore: 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
1Dec 22, 2021 04:075,625541,322,19316,942,0001,058,0002,334,720
2Dec 22, 2021 04:075,636541,773,15215,914,0002,121,0002,334,720
3Dec 22, 2021 04:075,644543,486,20815,051,0003,010,0002,334,720
4Dec 22, 2021 04:075,645547,533,08217,003,0001,062,0002,334,720
5Dec 22, 2021 04:075,669573,852,68018,142,33502,252,800
6Dec 22, 2021 04:075,673582,436,53818,153,26202,252,800
7Dec 22, 2021 04:075,706545,098,97216,338,0001,922,0002,334,720
8Dec 22, 2021 04:075,709582,760,95818,268,82102,289,664
9Dec 22, 2021 04:075,734544,483,81916,310,0002,038,0002,334,720
10Dec 22, 2021 04:075,967541,348,70417,085,0002,010,0002,334,720
11Dec 22, 2021 04:076,002543,369,49717,184,0002,021,0002,334,720
12Dec 22, 2021 04:076,028553,748,77417,258,0002,030,0002,334,720