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:52Andrey TsvetkovAndrey TsvetkovScore: 5,653Success
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:525,60043,967,76916,866,0001,054,0002,347,008
2Jan 19, 2022 12:525,60846,328,33214,956,0002,991,0002,490,368
3Jan 19, 2022 12:525,61247,973,28215,964,0001,995,0002,347,008
4Jan 19, 2022 12:525,63044,702,28217,015,0001,000,0002,498,560
5Jan 19, 2022 12:525,64750,319,39215,059,0003,011,0002,490,368
6Jan 19, 2022 12:525,64990,516,39518,076,86002,179,072
7Jan 19, 2022 12:525,65346,645,92317,085,0001,005,0002,490,368
8Jan 19, 2022 12:525,65435,288,91715,078,0003,015,0002,338,816
9Jan 19, 2022 12:525,668101,026,72618,136,45602,306,048
10Jan 19, 2022 12:525,67849,516,39817,161,0001,009,0002,342,912
11Jan 19, 2022 12:525,68841,059,91516,178,0002,022,0002,494,464
12Jan 19, 2022 12:525,70894,706,28518,265,72902,301,952