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 22, 2022 16:24Eugene ZhydzetskiEugene ZhydzetskiScore: 5,810Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 22, 2022 16:245,76940,676,66418,460,00002,535,424
2Aug 22, 2022 16:245,77142,765,77118,468,00002,535,424
3Aug 22, 2022 16:245,77542,735,31018,480,00002,281,472
4Aug 22, 2022 16:245,78141,841,51917,473,0001,027,0002,535,424
5Aug 22, 2022 16:245,79840,384,84318,555,00002,535,424
6Aug 22, 2022 16:245,79936,875,80118,556,00002,535,424
7Aug 22, 2022 16:245,81048,197,29117,560,0001,032,0002,535,424
8Aug 22, 2022 16:245,81850,754,88217,585,0001,034,0002,334,720
9Aug 22, 2022 16:245,84144,971,53317,654,0001,038,0002,334,720
10Aug 22, 2022 16:245,97589,273,94119,120,37802,248,704
11Aug 22, 2022 16:245,999100,295,38019,197,38602,240,512
12Aug 22, 2022 16:246,02081,142,06219,263,91402,240,512