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 listApr 23, 2025 12:40Emanuele BolognesiEmanuele BolognesiScore: 21,686Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 23, 2025 12:4021,677101,449,28769,365,00002,285,568
2Apr 23, 2025 12:4021,679102,543,60668,368,0001,005,0002,285,568
3Apr 23, 2025 12:4021,68499,597,23268,384,0001,005,0002,363,392
4Apr 23, 2025 12:4021,68597,561,93368,388,0001,005,0002,359,296
5Apr 23, 2025 12:4021,68692,867,06668,390,0001,005,0002,371,584
6Apr 23, 2025 12:4021,68994,241,27069,406,00002,363,392
7Apr 23, 2025 12:4021,69591,581,35168,418,0001,006,0002,285,568
8Apr 23, 2025 12:4021,69896,065,52269,435,00002,359,296
9Apr 23, 2025 12:4021,71292,532,27768,472,0001,006,0002,359,296