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 listJul 17, 2024 09:58Yibai MengYibai MengScore: 2,512,079Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 17, 2024 09:582,489,2478,026,876,1797,965,589,58102,277,376
2Jul 17, 2024 09:582,512,0798,106,388,0528,038,652,86302,285,568
3Jul 17, 2024 09:582,512,5528,096,733,3398,040,167,43602,285,568