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 13:57zielajzielajScore: 370,521Success
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 13:57369,8151,205,726,0201,182,410,000997,0002,265,088
2Apr 25, 2025 13:57369,9771,213,271,0451,182,928,000997,0002,498,560
3Apr 25, 2025 13:57370,2571,208,837,9951,184,823,00002,265,088
4Apr 25, 2025 13:57370,5211,213,739,6481,185,668,00002,265,088
5Apr 25, 2025 13:57370,9041,220,224,0211,186,893,00002,494,464
6Apr 25, 2025 13:57371,0441,213,602,9431,186,345,000996,0002,486,272