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 25, 2024 16:11Yuriy LyfenkoYuriy LyfenkoScore: 4,489Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 25, 2024 16:114,442540,630,85513,198,0001,015,0002,523,136
2Jul 25, 2024 16:114,468541,136,94313,277,0001,021,0002,265,088
3Jul 25, 2024 16:114,469537,040,94114,300,00002,260,992
4Jul 25, 2024 16:114,475539,826,03314,321,00002,523,136
5Jul 25, 2024 16:114,477541,606,02714,326,00002,392,064
6Jul 25, 2024 16:114,481538,633,58614,339,00002,265,088
7Jul 25, 2024 16:114,489535,128,41712,312,0002,052,0002,265,088
8Jul 25, 2024 16:114,489541,142,23813,409,000957,0002,523,136
9Jul 25, 2024 16:114,500538,724,32114,400,00002,523,136
10Jul 25, 2024 16:114,694579,808,69715,020,16802,244,608
11Jul 25, 2024 16:114,701587,688,98815,044,79402,240,512
12Jul 25, 2024 16:114,713586,153,06915,082,29402,240,512