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 15, 2025 01:22BenBenScore: 2,769,941Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 15, 2025 01:222,766,2858,880,880,5948,813,130,00038,982,0002,281,472
2Apr 15, 2025 01:222,769,9418,893,620,1038,829,825,00033,987,0002,277,376
3Apr 15, 2025 01:222,836,3819,107,172,9049,047,431,00028,988,0002,289,664