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 10, 2024 17:36emily graceemily graceScore: 5,466Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 10, 2024 17:365,45088,138,58417,440,90202,269,184
2Apr 10, 2024 17:365,45079,670,12217,441,42802,269,184
3Apr 10, 2024 17:365,45682,984,16117,457,71302,265,088
4Apr 10, 2024 17:365,45886,098,52117,466,56402,265,088
5Apr 10, 2024 17:365,46687,199,82717,491,54302,273,280
6Apr 10, 2024 17:365,48085,458,91417,534,42202,265,088
7Apr 10, 2024 17:365,48395,202,69117,544,12002,265,088
8Apr 10, 2024 17:365,50776,129,49517,622,78402,273,280
9Apr 10, 2024 17:365,53098,871,77917,695,67702,265,088