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 listDec 25, 2021 02:02Alexander KimAlexander KimScore: 5,772Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 25, 2021 02:025,71833,864,25116,266,0002,033,0002,334,720
2Dec 25, 2021 02:025,72143,920,20616,272,0002,034,0002,314,240
3Dec 25, 2021 02:025,73440,149,42917,330,0001,019,0002,334,720
4Dec 25, 2021 02:025,73843,091,76116,320,0002,040,0002,334,720
5Dec 25, 2021 02:025,75645,863,51617,396,0001,023,0002,310,144
6Dec 25, 2021 02:025,76138,544,81818,436,00002,334,720
7Dec 25, 2021 02:025,77240,547,74915,393,0003,078,0002,334,720
8Dec 25, 2021 02:025,78483,735,28618,507,72502,273,280
9Dec 25, 2021 02:025,79441,186,10116,480,0002,060,0002,334,720
10Dec 25, 2021 02:025,81781,510,24718,614,21602,269,184
11Dec 25, 2021 02:025,81743,898,24216,546,0002,068,0002,326,528
12Dec 25, 2021 02:025,88285,706,66418,823,06902,281,472