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 listMar 17, 2023 22:13Alexander MonakovAlexander MonakovScore: 4,548Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 17, 2023 22:134,51230,239,05414,437,00002,498,560
2Mar 17, 2023 22:134,52230,578,33614,470,00002,277,376
3Mar 17, 2023 22:134,53128,538,74414,499,00002,535,424
4Mar 17, 2023 22:134,53636,084,65414,514,00002,494,464
5Mar 17, 2023 22:134,54134,773,61514,532,00002,277,376
6Mar 17, 2023 22:134,54733,995,57714,550,00002,502,656
7Mar 17, 2023 22:134,54830,279,66514,555,00002,277,376
8Mar 17, 2023 22:134,56842,559,01014,617,00002,498,560
9Mar 17, 2023 22:134,57831,272,59513,603,0001,046,0002,277,376
10Mar 17, 2023 22:134,76776,809,56715,253,67302,248,704
11Mar 17, 2023 22:134,77293,960,39915,270,35302,256,896
12Mar 17, 2023 22:134,80163,419,91015,363,10602,252,800