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 16, 2025 16:02Christian BernardChristian BernardScore: 5,517Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 16, 2025 16:025,44038,422,76316,384,0001,024,0002,260,992
2Apr 16, 2025 16:025,45546,008,41517,456,00002,387,968
3Apr 16, 2025 16:025,49134,017,23016,538,0001,033,0002,260,992
4Apr 16, 2025 16:025,51248,062,13716,600,0001,037,0002,392,064
5Apr 16, 2025 16:025,51744,746,70016,616,0001,038,0002,387,968
6Apr 16, 2025 16:025,51844,903,22216,621,0001,038,0002,465,792
7Apr 16, 2025 16:025,57143,832,46616,837,000990,0002,523,136
8Apr 16, 2025 16:025,58852,793,94715,894,0001,986,0002,478,080
9Apr 16, 2025 16:025,58846,086,18016,889,000993,0002,383,872