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 28, 2024 20:58Nimish GuptaNimish GuptaScore: 2,522,249Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 27, 2024 00:442,509,3588,093,716,5928,029,946,98202,392,064
2Jul 27, 2024 00:442,509,5538,101,560,3858,030,569,39302,256,896
3Jul 28, 2024 20:582,511,4408,093,422,4318,036,609,07302,269,184
4Jul 28, 2024 20:582,522,2498,139,821,7308,071,197,03202,256,896
5Jul 28, 2024 20:582,550,9488,223,552,9148,163,034,13502,260,992
6Jul 27, 2024 00:442,627,6388,477,580,8188,408,441,80302,248,704