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:18emily 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 22:185,44756,377,16617,430,81602,269,184
2Apr 10, 2024 22:185,44887,585,02317,433,20802,260,992
3Apr 10, 2024 22:185,46694,627,19817,489,67002,265,088
4Apr 10, 2024 22:185,46695,779,66417,491,46402,277,376
5Apr 10, 2024 22:185,47478,380,42417,516,90402,256,896
6Apr 10, 2024 22:185,50088,558,74217,599,33202,265,088