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 listOct 7, 2023 16:44Pavel ZagrebinPavel ZagrebinScore: 5,307Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 7, 2023 16:445,26934,990,00214,879,0001,983,0002,396,160
2Oct 7, 2023 16:445,27732,481,29614,901,0001,986,0002,396,160
3Oct 7, 2023 16:445,28748,639,46814,929,0001,990,0002,375,680
4Oct 7, 2023 16:445,29234,304,03714,942,0001,992,0002,265,088
5Oct 7, 2023 16:445,30036,917,71414,966,0001,995,0002,387,968
6Oct 7, 2023 16:445,30147,111,20515,965,000997,0002,269,184
7Oct 7, 2023 16:445,30742,138,48715,983,000998,0002,379,776
8Oct 7, 2023 16:445,31143,386,43615,997,000999,0002,527,232
9Oct 7, 2023 16:445,31341,190,12715,000,0002,000,0002,387,968
10Oct 7, 2023 16:445,513104,529,35917,642,04702,281,472
11Oct 7, 2023 16:445,52285,868,14017,670,79402,289,664
12Oct 7, 2023 16:445,55170,945,95017,762,25202,285,568