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:16Alexander MonakovAlexander MonakovScore: 4,557Success
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:164,53129,454,68714,498,00002,502,656
2Mar 17, 2023 23:164,53334,463,66414,504,00002,281,472
3Mar 17, 2023 23:164,53436,216,28914,510,00002,277,376
4Mar 17, 2023 23:164,53926,953,38614,526,00002,277,376
5Mar 17, 2023 23:164,54233,295,40214,533,00002,277,376
6Mar 17, 2023 23:164,54634,557,16014,548,00002,273,280
7Mar 17, 2023 23:164,55727,354,08314,582,00002,277,376
8Mar 17, 2023 23:164,56829,141,65914,619,00002,277,376
9Mar 17, 2023 23:164,57341,071,16714,633,00002,490,368
10Mar 17, 2023 23:164,78388,039,72415,306,96802,244,608
11Mar 17, 2023 23:164,78478,738,73815,307,49402,244,608
12Mar 17, 2023 23:164,78878,656,85315,321,78902,240,512