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 27, 2024 15:02BenBenScore: 35,105Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 27, 2024 15:0134,795178,423,975111,342,61102,371,584
2Jul 27, 2024 15:0134,815182,518,900111,408,10502,236,416
3Jul 27, 2024 15:0134,902152,460,471111,685,06602,240,512
4Jul 27, 2024 15:0335,073188,306,572112,234,55702,240,512
5Jul 27, 2024 15:0335,105174,791,103112,337,27902,244,608
6Jul 27, 2024 15:0335,185183,756,346112,592,69102,244,608
7Jul 27, 2024 15:0241,223188,117,901131,913,36102,211,840
8Jul 27, 2024 15:0241,377180,563,999132,407,09602,215,936
9Jul 27, 2024 15:0241,523194,208,786132,872,16702,338,816