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 30, 2023 16:57Alexander MonakovAlexander MonakovScore: 4,546Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2023 16:574,50828,973,91014,426,00002,277,376
2Jun 30, 2023 16:574,51131,987,45214,436,00002,277,376
3Jun 30, 2023 16:574,51340,797,39614,440,00002,494,464
4Jun 30, 2023 16:574,51435,978,55514,446,00002,277,376
5Jun 30, 2023 16:574,51633,044,34914,451,00002,277,376
6Jun 30, 2023 16:574,52734,046,82314,487,00002,498,560
7Jun 30, 2023 16:574,53332,840,68614,504,00002,277,376
8Jun 30, 2023 16:574,53433,130,11614,510,00002,277,376
9Jun 30, 2023 16:574,53432,154,42314,508,00002,502,656
10Jun 30, 2023 16:574,53630,526,32414,515,00002,277,376
11Jun 30, 2023 16:574,53637,403,75814,516,00002,486,272
12Jun 30, 2023 16:574,54531,310,47714,545,00002,498,560
13Jun 30, 2023 16:574,54633,112,00814,548,00002,502,656
14Jun 30, 2023 16:574,54734,913,49114,551,00002,506,752
15Jun 30, 2023 16:574,55132,988,49214,563,00002,277,376
16Jun 30, 2023 16:574,55430,218,75014,574,00002,535,424
17Jun 30, 2023 16:574,56135,050,99714,596,00002,498,560
18Jun 30, 2023 16:574,56929,199,81413,578,0001,044,0002,277,376
19Jun 30, 2023 16:574,71977,268,46515,101,28402,244,608
20Jun 30, 2023 16:574,78463,171,19115,308,80602,244,608
21Jun 30, 2023 16:574,78774,645,35015,316,80002,232,320
22Jun 30, 2023 16:574,79081,448,29815,329,35702,236,416
23Jun 30, 2023 16:574,80576,819,87515,374,82602,244,608
24Jun 30, 2023 16:574,86490,705,56515,564,49002,240,512