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 listAug 19, 2022 18:17Eugene ZhydzetskiEugene ZhydzetskiScore: 6,047Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 19, 2022 18:175,96692,066,02719,090,58102,232,320
2Aug 19, 2022 18:175,99445,426,60217,162,0002,019,0002,334,720
3Aug 19, 2022 18:176,00443,424,18418,201,0001,011,0002,334,720
4Aug 19, 2022 18:176,00438,968,45217,191,0002,022,0002,334,720
5Aug 19, 2022 18:176,00943,000,61017,204,0002,024,0002,334,720
6Aug 19, 2022 18:176,01344,752,33117,216,0002,025,0002,535,424
7Aug 19, 2022 18:176,04741,258,09818,331,0001,018,0002,404,352
8Aug 19, 2022 18:176,05342,522,66318,350,0001,019,0002,535,424
9Aug 19, 2022 18:176,06435,553,52118,384,0001,021,0002,535,424
10Aug 19, 2022 18:176,06945,584,01118,400,0001,022,0002,396,160
11Aug 19, 2022 18:176,15689,883,48719,698,60202,240,512
12Aug 19, 2022 18:176,16783,349,26319,735,91802,240,512