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 8, 2023 09:50Andrew MoonAndrew MoonScore: 5,508Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2023 09:505,45037,216,83916,415,0001,025,0002,269,184
2Jul 8, 2023 09:505,46940,574,80617,501,00002,265,088
3Jul 8, 2023 09:505,47337,966,57017,513,00002,527,232
4Jul 8, 2023 09:505,48833,782,49517,563,00002,392,064
5Jul 8, 2023 09:505,49645,309,25717,587,00002,387,968
6Jul 8, 2023 09:505,50649,572,87516,583,0001,036,0002,396,160
7Jul 8, 2023 09:505,50845,833,09616,588,0001,036,0002,269,184
8Jul 8, 2023 09:505,52742,020,22815,722,0001,965,0002,269,184
9Jul 8, 2023 09:505,54349,336,73916,753,000985,0002,506,752
10Jul 8, 2023 09:505,67387,859,05518,153,59802,289,664
11Jul 8, 2023 09:505,67488,335,27918,158,15402,281,472
12Jul 8, 2023 09:505,70087,582,32018,241,24802,273,280