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 15, 2024 14:06kytanskytansScore: 20,237Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 15, 2024 14:0620,160127,657,23364,513,35402,236,416
2Jul 15, 2024 14:0620,166128,182,70364,532,38302,232,320
3Jul 15, 2024 14:0620,214126,428,24564,683,61402,240,512
4Jul 15, 2024 14:0620,237118,380,84064,759,90202,240,512
5Jul 15, 2024 14:0620,307124,295,65764,983,24102,232,320
6Jul 15, 2024 14:0620,312133,761,15264,996,89902,236,416