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 23, 2025 20:14vahookvahookScore: 4,175Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 23, 2025 20:144,14430,909,73111,366,0001,894,0002,486,272
2Apr 23, 2025 20:144,14730,358,68213,269,00002,531,328
3Apr 23, 2025 20:144,16431,731,23213,326,00002,273,280
4Apr 23, 2025 20:144,17530,445,67313,360,00002,273,280
5Apr 23, 2025 20:144,17831,836,51413,371,00002,486,272
6Apr 23, 2025 20:144,19430,629,64113,421,00002,494,464