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 02:22Steve BronderSteve BronderScore: 5,700Success
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 02:225,64640,903,00316,061,0002,007,0002,293,760
2Apr 10, 2024 02:225,67341,088,55817,147,0001,008,0002,506,752
3Apr 10, 2024 02:225,67644,204,07717,155,0001,009,0002,510,848
4Apr 10, 2024 02:225,68446,353,68816,169,0002,021,0002,293,760
5Apr 10, 2024 02:225,68540,242,46616,172,0002,021,0002,293,760
6Apr 10, 2024 02:225,69253,574,27717,203,0001,011,0002,293,760
7Apr 10, 2024 02:225,70043,519,28716,214,0002,026,0002,293,760
8Apr 10, 2024 02:225,71535,304,60816,257,0002,032,0002,514,944
9Apr 10, 2024 02:225,71837,802,57916,264,0002,033,0002,506,752
10Apr 10, 2024 02:225,85882,292,26818,745,00402,277,376
11Apr 10, 2024 02:225,86791,143,96918,773,65102,273,280
12Apr 10, 2024 02:225,89576,832,33618,865,37802,281,472