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 26, 2021 00:00Mikhail DektyarevMikhail DektyarevScore: 4,668Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 25, 2021 23:584,63430,363,01412,853,0001,977,0002,404,352
2May 25, 2021 23:584,63641,941,71814,834,00002,281,472
3May 25, 2021 23:584,64538,924,73212,882,0001,981,0002,478,080
4May 25, 2021 23:584,64641,321,37114,868,00002,281,472
5May 25, 2021 23:584,64632,256,39914,866,00002,281,472
6May 25, 2021 23:584,64742,042,67013,880,000991,0002,281,472
7May 25, 2021 23:584,64729,204,04912,888,0001,982,0002,281,472
8May 25, 2021 23:584,64934,420,04013,885,000991,0002,404,352
9May 25, 2021 23:584,64931,863,27412,895,0001,983,0002,392,064
10May 25, 2021 23:584,64934,629,81212,894,0001,983,0002,400,256
11May 26, 2021 00:004,64934,883,24212,895,0001,983,0002,396,160
12May 26, 2021 00:004,65031,762,28913,889,000992,0002,400,256
13May 25, 2021 23:584,65143,012,85614,883,00002,523,136
14May 26, 2021 00:004,65130,654,30613,892,000992,0002,404,352
15May 25, 2021 23:584,65433,192,34312,907,0001,985,0002,281,472
16May 26, 2021 00:004,66446,753,86712,935,0001,990,0002,281,472
17May 26, 2021 00:004,66738,532,79812,944,0001,991,0002,281,472
18May 25, 2021 23:584,66832,289,58212,946,0001,991,0002,400,256
19May 25, 2021 23:584,66833,798,67312,946,0001,991,0002,273,280
20May 26, 2021 00:004,66832,188,99613,941,000995,0002,281,472
21May 26, 2021 00:004,66932,410,44513,944,000996,0002,396,160
22May 25, 2021 23:584,67436,091,87413,959,000997,0002,400,256
23May 25, 2021 23:584,68334,196,45613,988,000999,0002,281,472
24May 26, 2021 00:004,68638,104,68813,997,000999,0002,396,160
25May 26, 2021 00:004,68841,399,04513,003,0002,000,0002,281,472
26May 25, 2021 23:584,69039,055,45113,008,0002,001,0002,281,472
27May 25, 2021 23:584,69434,213,45813,019,0002,003,0002,277,376
28May 26, 2021 00:004,84641,337,16915,507,82702,301,952
29May 25, 2021 23:584,84940,178,68815,515,87902,293,760
30May 25, 2021 23:584,86439,672,88115,563,85702,289,664
31May 25, 2021 23:584,86594,381,01115,569,36702,297,856
32May 26, 2021 00:004,87088,250,24115,583,03202,297,856
33May 26, 2021 00:004,87254,398,37815,589,24102,285,568
34May 25, 2021 23:584,96248,010,99015,878,87102,260,992
35May 25, 2021 23:585,08459,983,58416,269,56702,293,760
36May 25, 2021 23:585,43487,211,76717,387,45102,289,664