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 17:26Andrey LikhachevAndrey LikhachevScore: 4,763Success
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 17:264,71633,200,67414,086,0001,006,0002,371,584
2Jun 12, 2024 17:264,73837,250,62214,152,0001,010,0002,363,392
3Jun 12, 2024 17:264,74736,536,74914,179,0001,012,0002,289,664
4Jun 12, 2024 17:264,75032,150,61814,187,0001,013,0002,285,568
5Jun 12, 2024 17:264,75130,772,78114,191,0001,013,0002,379,776
6Jun 12, 2024 17:264,75631,922,00213,189,0002,029,0002,375,680
7Jun 12, 2024 17:264,76336,600,28014,226,0001,016,0002,367,488
8Jun 12, 2024 17:264,78041,910,61413,258,0002,039,0002,371,584
9Jun 12, 2024 17:264,78232,538,52713,261,0002,040,0002,363,392
10Jun 12, 2024 17:264,99760,207,46715,991,73102,252,800
11Jun 12, 2024 17:265,00581,980,45816,017,18302,244,608
12Jun 12, 2024 17:265,03569,200,00116,112,95202,244,608