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 listMay 29, 2021 17:57Yuriy LyfenkoYuriy LyfenkoScore: 5,046Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2021 17:575,00541,123,63514,015,0002,002,0002,408,448
2May 29, 2021 21:525,01639,872,93214,044,0002,006,0002,408,448
3May 29, 2021 17:575,02030,351,55115,061,0001,004,0002,281,472
4May 29, 2021 17:575,02447,469,14315,073,0001,004,0002,281,472
5May 29, 2021 21:525,02641,719,05615,077,0001,005,0002,281,472
6May 29, 2021 21:525,02735,371,93114,075,0002,010,0002,408,448
7May 29, 2021 21:525,03134,522,51415,094,0001,006,0002,396,160
8May 29, 2021 17:575,03133,816,07415,093,0001,006,0002,281,472
9May 29, 2021 17:575,03339,143,74314,094,0002,013,0002,412,544
10May 29, 2021 21:525,03332,744,57015,100,0001,006,0002,281,472
11May 29, 2021 17:575,03438,293,99015,102,0001,006,0002,404,352
12May 29, 2021 21:525,04141,155,72114,116,0002,016,0002,400,256
13May 29, 2021 21:525,04636,994,92714,128,0002,018,0002,281,472
14May 29, 2021 17:575,06138,904,04715,182,0001,012,0002,408,448
15May 29, 2021 17:575,06233,822,72114,174,0002,024,0002,404,352
16May 29, 2021 21:525,07338,883,12414,203,0002,029,0002,281,472
17May 29, 2021 21:525,08438,130,01115,253,0001,016,0002,404,352
18May 29, 2021 17:575,09543,022,31615,285,0001,019,0002,408,448
19May 29, 2021 17:575,19987,330,25116,636,36202,289,664
20May 29, 2021 21:525,20098,295,09616,639,03402,281,472
21May 29, 2021 17:575,21361,330,72716,681,72202,285,568
22May 29, 2021 21:525,21586,351,96716,687,10002,285,568
23May 29, 2021 21:525,23286,084,34116,743,09902,293,760
24May 29, 2021 17:575,24782,869,75716,789,26602,289,664