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 02:47Yuriy LyfenkoYuriy LyfenkoScore: 4,447Success
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 02:474,423542,942,16012,131,0002,021,0002,265,088
2Jun 12, 2024 02:474,430539,477,90213,163,0001,012,0002,523,136
3Jun 12, 2024 02:474,434538,462,33013,177,0001,013,0002,265,088
4Jun 12, 2024 02:474,439542,929,84512,176,0002,029,0002,260,992
5Jun 12, 2024 02:474,440537,238,13814,208,00002,260,992
6Jun 12, 2024 02:474,444538,285,68413,207,0001,015,0002,523,136
7Jun 12, 2024 02:474,447535,353,83214,230,00002,523,136
8Jun 12, 2024 02:474,447536,732,12113,214,0001,016,0002,265,088
9Jun 12, 2024 02:474,467543,089,61312,253,0002,042,0002,523,136
10Jun 12, 2024 02:474,611570,914,67714,756,06902,240,512
11Jun 12, 2024 02:474,648575,993,91614,874,15102,277,376
12Jun 12, 2024 02:474,655569,295,79014,896,76702,244,608