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 20, 2025 20:17Adam FolwarcznyAdam FolwarcznyScore: 4,892Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 20, 2025 20:174,85536,082,64614,501,0001,035,0002,273,280
2Apr 20, 2025 20:174,88237,905,63614,580,0001,041,0002,281,472
3Apr 20, 2025 20:174,88339,915,91514,584,0001,041,0002,289,664
4Apr 20, 2025 20:174,89148,506,56514,609,0001,043,0002,269,184
5Apr 20, 2025 20:174,89232,912,68714,610,0001,043,0002,269,184
6Apr 20, 2025 20:174,90131,928,53114,638,0001,045,0002,273,280
7Apr 20, 2025 20:174,90945,486,40215,709,00002,277,376
8Apr 20, 2025 20:174,95634,812,57214,868,000991,0002,289,664
9Apr 20, 2025 20:174,95843,250,79414,876,000991,0002,273,280