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 listMay 27, 2021 21:55Egor SergeevEgor SergeevScore: 5,179Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2021 15:175,15535,225,42916,495,00002,506,752
2May 28, 2021 15:175,15731,106,77816,503,00002,494,464
3May 28, 2021 15:175,15837,288,72616,505,00002,277,376
4May 27, 2021 21:555,16138,286,26516,516,00002,277,376
5May 27, 2021 21:555,16239,066,16016,517,00002,498,560
6May 27, 2021 21:555,16436,065,17816,526,00002,277,376
7May 28, 2021 15:175,16639,104,61316,530,00002,498,560
8May 27, 2021 21:555,16737,332,09916,534,00002,494,464
9May 28, 2021 15:175,17439,528,30016,557,00002,277,376
10May 27, 2021 21:555,17730,605,08316,566,00002,490,368
11May 28, 2021 15:175,17730,829,18616,566,00002,498,560
12May 27, 2021 21:555,17940,460,70216,573,00002,277,376
13May 28, 2021 15:175,17940,316,93816,574,00002,502,656
14May 27, 2021 21:555,18444,508,00416,590,00002,494,464
15May 27, 2021 21:555,18739,091,03416,598,00002,494,464
16May 28, 2021 15:175,19540,121,75116,625,00002,490,368
17May 27, 2021 21:555,20044,167,18116,639,00002,498,560
18May 28, 2021 15:175,21334,173,91916,681,00002,498,560
19May 28, 2021 15:175,39744,179,02817,271,34602,240,512
20May 27, 2021 21:555,39761,271,21517,270,48202,232,320
21May 27, 2021 21:555,41787,426,17717,333,64102,240,512
22May 28, 2021 15:175,42256,148,10817,350,92602,232,320
23May 27, 2021 21:555,42446,671,50917,356,02802,240,512
24May 28, 2021 15:175,49359,999,36217,578,58602,244,608