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 20, 2024 23:10Mikhail ShirokovMikhail ShirokovScore: 4,409Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 20, 2024 23:104,40231,845,99513,081,0001,006,0002,277,376
2Dec 16, 2024 23:184,40231,089,31913,081,0001,006,0002,273,280
3Dec 16, 2024 23:184,40532,547,58713,089,0001,006,0002,531,328
4Nov 20, 2024 23:104,40928,965,45513,101,0001,007,0002,535,424
5Dec 16, 2024 23:184,40929,718,82613,102,0001,007,0002,494,464
6Nov 20, 2024 23:104,42431,831,44013,146,0001,011,0002,277,376