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 20, 2024 17:30Matt StuchlikMatt StuchlikScore: 4,893Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 20, 2024 17:304,86838,143,14015,579,00002,273,280
2Jul 20, 2024 17:304,87033,193,57114,546,0001,039,0002,285,568
3Jul 20, 2024 17:304,87233,060,94114,550,0001,039,0002,273,280
4Jul 20, 2024 17:304,87437,547,75614,558,0001,039,0002,269,184
5Jul 20, 2024 17:304,89042,626,85515,648,00002,351,104
6Jul 20, 2024 17:304,89335,586,11714,614,0001,043,0002,289,664
7Jul 20, 2024 17:304,89341,685,63615,658,00002,289,664
8Jul 20, 2024 17:304,89945,803,39214,631,0001,045,0002,289,664
9Jul 20, 2024 17:304,91335,191,78114,672,0001,048,0002,265,088
10Jul 20, 2024 17:305,15267,246,91316,487,19702,289,664
11Jul 20, 2024 17:305,15578,128,36616,496,00202,285,568
12Jul 20, 2024 17:305,18259,798,14916,581,84802,289,664