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 listJun 9, 2024 10:56AnSaAnSaScore: 5,643Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 10:565,60340,374,90115,939,0001,992,0002,281,472
2Jun 9, 2024 10:565,61445,133,59916,966,000998,0002,281,472
3Jun 9, 2024 10:565,61539,735,63516,969,000998,0002,281,472
4Jun 9, 2024 10:565,61740,006,89715,976,0001,997,0002,281,472
5Jun 9, 2024 10:565,62842,053,54417,009,0001,000,0002,281,472
6Jun 9, 2024 10:565,64337,609,03416,050,0002,006,0002,281,472
7Jun 9, 2024 10:565,64342,355,77817,055,0001,003,0002,269,184
8Jun 9, 2024 10:565,65142,608,34614,066,0004,018,0002,281,472
9Jun 9, 2024 10:565,65541,442,20416,085,0002,010,0002,277,376
10Jun 9, 2024 10:565,91367,664,88218,921,88302,306,048
11Jun 9, 2024 10:565,95292,433,86119,046,76002,301,952
12Jun 9, 2024 10:565,95586,799,70919,056,22702,183,168