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 23, 2022 04:18Robert BurkeRobert BurkeScore: 4,682Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 23, 2022 04:184,64942,409,60513,885,000991,0002,281,472
2Jul 23, 2022 04:184,65128,741,39713,892,000992,0002,441,216
3Jul 23, 2022 04:184,65545,665,97713,902,000993,0002,281,472
4Jul 23, 2022 04:184,65933,112,42012,921,0001,987,0002,433,024
5Jul 23, 2022 04:184,67041,409,75513,949,000996,0002,281,472
6Jul 23, 2022 04:184,67634,005,74812,968,0001,995,0002,437,120
7Jul 23, 2022 04:184,68239,616,04113,985,000998,0002,437,120
8Jul 23, 2022 04:184,68832,420,02514,003,0001,000,0002,437,120
9Jul 23, 2022 04:184,69339,747,84313,016,0002,002,0002,437,120
10Jul 23, 2022 04:184,88085,634,17615,616,94702,183,168
11Jul 23, 2022 04:184,88582,171,06615,631,12602,187,264
12Jul 23, 2022 04:184,89890,462,64815,674,46702,187,264