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 24, 2025 17:12lukostlukostScore: 26,668Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 24, 2025 17:1226,460111,337,57547,376,00037,296,0002,371,584
2Apr 24, 2025 17:1126,539108,022,56046,958,00037,966,0002,265,088
3Apr 24, 2025 17:1126,549107,838,47053,973,00030,984,0002,519,040
4Apr 24, 2025 17:1126,668107,924,65149,194,00036,143,0002,260,992
5Apr 24, 2025 17:1226,820118,570,53851,894,00033,930,0002,285,568
6Apr 24, 2025 17:1226,866108,719,82251,983,00033,989,0002,265,088