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 listNov 17, 2024 22:28Joad NacerJoad NacerScore: 4,496Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 17, 2024 22:284,47532,627,84112,275,0002,045,0002,535,424
2Nov 17, 2024 22:294,48633,672,01614,356,00002,428,928
3Nov 17, 2024 22:284,48727,856,32414,357,00002,273,280
4Nov 17, 2024 22:284,48734,472,94114,358,00002,535,424
5Nov 17, 2024 22:284,48934,826,94013,339,0001,026,0002,433,024
6Nov 17, 2024 22:284,49141,645,16313,344,0001,026,0002,535,424
7Nov 17, 2024 22:294,49336,712,69313,350,0001,026,0002,535,424
8Nov 17, 2024 22:294,49639,652,00614,386,00002,273,280
9Nov 17, 2024 22:284,49631,220,61614,386,00002,424,832
10Nov 17, 2024 22:284,49635,091,69713,360,0001,027,0002,273,280
11Nov 17, 2024 22:284,49936,315,67114,398,00002,273,280
12Nov 17, 2024 22:284,50735,207,89114,423,00002,535,424
13Nov 17, 2024 22:294,50730,357,39614,421,00002,273,280
14Nov 17, 2024 22:284,50730,806,99914,423,00002,428,928
15Nov 17, 2024 22:294,51235,756,79213,407,0001,031,0002,428,928
16Nov 17, 2024 22:294,51640,468,25014,450,00002,433,024
17Nov 17, 2024 22:284,52233,661,92514,469,00002,428,928
18Nov 17, 2024 22:284,58933,663,89614,686,00002,535,424