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 29, 2022 11:19zhiayangzhiayangScore: 6,389Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 29, 2022 11:196,35090,064,35420,321,28302,301,952
2Aug 29, 2022 11:196,356102,867,00920,338,91402,297,856
3Aug 29, 2022 11:196,36359,004,54220,362,00502,293,760
4Aug 29, 2022 11:196,37279,820,28920,391,10802,285,568
5Aug 29, 2022 11:196,37278,701,08320,389,53702,297,856
6Aug 29, 2022 11:196,38384,016,13420,425,66902,301,952
7Aug 29, 2022 11:196,38976,000,90320,443,37302,281,472
8Aug 29, 2022 11:196,39585,342,00420,464,59102,289,664
9Aug 29, 2022 11:196,39791,204,91720,468,90202,293,760
10Aug 29, 2022 11:196,39786,728,88620,470,51302,281,472
11Aug 29, 2022 11:196,39899,042,63820,473,30102,301,952
12Aug 29, 2022 11:196,47987,631,91820,732,76202,293,760