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 25, 2025 12:27zielajzielajScore: 369,105Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 25, 2025 12:22367,6091,202,320,5401,176,348,00002,527,232
2Apr 25, 2025 12:22368,1301,203,145,5781,177,020,000997,0002,527,232
3Apr 25, 2025 12:22368,7711,214,143,4861,178,071,0001,995,0002,486,272
4Apr 25, 2025 12:27369,1051,210,350,4061,180,140,000997,0002,490,368
5Apr 25, 2025 12:27369,5671,210,571,2341,182,614,00002,490,368
6Apr 25, 2025 12:27369,7551,210,178,6071,182,220,000997,0002,527,232