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 24, 2024 01:19emily graceemily graceScore: 4,897Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 24, 2024 01:194,86035,452,69715,551,00002,289,664
2Jul 24, 2024 01:194,87138,012,09114,548,0001,039,0002,289,664
3Jul 24, 2024 01:194,87338,797,97814,556,0001,039,0002,289,664
4Jul 24, 2024 01:194,87438,322,71214,559,0001,039,0002,289,664
5Jul 24, 2024 01:194,89440,862,34014,618,0001,044,0002,531,328
6Jul 24, 2024 01:194,89442,738,53114,618,0001,044,0002,281,472
7Jul 24, 2024 01:194,89733,011,48314,626,0001,044,0002,273,280
8Jul 24, 2024 01:194,91344,282,37214,673,0001,048,0002,289,664
9Jul 24, 2024 01:194,91346,868,76214,675,0001,048,0002,277,376
10Jul 24, 2024 01:195,12288,330,58016,390,83802,297,856
11Jul 24, 2024 01:195,13586,022,22816,433,39602,306,048
12Jul 24, 2024 01:195,14278,584,17516,454,78102,297,856