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 18:57lukostlukostScore: 5,497Success
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 18:575,47139,559,19616,478,0001,029,0002,277,376
2Apr 24, 2025 18:575,47536,413,26816,489,0001,030,0002,277,376
3Apr 24, 2025 18:575,48740,170,58516,525,0001,032,0002,277,376
4Apr 24, 2025 18:575,49741,067,61116,555,0001,034,0002,273,280
5Apr 24, 2025 18:575,49744,145,91316,555,0001,034,0002,277,376
6Apr 24, 2025 18:575,50242,764,17416,571,0001,035,0002,277,376
7Apr 24, 2025 18:575,50240,906,17316,572,0001,035,0002,277,376
8Apr 24, 2025 18:575,50637,240,05912,437,0005,182,0002,277,376
9Apr 24, 2025 18:575,52141,097,37316,628,0001,039,0002,273,280