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 listNov 1, 2025 21:14j3o1j3o1Score: 2,996,856Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 1, 2025 21:142,936,3329,424,591,9809,366,277,00029,984,0002,260,992
2Nov 1, 2025 21:142,970,7739,534,609,1779,475,489,00030,985,0002,281,472
3Nov 1, 2025 21:142,972,8139,538,704,3259,480,014,00032,986,0002,289,664
4Nov 1, 2025 21:142,986,1709,587,691,3349,527,759,00027,984,0002,277,376
5Nov 1, 2025 21:142,996,8569,619,920,4199,553,955,00035,984,0002,285,568
6Nov 1, 2025 21:143,002,3639,636,065,4179,566,584,00040,976,0002,285,568
7Nov 1, 2025 21:143,004,1499,645,351,8779,580,290,00032,987,0002,277,376
8Nov 1, 2025 21:143,070,5389,859,259,4519,799,737,00025,986,0002,289,664
9Nov 1, 2025 21:143,102,2639,961,524,4439,899,253,00027,989,0002,519,040