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 listJan 19, 2022 12:55Andrey TsvetkovAndrey TsvetkovScore: 5,668Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 19, 2022 12:555,64833,297,66715,062,0003,012,0002,498,560
2Jan 19, 2022 12:555,65234,109,31816,076,0002,009,0002,338,816
3Jan 19, 2022 12:555,65243,853,99517,081,0001,004,0002,486,272
4Jan 19, 2022 12:555,65576,826,02318,094,94502,179,072
5Jan 19, 2022 12:555,65768,114,66418,102,56102,179,072
6Jan 19, 2022 12:555,66344,069,52816,109,0002,013,0002,494,464
7Jan 19, 2022 12:555,66843,368,67716,121,0002,015,0002,486,272
8Jan 19, 2022 12:555,68238,349,50616,161,0002,020,0002,342,912
9Jan 19, 2022 12:555,69383,662,42718,216,05202,187,264
10Jan 19, 2022 12:555,70046,188,01316,213,0002,026,0002,338,816
11Jan 19, 2022 12:555,70144,674,00416,216,0002,027,0002,342,912
12Jan 19, 2022 12:555,72939,761,08615,279,0003,055,0002,342,912