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 11, 2021 22:02Yuriy LyfenkoYuriy LyfenkoScore: 5,708Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 22:025,64733,426,07516,062,0002,007,0002,523,136
2May 11, 2021 22:025,64946,383,26715,065,0003,013,0002,260,992
3May 11, 2021 22:025,66842,881,27016,124,0002,015,0002,400,256
4May 11, 2021 22:025,67439,540,33116,141,0002,017,0002,396,160
5May 11, 2021 22:025,67638,633,14215,137,0003,027,0002,523,136
6May 11, 2021 22:025,67941,612,84416,154,0002,019,0002,260,992
7May 11, 2021 22:025,67938,546,56716,153,0002,019,0002,396,160
8May 11, 2021 22:025,68744,505,95416,177,0002,022,0002,387,968
9May 11, 2021 22:025,69045,169,20016,186,0002,023,0002,260,992
10May 11, 2021 22:025,69443,471,87417,210,0001,012,0002,387,968
11May 11, 2021 22:025,69751,392,55517,272,000959,0002,392,064
12May 11, 2021 22:025,69843,495,21317,220,0001,012,0002,523,136
13May 11, 2021 22:025,70834,959,80817,251,0001,014,0002,260,992
14May 11, 2021 22:025,70841,956,38516,236,0002,029,0002,392,064
15May 11, 2021 22:025,71046,903,49615,227,0003,045,0002,260,992
16May 11, 2021 22:025,71245,897,60216,248,0002,031,0002,392,064
17May 11, 2021 22:025,71338,290,33217,265,0001,015,0002,392,064
18May 11, 2021 22:025,71840,297,34416,265,0002,033,0002,260,992
19May 11, 2021 22:025,87998,136,78118,813,20802,273,280
20May 11, 2021 22:025,90873,478,14618,907,02402,281,472
21May 11, 2021 22:025,93189,271,41218,980,12702,277,376
22May 11, 2021 22:025,94390,202,67219,018,23602,281,472
23May 11, 2021 22:025,94473,522,93619,022,24402,281,472
24May 11, 2021 22:025,959103,787,60919,068,69802,277,376