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 23, 2021 10:30Andrey TsvetkovAndrey TsvetkovScore: 5,789Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 10:305,71484,865,27718,285,69502,236,416
2May 23, 2021 10:305,72073,840,34118,302,51702,244,608
3May 23, 2021 10:305,74781,441,82118,389,22602,244,608
4May 23, 2021 10:305,75647,122,10516,372,0002,046,0002,531,328
5May 23, 2021 10:305,76235,123,26116,389,0002,048,0002,531,328
6May 23, 2021 10:305,77386,452,82018,473,80202,240,512
7May 23, 2021 10:305,78638,594,04917,488,0001,028,0002,334,720
8May 23, 2021 10:305,78983,840,21718,524,93502,240,512
9May 23, 2021 10:305,80450,970,08316,509,0002,063,0002,527,232
10May 23, 2021 10:305,80635,050,24317,547,0001,032,0002,531,328
11May 23, 2021 10:305,81852,509,71017,582,0001,034,0002,334,720
12May 23, 2021 10:305,82547,962,34516,568,0002,071,0002,326,528
13May 23, 2021 10:305,868105,341,86618,778,47502,248,704
14May 23, 2021 10:305,88346,219,18715,854,0002,972,0002,531,328
15May 23, 2021 10:305,92244,192,86416,955,0001,994,0002,535,424