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 31, 2024 04:53BenBenScore: 4,656Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 31, 2024 04:534,64241,939,45213,863,000990,0002,502,656
2Jul 31, 2024 04:534,64735,927,22413,880,000991,0002,502,656
3Jul 31, 2024 04:534,64829,640,97313,882,000991,0002,265,088
4Jul 31, 2024 04:534,64830,520,38113,883,000991,0002,379,776
5Jul 31, 2024 04:534,64931,496,51112,893,0001,983,0002,375,680
6Jul 31, 2024 04:534,65029,866,26614,879,00002,498,560
7Jul 31, 2024 04:534,65633,284,47112,912,0001,986,0002,473,984
8Jul 31, 2024 04:534,65739,516,71513,909,000993,0002,265,088
9Jul 31, 2024 04:534,65930,500,57413,915,000993,0002,265,088
10Jul 31, 2024 04:534,90671,176,44815,698,37502,265,088
11Jul 31, 2024 04:534,93283,217,07415,782,90202,265,088
12Jul 31, 2024 04:534,988107,383,10315,963,16302,265,088