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 listJul 28, 2024 13:00BenBenScore: 4,576Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 13:004,54330,440,26914,539,00002,387,968
2Jul 28, 2024 13:004,54335,902,15714,539,00002,265,088
3Jul 28, 2024 13:004,55232,168,43413,527,0001,040,0002,265,088
4Jul 28, 2024 13:004,55632,098,39913,537,0001,041,0002,387,968
5Jul 28, 2024 13:004,56637,381,03513,568,0001,043,0002,527,232
6Jul 28, 2024 13:004,57330,770,78113,587,0001,045,0002,265,088
7Jul 28, 2024 13:004,57643,740,79114,642,00002,392,064
8Jul 28, 2024 13:004,57832,338,62714,650,00002,265,088
9Jul 28, 2024 13:004,72334,002,21314,105,0001,007,0002,379,776
10Jul 28, 2024 13:004,78183,663,67915,297,72302,281,472
11Jul 28, 2024 13:004,78274,594,89215,302,59602,277,376
12Jul 28, 2024 13:004,78590,438,54815,312,33002,289,664