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 15:52AnSaAnSaScore: 4,650Success
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 15:524,61933,794,77713,727,0001,055,0002,289,664
2Apr 25, 2025 15:524,63943,084,61413,857,000989,0002,277,376
3Apr 25, 2025 15:524,64636,177,85812,884,0001,982,0002,289,664
4Apr 25, 2025 15:524,64830,904,63112,891,0001,983,0002,265,088
5Apr 25, 2025 15:524,65030,695,61812,897,0001,984,0002,289,664
6Apr 25, 2025 15:524,65129,091,09712,899,0001,984,0002,289,664
7Apr 25, 2025 15:524,65140,482,73813,892,000992,0002,281,472
8Apr 25, 2025 15:524,65731,775,12312,916,0001,987,0002,277,376
9Apr 25, 2025 15:524,66227,397,23012,929,0001,989,0002,396,160