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 listAug 21, 2022 18:35Franek KortaFranek KortaScore: 5,388Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 21, 2022 18:335,35638,857,70616,130,0001,008,0002,531,328
2Aug 21, 2022 18:335,36036,303,00916,143,0001,008,0002,531,328
3Aug 21, 2022 18:355,36141,445,39516,146,0001,009,0002,269,184
4Aug 21, 2022 18:335,36241,465,77815,140,0002,018,0002,531,328
5Aug 21, 2022 18:355,36432,775,14816,155,0001,009,0002,449,408
6Aug 21, 2022 18:335,36636,058,00616,161,0001,010,0002,265,088
7Aug 21, 2022 18:355,36939,593,65316,171,0001,010,0002,269,184
8Aug 21, 2022 18:335,37142,712,40116,176,0001,011,0002,265,088
9Aug 21, 2022 18:355,37445,629,83715,174,0002,023,0002,445,312
10Aug 21, 2022 18:335,38037,454,91216,205,0001,012,0002,531,328
11Aug 21, 2022 18:355,38538,804,27716,219,0001,013,0002,265,088
12Aug 21, 2022 18:355,38645,135,56016,221,0001,013,0002,441,216
13Aug 21, 2022 18:355,38841,817,02515,213,0002,028,0002,531,328
14Aug 21, 2022 18:335,39743,140,82217,270,00002,531,328
15Aug 21, 2022 18:355,40236,227,15516,271,0001,016,0002,441,216
16Aug 21, 2022 18:335,40343,740,19017,290,00002,531,328
17Aug 21, 2022 18:335,41035,013,25517,311,00002,449,408
18Aug 21, 2022 18:355,41441,208,37216,305,0001,019,0002,531,328
19Aug 21, 2022 18:355,63378,025,13318,025,97302,199,552
20Aug 21, 2022 18:355,64983,669,41118,075,24302,203,648
21Aug 21, 2022 18:335,65172,853,11718,084,32302,199,552
22Aug 21, 2022 18:355,65268,929,78618,086,07202,252,800
23Aug 21, 2022 18:335,65681,522,73218,100,57102,191,360
24Aug 21, 2022 18:335,66595,487,81118,127,30502,195,456