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 listJun 15, 2024 00:26ii14ii14Score: 2,524,984Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 15, 2024 00:262,515,8418,115,689,4098,050,690,43602,252,800
2Jun 15, 2024 00:262,524,9848,132,962,2108,079,949,84502,387,968
3Jun 15, 2024 00:262,685,9348,648,157,9998,594,988,37602,252,800