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 19, 2024 10:09Matt StuchlikMatt StuchlikScore: 5,525Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 19, 2024 10:095,48740,071,57516,526,0001,032,0002,269,184
2Jul 19, 2024 10:095,49136,478,33416,539,0001,033,0002,289,664
3Jul 19, 2024 10:095,49434,441,26516,548,0001,034,0002,269,184
4Jul 19, 2024 10:095,49836,853,10117,593,00002,273,280
5Jul 19, 2024 10:095,50442,376,67316,576,0001,036,0002,289,664
6Jul 19, 2024 10:095,50541,659,48616,579,0001,036,0002,273,280
7Jul 19, 2024 10:095,52545,463,90216,641,0001,040,0002,531,328
8Jul 19, 2024 10:095,53536,151,28317,711,00002,269,184
9Jul 19, 2024 10:095,53646,499,81816,673,0001,042,0002,289,664
10Jul 19, 2024 10:095,758110,870,20118,425,09702,301,952
11Jul 19, 2024 10:095,76078,069,09618,431,85902,187,264
12Jul 19, 2024 10:095,78584,071,84618,512,57802,306,048