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 29, 2024 15:38byrtoletbyrtoletScore: 6,413Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 29, 2024 16:466,02182,483,03019,267,25002,306,048
2Jul 29, 2024 15:386,03078,853,53919,297,20202,301,952
3Jul 29, 2024 16:466,03369,694,67519,305,69002,310,144
4Jul 29, 2024 15:386,05188,762,18419,363,95202,179,072
5Jul 29, 2024 15:386,08575,586,20819,473,30602,301,952
6Jul 29, 2024 16:466,09277,276,74319,493,31102,297,856
7Jul 29, 2024 15:386,38545,771,25319,412,0001,021,0002,289,664
8Jul 29, 2024 15:386,38842,616,07720,442,00002,265,088
9Jul 29, 2024 16:466,40541,781,85119,471,0001,024,0002,289,664
10Jul 29, 2024 16:466,40643,768,91220,498,00002,289,664
11Jul 29, 2024 16:466,40841,544,71119,479,0001,025,0002,379,776
12Jul 29, 2024 15:386,41042,378,45619,487,0001,025,0002,273,280
13Jul 29, 2024 16:466,41346,236,47219,494,0001,026,0002,273,280
14Jul 29, 2024 15:386,41644,134,94019,506,0001,026,0002,289,664
15Jul 29, 2024 16:466,42149,211,38519,520,0001,027,0002,273,280
16Jul 29, 2024 16:466,42641,989,27119,535,0001,028,0002,265,088
17Jul 29, 2024 16:466,43241,434,93220,581,00002,289,664
18Jul 29, 2024 15:386,43441,449,36919,561,0001,029,0002,269,184
19Jul 29, 2024 15:386,43648,528,53819,565,0001,029,0002,273,280
20Jul 29, 2024 15:386,43848,514,32719,572,0001,030,0002,289,664
21Jul 29, 2024 16:466,44152,903,32919,581,0001,030,0002,289,664
22Jul 29, 2024 15:386,44146,874,70019,581,0001,030,0002,289,664
23Jul 29, 2024 16:466,44445,091,11019,591,0001,031,0002,289,664
24Jul 29, 2024 15:386,45145,678,60619,610,0001,032,0002,269,184