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 17, 2023 23:36Alexander MonakovAlexander MonakovScore: 4,549Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 17, 2023 23:364,53633,038,24913,478,0001,036,0002,506,752
2Mar 17, 2023 23:364,53830,330,54014,522,00002,502,656
3Mar 17, 2023 23:364,53942,620,14414,526,00002,277,376
4Mar 17, 2023 23:364,54034,470,73114,529,00002,277,376
5Mar 17, 2023 23:364,54636,266,11714,546,00002,277,376
6Mar 17, 2023 23:364,54634,801,23614,546,00002,277,376
7Mar 17, 2023 23:364,54930,542,82214,557,00002,498,560
8Mar 17, 2023 23:364,55134,890,00414,564,00002,494,464
9Mar 17, 2023 23:364,56334,001,69214,601,00002,498,560
10Mar 17, 2023 23:364,776104,233,80015,283,79502,236,416
11Mar 17, 2023 23:364,80689,545,89715,380,10702,244,608
12Mar 17, 2023 23:364,82994,458,54615,453,29902,240,512