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 listJun 5, 2021 16:45evgenikwtevgenikwtScore: 5,286Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 5, 2021 16:465,23234,558,13815,696,0001,046,0002,387,968
2Jun 5, 2021 16:455,26343,524,75316,842,00002,269,184
3Jun 5, 2021 16:465,26842,700,46215,868,000991,0002,265,088
4Jun 5, 2021 16:455,26948,141,41716,861,00002,265,088
5Jun 5, 2021 16:465,27043,032,75715,873,000992,0002,383,872
6Jun 5, 2021 16:465,27244,244,06816,869,00002,265,088
7Jun 5, 2021 16:455,27432,137,32715,885,000992,0002,265,088
8Jun 5, 2021 16:465,27433,943,58315,886,000992,0002,265,088
9Jun 5, 2021 16:465,27444,330,00915,885,000992,0002,392,064
10Jun 5, 2021 16:455,27647,886,83215,891,000993,0002,265,088
11Jun 5, 2021 16:455,27843,681,16915,895,000993,0002,265,088
12Jun 5, 2021 16:455,27844,180,48615,897,000993,0002,265,088
13Jun 5, 2021 16:465,28632,563,67116,916,00002,379,776
14Jun 5, 2021 16:465,28732,969,41315,924,000995,0002,265,088
15Jun 5, 2021 16:465,29234,489,70615,939,000996,0002,265,088
16Jun 5, 2021 16:455,29346,095,29214,945,0001,992,0002,527,232
17Jun 5, 2021 16:455,29642,627,17014,954,0001,993,0002,387,968
18Jun 5, 2021 16:455,30835,162,72514,987,0001,998,0002,265,088
19Jun 5, 2021 16:455,45793,203,19117,461,83802,289,664
20Jun 5, 2021 16:455,46491,790,25017,484,06602,277,376
21Jun 5, 2021 16:465,46679,616,99617,490,23602,285,568
22Jun 5, 2021 16:465,47585,329,82217,521,11402,281,472
23Jun 5, 2021 16:455,48497,907,35317,547,27902,277,376
24Jun 5, 2021 16:465,49466,261,23217,581,97702,285,568