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 17:13lukostlukostScore: 21,463Success
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 17:1321,34890,760,03138,175,00030,138,0002,285,568
2Apr 24, 2025 17:1321,40994,505,86035,262,00033,247,0002,519,040
3Apr 24, 2025 17:1321,41596,515,80632,249,00036,280,0002,285,568
4Apr 24, 2025 17:1321,452100,756,07531,294,00037,351,0002,523,136
5Apr 24, 2025 17:1321,46396,650,86236,829,00031,852,0002,285,568
6Apr 24, 2025 17:1321,51096,212,68240,900,00027,932,0002,285,568
7Apr 24, 2025 17:1321,52692,756,21132,944,00035,939,0002,265,088
8Apr 24, 2025 17:1321,53289,808,36536,947,00031,954,0002,285,568
9Apr 24, 2025 17:1321,75094,516,05339,339,00030,261,0002,523,136