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 listOct 27, 2021 08:26Ilya AniskovetsIlya AniskovetsScore: 5,480Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 27, 2021 08:265,45637,620,43416,432,0001,027,0002,289,664
2Oct 27, 2021 08:265,45939,726,95417,468,00002,289,664
3Oct 27, 2021 08:265,46343,940,76316,452,0001,028,0002,265,088
4Oct 27, 2021 08:265,46840,862,27616,468,0001,029,0002,289,664
5Oct 27, 2021 08:265,46839,058,26216,469,0001,029,0002,289,664
6Oct 27, 2021 08:265,47639,036,29116,493,0001,030,0002,273,280
7Oct 27, 2021 08:265,48042,813,03016,504,0001,031,0002,289,664
8Oct 27, 2021 08:265,48440,212,76417,548,00002,289,664
9Oct 27, 2021 08:265,49736,409,57416,557,0001,034,0002,265,088
10Oct 27, 2021 08:265,61656,404,26717,972,40402,301,952
11Oct 27, 2021 08:265,61766,159,19417,974,74002,306,048
12Oct 27, 2021 08:265,64083,403,83218,046,76002,297,856