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 24, 2024 09:18AnSaAnSaScore: 5,292Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 24, 2024 09:185,23441,907,33915,704,0001,046,0002,400,256
2Jan 24, 2024 09:185,27146,142,40014,884,0001,984,0002,281,472
3Jan 24, 2024 09:185,27243,122,24614,887,0001,984,0002,281,472
4Jan 24, 2024 09:185,27643,315,93515,890,000993,0002,281,472
5Jan 24, 2024 09:185,27839,978,59815,898,000993,0002,281,472
6Jan 24, 2024 09:185,28940,179,04614,935,0001,991,0002,379,776
7Jan 24, 2024 09:185,29240,405,23015,937,000996,0002,392,064
8Jan 24, 2024 09:185,29639,813,99615,950,000996,0002,396,160
9Jan 24, 2024 09:185,30742,813,30614,985,0001,998,0002,396,160
10Jan 24, 2024 09:185,49686,717,68017,588,43002,265,088
11Jan 24, 2024 09:185,51192,397,36917,635,84702,269,184
12Jan 24, 2024 09:185,51272,959,97717,637,67102,269,184