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 28, 2024 07:36BenBenScore: 5,056Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 07:365,00835,618,26514,021,0002,003,0002,265,088
2Jul 28, 2024 07:365,02650,386,56914,074,0002,010,0002,265,088
3Jul 28, 2024 07:365,04239,250,17715,125,0001,008,0002,265,088
4Jul 28, 2024 07:365,04843,476,93115,146,0001,009,0002,265,088
5Jul 28, 2024 07:365,05241,312,99115,155,0001,010,0002,478,080
6Jul 28, 2024 07:365,05233,228,00014,146,0002,020,0002,392,064
7Jul 28, 2024 07:365,05641,906,60415,169,0001,011,0002,269,184
8Jul 28, 2024 07:365,06144,808,83915,182,0001,012,0002,387,968
9Jul 28, 2024 07:365,06534,615,45315,196,0001,013,0002,265,088
10Jul 28, 2024 07:365,232110,618,93216,742,49302,297,856
11Jul 28, 2024 07:365,27876,180,72816,888,84402,285,568
12Jul 28, 2024 07:365,29681,246,03616,947,25702,289,664