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 27, 2022 14:25Robert BurkeRobert BurkeScore: 4,452Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 27, 2022 14:254,42428,378,35912,136,0002,022,0002,281,472
2Jul 27, 2022 14:254,42829,229,85712,144,0002,024,0002,281,472
3Jul 27, 2022 14:254,43732,278,29012,170,0002,028,0002,281,472
4Jul 27, 2022 14:254,43931,625,06312,176,0002,029,0002,281,472
5Jul 27, 2022 14:254,44232,636,93912,185,0002,030,0002,453,504
6Jul 27, 2022 14:254,45035,220,89012,206,0002,034,0002,281,472
7Jul 27, 2022 14:254,45239,540,56012,211,0002,035,0002,273,280
8Jul 27, 2022 14:254,46131,850,01914,275,00002,449,408
9Jul 27, 2022 14:254,46833,706,09712,257,0002,042,0002,281,472
10Jul 27, 2022 14:254,68458,761,94614,989,76302,207,744
11Jul 27, 2022 14:254,69876,402,51815,033,52802,211,840
12Jul 27, 2022 14:254,706110,411,51915,059,95502,203,648