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 09:34AnSaAnSaScore: 5,294Success
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 09:345,27342,095,89915,881,000992,0002,281,472
2Jan 19, 2024 09:345,27345,996,70514,889,0001,985,0002,392,064
3Jan 19, 2024 09:345,27646,712,73715,891,000993,0002,281,472
4Jan 19, 2024 09:345,27742,406,39916,885,00002,392,064
5Jan 19, 2024 09:345,27748,520,33614,900,0001,986,0002,396,160
6Jan 19, 2024 09:345,28241,400,35914,914,0001,988,0002,396,160
7Jan 19, 2024 09:345,29433,483,23615,945,000996,0002,396,160
8Jan 19, 2024 09:345,29731,355,16314,955,0001,994,0002,400,256
9Jan 19, 2024 09:345,29842,018,38514,960,0001,994,0002,281,472
10Jan 19, 2024 09:345,50082,013,81917,599,98202,273,280
11Jan 19, 2024 09:345,54487,710,98317,739,80302,265,088
12Jan 19, 2024 09:345,55193,972,89917,764,15902,260,992