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,655Success
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,60342,199,60915,938,0001,992,0002,342,912
2Jan 19, 2022 12:525,62248,820,68514,992,0002,998,0002,486,272
3Jan 19, 2022 12:525,62741,587,85617,005,0001,000,0002,342,912
4Jan 19, 2022 12:525,63143,937,61316,016,0002,002,0002,482,176
5Jan 19, 2022 12:525,64645,274,60216,061,0002,007,0002,490,368
6Jan 19, 2022 12:525,65244,009,72317,082,0001,004,0002,486,272
7Jan 19, 2022 12:525,65543,549,63617,090,0001,005,0002,494,464
8Jan 19, 2022 12:525,65985,658,00618,109,56002,174,976
9Jan 19, 2022 12:525,66536,135,41616,114,0002,014,0002,490,368
10Jan 19, 2022 12:525,66648,246,00317,125,0001,007,0002,490,368
11Jan 19, 2022 12:525,67494,018,61418,158,23602,179,072
12Jan 19, 2022 12:525,69884,885,99118,234,09502,301,952