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 28, 2024 20:40Hayden DonnellyHayden DonnellyScore: 5,176Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 28, 2024 20:405,16532,530,92816,529,00002,433,024
2Nov 28, 2024 20:405,16738,993,01916,535,00002,433,024
3Nov 28, 2024 20:405,17034,307,34516,544,00002,428,928
4Nov 28, 2024 20:405,17238,838,82516,549,00002,531,328
5Nov 28, 2024 20:405,17641,538,44716,562,00002,531,328
6Nov 28, 2024 20:405,18137,043,95416,578,00002,433,024
7Nov 28, 2024 20:405,18943,519,33216,605,00002,527,232
8Nov 28, 2024 20:405,19746,826,55916,630,00002,424,832
9Nov 28, 2024 20:405,20037,323,06116,639,00002,428,928