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 15, 2024 05:04Steve BronderSteve BronderScore: 5,668Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 15, 2024 05:045,63676,206,23318,033,66202,260,992
2Apr 15, 2024 05:045,64078,570,47618,047,19402,297,856
3Apr 15, 2024 05:045,64446,135,10116,054,0002,006,0002,293,760
4Apr 15, 2024 05:045,64540,237,86916,057,0002,007,0002,293,760
5Apr 15, 2024 05:045,64932,898,28216,068,0002,008,0002,277,376
6Apr 15, 2024 05:045,66035,117,75316,099,0002,012,0002,293,760
7Apr 15, 2024 05:045,66896,141,60218,137,77502,256,896
8Apr 15, 2024 05:045,67038,928,55716,129,0002,016,0002,293,760
9Apr 15, 2024 05:045,67739,057,52518,165,00002,277,376
10Apr 15, 2024 05:045,68739,925,03516,177,0002,022,0002,293,760
11Apr 15, 2024 05:045,68836,525,07516,179,0002,022,0002,277,376
12Apr 15, 2024 05:045,70941,922,56017,255,0001,015,0002,293,760