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 22:59emily graceemily graceScore: 5,505Success
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 22:595,47357,176,20517,513,40002,273,280
2Apr 10, 2024 23:005,48485,510,50117,548,35302,269,184
3Apr 10, 2024 23:005,48872,486,61917,562,80802,269,184
4Apr 10, 2024 22:595,49596,112,40517,584,11702,265,088
5Apr 10, 2024 22:595,50585,127,78917,614,75502,277,376
6Apr 10, 2024 22:595,50993,157,54417,629,04202,273,280
7Apr 10, 2024 22:595,51194,838,28817,634,27202,269,184
8Apr 10, 2024 23:005,51478,347,04217,646,25302,265,088
9Apr 10, 2024 22:595,516100,509,49817,652,37102,265,088