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 listMar 18, 2023 15:42Alexander MonakovAlexander MonakovScore: 4,558Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 18, 2023 15:424,51735,123,40814,453,00002,277,376
2Mar 18, 2023 15:424,51739,043,20314,453,00002,498,560
3Mar 18, 2023 15:424,53432,264,86014,510,00002,498,560
4Mar 18, 2023 15:424,53528,844,05814,511,00002,277,376
5Mar 18, 2023 15:424,54329,096,86914,539,00002,486,272
6Mar 18, 2023 15:424,54630,884,11514,548,00002,502,656
7Mar 18, 2023 15:424,55827,151,48314,584,00002,494,464
8Mar 18, 2023 15:424,55831,989,35414,586,00002,494,464
9Mar 18, 2023 15:424,59335,476,49714,697,00002,277,376
10Mar 18, 2023 15:424,811101,058,58615,396,16002,252,800
11Mar 18, 2023 15:424,82563,705,11815,440,60402,236,416
12Mar 18, 2023 15:424,84978,193,04515,517,04402,240,512