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 31, 2024 15:44BenBenScore: 4,511Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 31, 2024 15:444,45831,339,10214,266,00002,494,464
2Jul 31, 2024 15:444,46631,871,68314,291,00002,498,560
3Jul 31, 2024 15:444,48628,427,29514,354,00002,498,560
4Jul 31, 2024 15:444,49026,965,94714,367,00002,490,368
5Jul 31, 2024 15:444,49443,692,00414,382,00002,490,368
6Jul 31, 2024 15:444,50036,500,91014,400,00002,494,464
7Jul 31, 2024 15:444,51132,665,00514,434,00002,535,424
8Jul 31, 2024 15:444,51226,991,85514,439,00002,490,368
9Jul 31, 2024 15:444,51829,399,00214,458,00002,490,368
10Jul 31, 2024 15:444,80083,830,89615,358,63202,248,704
11Jul 31, 2024 15:444,85559,337,89915,536,75602,367,488
12Jul 31, 2024 15:444,91871,341,50115,737,06402,236,416