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 listSep 4, 2021 22:04Andrey TsvetkovAndrey TsvetkovScore: 5,624Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 4, 2021 22:045,58043,651,15817,857,00002,437,120
2Sep 4, 2021 22:045,58640,724,92316,883,000993,0002,441,216
3Sep 4, 2021 22:045,58942,956,09416,892,000993,0002,437,120
4Sep 4, 2021 22:045,59244,637,32915,906,0001,988,0002,428,928
5Sep 4, 2021 22:045,60645,436,57216,942,000996,0002,437,120
6Sep 4, 2021 22:045,61242,755,09715,964,0001,995,0002,342,912
7Sep 4, 2021 22:045,62440,604,79615,997,0001,999,0002,342,912
8Sep 4, 2021 22:045,62541,955,54216,001,0002,000,0002,342,912
9Sep 4, 2021 22:045,62880,594,16018,010,16102,277,376
10Sep 4, 2021 22:045,66246,054,44916,104,0002,013,0002,342,912
11Sep 4, 2021 22:045,66899,751,24318,138,38702,273,280
12Sep 4, 2021 22:045,77380,240,51318,474,86602,273,280