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 19, 2024 11:46AnSaAnSaScore: 5,301Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 19, 2024 11:465,27039,159,70315,872,000992,0002,281,472
2Jan 19, 2024 11:465,27245,232,45714,885,0001,984,0002,392,064
3Jan 19, 2024 11:465,27334,268,20715,881,000992,0002,392,064
4Jan 19, 2024 11:465,27446,037,62515,886,000992,0002,396,160
5Jan 19, 2024 11:465,27544,269,98315,887,000992,0002,281,472
6Jan 19, 2024 11:465,28140,251,03415,843,0001,056,0002,281,472
7Jan 19, 2024 11:465,30142,370,89415,966,000997,0002,281,472
8Jan 19, 2024 11:465,31231,980,78214,998,0001,999,0002,396,160
9Jan 19, 2024 11:465,32434,521,95015,033,0002,004,0002,281,472
10Jan 19, 2024 11:465,50061,217,28817,599,09502,260,992
11Jan 19, 2024 11:465,51368,084,88817,641,16702,269,184
12Jan 19, 2024 11:465,52782,299,85717,686,46602,269,184