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 listJan 18, 2024 16:01AnSaAnSaScore: 5,508Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 18, 2024 16:015,45635,101,04516,433,0001,027,0002,269,184
2Jan 18, 2024 16:015,45750,568,84816,434,0001,027,0002,289,664
3Jan 18, 2024 16:015,46733,676,96616,466,0001,029,0002,289,664
4Jan 18, 2024 16:015,47342,838,62817,514,00002,289,664
5Jan 18, 2024 16:015,49342,369,68617,579,00002,289,664
6Jan 18, 2024 16:015,50846,808,93516,589,0001,036,0002,289,664
7Jan 18, 2024 16:015,50844,268,26416,590,0001,036,0002,265,088
8Jan 18, 2024 16:015,51643,973,42416,614,0001,038,0002,269,184
9Jan 18, 2024 16:015,54147,916,11617,732,00002,510,848
10Jan 18, 2024 16:015,65590,940,03618,095,23402,297,856
11Jan 18, 2024 16:015,69173,463,55618,210,28202,289,664
12Jan 18, 2024 16:015,72581,107,15118,320,89802,289,664