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 6, 2025 08:35Chandrasekaran AkashChandrasekaran AkashScore: 4,502Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 6, 2025 08:384,47337,014,85913,292,0001,022,0002,433,024
2Apr 6, 2025 08:384,47926,664,46714,334,00002,531,328
3Apr 6, 2025 08:354,49934,888,60114,396,00002,433,024
4Apr 6, 2025 08:384,50237,799,95814,405,00002,531,328
5Apr 6, 2025 08:354,50830,274,34513,394,0001,030,0002,531,328
6Apr 6, 2025 08:354,51430,260,09814,445,00002,531,328