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 listMay 15, 2023 20:58AmirAmirScore: 5,744Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 15, 2023 20:585,68338,572,05717,177,0001,010,0002,269,184
2May 15, 2023 20:585,69542,045,71617,211,0001,012,0002,289,664
3May 15, 2023 20:585,71346,322,73616,250,0002,031,0002,277,376
4May 15, 2023 20:585,71352,252,92716,251,0002,031,0002,289,664
5May 15, 2023 20:585,71543,369,89717,272,0001,016,0002,527,232
6May 15, 2023 20:585,72841,512,78316,292,0002,036,0002,289,664
7May 15, 2023 20:585,74435,777,68417,359,0001,021,0002,371,584
8May 15, 2023 20:585,74749,829,31516,348,0002,043,0002,273,280
9May 15, 2023 20:585,75639,756,04416,372,0002,046,0002,269,184
10May 15, 2023 20:585,88896,280,49618,842,19902,179,072
11May 15, 2023 20:585,89468,150,61318,860,01202,179,072
12May 15, 2023 20:585,96285,912,54019,077,61202,174,976