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 listNov 27, 2024 16:52Hayden DonnellyHayden DonnellyScore: 47,042Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 27, 2024 16:5246,908171,357,197126,090,00024,017,0002,387,968
2Nov 27, 2024 16:5247,003180,004,246128,351,00022,060,0002,285,568
3Nov 27, 2024 16:5247,036178,931,532120,413,00030,103,0002,293,760
4Nov 27, 2024 16:5247,038180,942,125124,604,00025,917,0002,293,760
5Nov 27, 2024 16:5247,042176,738,531125,446,00025,089,0002,293,760
6Nov 27, 2024 16:5247,045177,095,665127,613,00022,930,0002,387,968
7Nov 27, 2024 16:5247,146173,134,654124,718,00026,150,0002,285,568
8Nov 27, 2024 16:5247,153174,126,463123,910,00026,980,0002,293,760
9Nov 27, 2024 16:5247,311177,993,144126,331,00025,065,0002,293,760