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 24, 2022 10:08Robert BurkeRobert BurkeScore: 4,651Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 24, 2022 10:084,64139,739,71413,860,000990,0002,281,472
2Jul 24, 2022 10:084,64630,378,61514,867,00002,281,472
3Jul 24, 2022 10:084,64737,575,69812,889,0001,982,0002,281,472
4Jul 24, 2022 10:084,64839,274,33812,890,0001,983,0002,281,472
5Jul 24, 2022 10:084,64839,906,66913,884,000991,0002,281,472
6Jul 24, 2022 10:084,64937,851,14512,893,0001,983,0002,433,024
7Jul 24, 2022 10:084,65142,663,50712,898,0001,984,0002,441,216
8Jul 24, 2022 10:084,65538,823,25012,910,0001,986,0002,281,472
9Jul 24, 2022 10:084,67536,559,10712,966,0001,994,0002,281,472
10Jul 24, 2022 10:084,90187,301,17415,683,90302,183,168
11Jul 24, 2022 10:084,91570,728,63815,726,96302,183,168
12Jul 24, 2022 10:084,91657,753,71815,731,49702,183,168