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 1, 2024 21:32Egor SergeevEgor SergeevScore: 4,408Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 19:474,36432,388,52312,967,000997,0002,277,376
2Aug 1, 2024 21:324,36631,856,71912,974,000998,0002,498,560
3Aug 1, 2024 21:324,37426,365,45912,998,000999,0002,502,656
4Jul 28, 2024 19:474,38130,060,86513,019,0001,001,0002,277,376
5Aug 1, 2024 21:324,38829,916,25513,040,0001,003,0002,277,376
6Jul 28, 2024 19:474,38927,039,32113,041,0001,003,0002,490,368
7Jul 28, 2024 19:474,39040,434,24913,044,0001,003,0002,498,560
8Jul 28, 2024 19:474,39128,344,08013,049,0001,003,0002,490,368
9Jul 28, 2024 19:474,39327,109,17413,053,0001,004,0002,498,560
10Jul 28, 2024 19:474,39730,712,68912,060,0002,010,0002,531,328
11Aug 1, 2024 21:324,39833,205,96413,067,0001,005,0002,277,376
12Jul 28, 2024 19:474,40637,349,61412,086,0002,014,0002,277,376
13Aug 1, 2024 21:324,40841,728,70713,099,0001,007,0002,506,752
14Aug 1, 2024 21:324,41530,323,17713,118,0001,009,0002,273,280
15Aug 1, 2024 21:324,41530,463,91413,120,0001,009,0002,502,656
16Jul 28, 2024 19:474,41931,674,70313,131,0001,010,0002,277,376
17Aug 1, 2024 21:324,43632,089,74013,181,0001,013,0002,277,376
18Aug 1, 2024 21:324,45138,204,61814,242,00002,277,376
19Aug 1, 2024 21:324,68868,973,62115,000,64902,236,416
20Aug 1, 2024 21:324,69537,410,41315,024,38702,260,992
21Jul 28, 2024 19:474,69866,242,77715,032,67602,375,680
22Jul 28, 2024 19:474,70669,465,54315,060,35002,248,704
23Aug 1, 2024 21:324,72845,605,95415,130,32202,240,512
24Jul 28, 2024 19:474,74965,421,63815,196,87202,240,512