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 listApr 10, 2024 03:05Steve BronderSteve BronderScore: 5,701Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 10, 2024 03:055,65537,701,63416,086,0002,010,0002,293,760
2Apr 10, 2024 03:055,68139,694,83016,159,0002,019,0002,293,760
3Apr 10, 2024 03:055,68640,192,51917,186,0001,010,0002,293,760
4Apr 10, 2024 03:055,68635,357,01317,186,0001,010,0002,293,760
5Apr 10, 2024 03:055,69240,748,13416,191,0002,023,0002,293,760
6Apr 10, 2024 03:055,69634,514,12116,201,0002,025,0002,281,472
7Apr 10, 2024 03:055,70138,928,25116,217,0002,027,0002,387,968
8Apr 10, 2024 03:055,70339,440,93516,222,0002,027,0002,392,064
9Apr 10, 2024 03:055,71945,844,30017,285,0001,016,0002,293,760
10Apr 10, 2024 03:055,82095,790,77218,624,50802,179,072
11Apr 10, 2024 03:055,87688,171,98818,801,70602,187,264
12Apr 10, 2024 03:055,88185,306,71818,820,06402,256,896