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 listJun 12, 2024 03:42Yuriy LyfenkoYuriy LyfenkoScore: 4,466Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 12, 2024 03:424,423641,212,87813,142,0001,010,0002,523,136
2Jun 12, 2024 03:424,434640,015,00413,175,0001,013,0002,265,088
3Jun 12, 2024 03:424,435641,797,20712,164,0002,027,0002,260,992
4Jun 12, 2024 03:424,444642,298,68312,191,0002,031,0002,260,992
5Jun 12, 2024 03:424,452634,610,05213,230,0001,017,0002,527,232
6Jun 12, 2024 03:424,463634,854,32614,283,00002,523,136
7Jun 12, 2024 03:424,466638,514,21413,271,0001,020,0002,387,968
8Jun 12, 2024 03:424,466640,379,80713,272,0001,020,0002,523,136
9Jun 12, 2024 03:424,466638,842,23313,272,0001,020,0002,523,136
10Jun 12, 2024 03:424,610678,832,24714,750,92002,281,472
11Jun 12, 2024 03:424,667690,886,07714,932,86402,281,472
12Jun 12, 2024 03:424,668680,009,51114,936,44702,285,568