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 20, 2024 10:39Matt StuchlikMatt StuchlikScore: 5,138Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 20, 2024 10:395,09532,261,35315,285,0001,019,0002,289,664
2Jul 20, 2024 10:395,10940,807,53114,307,0002,043,0002,289,664
3Jul 20, 2024 10:395,11238,781,72714,314,0002,044,0002,289,664
4Jul 20, 2024 10:395,11543,280,77614,322,0002,046,0002,269,184
5Jul 20, 2024 10:395,11738,325,80615,350,0001,023,0002,289,664
6Jul 20, 2024 10:395,13031,645,99114,364,0002,052,0002,269,184
7Jul 20, 2024 10:395,13844,765,04815,414,0001,027,0002,289,664
8Jul 20, 2024 10:395,13938,465,76215,419,0001,027,0002,531,328
9Jul 20, 2024 10:395,14240,489,66015,427,0001,028,0002,289,664
10Jul 20, 2024 10:395,39975,970,39117,276,09402,293,760
11Jul 20, 2024 10:395,40482,996,82817,294,27702,289,664
12Jul 20, 2024 10:395,41882,524,72617,336,48702,289,664