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, 2024 12:02Joad NacerJoad NacerScore: 5,900Success
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, 2024 12:025,81148,989,25517,563,0001,033,0002,289,664
2Apr 16, 2024 12:025,83146,485,82317,622,0001,036,0002,273,280
3Apr 16, 2024 12:025,83344,687,67417,629,0001,037,0002,289,664
4Apr 16, 2024 12:025,85244,480,75417,686,0001,040,0002,527,232
5Apr 16, 2024 12:025,89646,640,74816,882,0001,986,0002,265,088
6Apr 16, 2024 12:025,89945,649,78316,890,0001,987,0002,289,664
7Apr 16, 2024 12:025,90048,429,15016,893,0001,987,0002,289,664
8Apr 16, 2024 12:025,90144,229,50117,891,000993,0002,289,664
9Apr 16, 2024 12:025,90836,984,52716,917,0001,990,0002,289,664
10Apr 16, 2024 12:026,07478,255,47619,438,31402,179,072
11Apr 16, 2024 12:026,09285,301,13419,495,71302,301,952
12Apr 16, 2024 12:026,12280,171,71319,591,46102,297,856