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 8, 2021 15:43Yuriy LyfenkoYuriy LyfenkoScore: 4,542Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2021 15:434,4941,038,477,42213,353,0001,027,0002,265,088
2Jul 8, 2021 15:434,4941,043,027,91714,382,00002,265,088
3Jul 8, 2021 15:434,5041,037,425,50713,385,0001,029,0002,265,088
4Jul 8, 2021 15:434,5151,035,276,27114,447,00002,265,088
5Jul 8, 2021 15:434,5191,037,045,49813,428,0001,032,0002,523,136
6Jul 8, 2021 15:434,5221,038,383,77414,470,00002,527,232
7Jul 8, 2021 15:434,5421,045,048,84413,497,0001,038,0002,265,088
8Jul 8, 2021 15:434,5431,038,795,63314,539,00002,260,992
9Jul 8, 2021 15:434,5751,040,623,90212,689,0001,952,0002,527,232
10Jul 8, 2021 15:434,6531,078,085,04714,888,60902,277,376
11Jul 8, 2021 15:434,6561,066,937,12114,899,92202,277,376
12Jul 8, 2021 15:434,6761,081,799,05914,961,77902,244,608