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 23, 2021 14:57Vladimir KuryakovVladimir KuryakovScore: 5,653Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 14:575,61343,934,30316,965,000997,0002,396,160
2May 24, 2021 07:565,61847,767,74915,980,0001,997,0002,260,992
3May 24, 2021 07:565,62248,537,04616,990,000999,0002,400,256
4May 23, 2021 14:575,62332,807,98615,995,0001,999,0002,387,968
5May 24, 2021 07:565,62438,875,56116,999,000999,0002,392,064
6May 24, 2021 07:565,62846,056,33417,011,0001,000,0002,519,040
7May 23, 2021 14:575,63045,044,38816,015,0002,001,0002,523,136
8May 24, 2021 07:565,63135,455,31016,018,0002,002,0002,519,040
9May 24, 2021 07:565,63241,859,99917,020,0001,001,0002,502,656
10May 23, 2021 14:575,64736,550,82615,058,0003,011,0002,519,040
11May 23, 2021 14:575,64948,083,08317,073,0001,004,0002,519,040
12May 23, 2021 14:575,65243,910,59117,082,0001,004,0002,523,136
13May 24, 2021 07:565,65342,996,75917,084,0001,004,0002,519,040
14May 23, 2021 14:575,65334,074,50116,081,0002,010,0002,392,064
15May 24, 2021 07:565,65646,668,62417,095,0001,005,0002,519,040
16May 23, 2021 14:575,65941,822,48417,104,0001,006,0002,392,064
17May 24, 2021 07:565,66737,642,67316,120,0002,015,0002,396,160
18May 23, 2021 14:575,69357,696,02517,204,0001,012,0002,519,040
19May 23, 2021 14:575,86982,187,35118,782,11002,281,472
20May 24, 2021 07:565,89584,839,66118,863,68002,310,144
21May 24, 2021 07:565,89797,355,87818,868,96202,277,376
22May 24, 2021 07:565,91493,721,17518,925,57502,293,760
23May 23, 2021 14:575,92783,773,10318,967,77602,281,472
24May 23, 2021 14:575,938102,320,80419,001,20002,273,280