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 14, 2024 12:16kytanskytansScore: 5,297Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 14, 2024 12:165,27340,676,38415,883,000992,0002,269,184
2Jul 14, 2024 12:165,27734,165,01514,901,0001,986,0002,506,752
3Jul 14, 2024 12:165,28029,531,53916,896,00002,498,560
4Jul 14, 2024 12:165,28733,394,75215,924,000995,0002,269,184
5Jul 14, 2024 12:165,28832,893,86014,932,0001,991,0002,531,328
6Jul 14, 2024 12:165,28940,767,19114,933,0001,991,0002,269,184
7Jul 14, 2024 12:165,29737,848,29815,954,000997,0002,498,560
8Jul 14, 2024 12:165,30543,241,37515,978,000998,0002,502,656
9Jul 14, 2024 12:165,31534,517,47216,009,0001,000,0002,494,464
10Jul 14, 2024 12:165,55995,569,58617,788,33502,211,840
11Jul 14, 2024 12:165,58656,644,19017,875,23102,240,512
12Jul 14, 2024 12:165,61677,693,44617,969,71102,371,584