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 listMar 15, 2026 05:07limanjun99limanjun99Score: 5,585Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 15, 2026 05:075,52845,616,64416,648,0001,040,0002,273,280
2Mar 15, 2026 05:075,53842,835,82117,720,00002,273,280
3Mar 15, 2026 05:075,54242,841,84916,690,0001,043,0002,400,256
4Mar 15, 2026 05:075,54546,643,91516,702,0001,043,0002,273,280
5Mar 15, 2026 05:075,58543,933,70316,880,000992,0002,273,280
6Mar 15, 2026 05:075,58835,858,73716,889,000993,0002,273,280
7Mar 15, 2026 05:075,58944,862,55015,898,0001,987,0002,273,280
8Mar 15, 2026 05:075,59041,835,18716,896,000993,0002,400,256
9Mar 15, 2026 05:075,59429,933,31015,912,0001,989,0002,408,448