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 29, 2025 01:42zielajzielajScore: 373,487Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 29, 2025 01:41370,9391,215,095,0761,186,008,000997,0002,527,232
2Apr 29, 2025 01:41372,0441,219,369,5961,190,540,00002,527,232
3Apr 29, 2025 01:41372,3441,219,804,6591,191,500,00002,527,232
4Apr 29, 2025 01:42373,4871,221,423,1901,194,161,000997,0002,527,232
5Apr 29, 2025 01:42374,0311,229,796,9561,195,903,000997,0002,490,368
6Apr 29, 2025 01:42374,2341,222,225,0481,197,548,00002,265,088