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 21:56Yuriy LyfenkoYuriy LyfenkoScore: 5,608Success
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 21:575,57243,530,74117,830,00002,523,136
2May 11, 2021 21:565,58347,753,53416,875,000992,0002,523,136
3May 11, 2021 21:575,58548,389,62716,880,000992,0002,523,136
4May 11, 2021 21:575,58750,254,21216,885,000993,0002,260,992
5May 11, 2021 21:565,58846,707,09516,890,000993,0002,260,992
6May 11, 2021 21:575,58947,157,28117,886,00002,523,136
7May 11, 2021 21:575,59048,759,74914,908,0002,981,0002,260,992
8May 11, 2021 21:565,59446,994,90114,918,0002,983,0002,523,136
9May 11, 2021 21:565,59742,282,16715,920,0001,990,0002,265,088
10May 11, 2021 21:565,60042,406,72516,925,000995,0002,260,992
11May 11, 2021 21:575,60234,189,32015,934,0001,991,0002,396,160
12May 11, 2021 21:565,60742,332,85916,946,000996,0002,400,256
13May 11, 2021 21:575,60842,982,97916,948,000996,0002,260,992
14May 11, 2021 21:575,60943,477,62314,957,0002,991,0002,392,064
15May 11, 2021 21:565,61350,252,50216,963,000997,0002,260,992
16May 11, 2021 21:565,61548,406,85115,973,0001,996,0002,396,160
17May 11, 2021 21:565,62046,927,75316,985,000999,0002,523,136
18May 11, 2021 21:575,62840,385,92717,009,0001,000,0002,260,992
19May 11, 2021 21:565,69275,460,24818,214,95402,273,280
20May 11, 2021 21:575,76192,543,79218,434,50402,281,472
21May 11, 2021 21:565,79094,973,12318,529,44502,285,568
22May 11, 2021 21:575,81191,755,06318,595,06102,285,568
23May 11, 2021 21:565,82359,940,53818,632,57902,285,568
24May 11, 2021 21:575,82988,924,66818,652,89802,277,376