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 listJan 2, 2023 16:17Hal FHal FScore: 4,857Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 16:174,80338,046,03514,347,0001,024,0002,531,328
2Jan 2, 2023 16:174,82033,871,38013,369,0002,056,0002,269,184
3Jan 2, 2023 16:174,83436,218,05814,437,0001,031,0002,289,664
4Jan 2, 2023 16:174,83932,420,29215,485,00002,265,088
5Jan 2, 2023 16:174,84942,042,29114,482,0001,034,0002,289,664
6Jan 2, 2023 16:174,85529,894,10915,536,00002,289,664
7Jan 2, 2023 16:174,85733,743,61114,506,0001,036,0002,265,088
8Jan 2, 2023 16:174,85833,275,79614,511,0001,036,0002,289,664
9Jan 2, 2023 16:174,86636,757,41314,534,0001,038,0002,269,184
10Jan 2, 2023 16:175,02958,650,17616,092,28202,293,760
11Jan 2, 2023 16:175,04356,275,55216,138,38902,297,856
12Jan 2, 2023 16:175,06084,828,79716,191,21602,297,856