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:44Yuriy LyfenkoYuriy LyfenkoScore: 4,522Success
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:444,485541,923,17613,328,0001,025,0002,265,088
2Jul 8, 2021 15:444,499541,125,98313,369,0001,028,0002,523,136
3Jul 8, 2021 15:444,501533,506,53014,404,00002,260,992
4Jul 8, 2021 15:444,502534,754,85114,405,00002,383,872
5Jul 8, 2021 15:444,517540,177,98314,453,00002,265,088
6Jul 8, 2021 15:444,518539,641,46714,456,00002,265,088
7Jul 8, 2021 15:444,522536,750,88513,437,0001,033,0002,523,136
8Jul 8, 2021 15:444,523547,277,66114,473,00002,523,136
9Jul 8, 2021 15:444,526541,310,58113,448,0001,034,0002,523,136
10Jul 8, 2021 15:444,657571,159,54814,903,22502,277,376
11Jul 8, 2021 15:444,661567,500,15914,914,82202,244,608
12Jul 8, 2021 15:444,678581,141,53614,969,04202,277,376