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 06:20Dan StolyarovDan StolyarovScore: 18,788Success
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 06:2018,64286,053,15230,332,00029,321,0002,265,088
2Nov 20, 2024 06:2018,69684,514,87130,910,00028,916,0002,322,432
3Nov 20, 2024 06:2018,73283,942,35629,971,00029,971,0002,523,136
4Nov 20, 2024 06:2018,76190,212,02029,017,00031,019,0002,310,144
5Nov 20, 2024 06:2018,78887,894,08330,061,00030,061,0002,322,432
6Nov 20, 2024 06:2018,83386,784,73929,128,00031,137,0002,326,528
7Nov 20, 2024 06:2018,86785,494,28328,175,00032,200,0002,322,432
8Nov 20, 2024 06:2018,88181,272,99530,209,00030,209,0002,322,432
9Nov 20, 2024 06:2018,89581,846,31629,224,00031,240,0002,322,432