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 20:02lukostlukostScore: 5,273Success
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 20:025,26744,547,72515,863,000991,0002,531,328
2Apr 24, 2025 20:025,27141,748,41912,899,0003,969,0002,531,328
3Apr 24, 2025 20:025,27244,739,94714,885,0001,984,0002,527,232
4Apr 24, 2025 20:025,27246,363,92915,877,000992,0002,453,504
5Apr 24, 2025 20:025,27334,290,11515,880,000992,0002,437,120
6Apr 24, 2025 20:025,27431,149,79215,885,000992,0002,531,328
7Apr 24, 2025 20:025,27641,062,08514,898,0001,986,0002,437,120
8Apr 24, 2025 20:025,27743,314,50315,894,000993,0002,269,184
9Apr 24, 2025 20:025,30142,415,77114,968,0001,995,0002,527,232