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 14, 2021 21:17Yuriy LyfenkoYuriy LyfenkoScore: 5,600Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 14, 2021 21:175,58243,179,01616,869,000992,0002,265,088
2May 14, 2021 21:175,58340,013,66915,880,0001,985,0002,523,136
3May 14, 2021 21:175,58437,722,41915,884,0001,985,0002,523,136
4May 14, 2021 21:175,58445,412,68016,878,000992,0002,260,992
5May 14, 2021 21:175,58446,229,63215,884,0001,985,0002,387,968
6May 14, 2021 21:175,58543,104,14515,886,0001,985,0002,396,160
7May 14, 2021 21:175,58545,577,42816,879,000992,0002,396,160
8May 14, 2021 21:175,58736,262,30315,892,0001,986,0002,523,136
9May 14, 2021 21:175,58847,837,82116,887,000993,0002,523,136
10May 14, 2021 21:175,59239,011,83816,899,000994,0002,387,968
11May 14, 2021 21:175,59343,141,34715,911,0001,988,0002,523,136
12May 14, 2021 21:175,59849,960,77216,862,0001,053,0002,260,992
13May 14, 2021 21:175,60043,748,08015,928,0001,991,0002,523,136
14May 14, 2021 21:175,61142,270,32516,957,000997,0002,265,088
15May 14, 2021 21:175,61346,796,43516,964,000997,0002,523,136
16May 14, 2021 21:175,61447,834,52216,968,000998,0002,260,992
17May 14, 2021 21:175,61846,315,03515,979,0001,997,0002,387,968
18May 14, 2021 21:175,67448,061,25916,140,0002,017,0002,392,064
19May 14, 2021 21:175,76780,923,48818,454,05302,281,472
20May 14, 2021 21:175,77990,408,44018,492,81302,285,568
21May 14, 2021 21:175,79290,227,14318,534,33902,273,280
22May 14, 2021 21:175,79455,943,22018,539,68302,277,376
23May 14, 2021 21:175,801109,931,48118,563,09802,273,280
24May 14, 2021 21:175,80288,343,16718,565,58702,273,280