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 listJun 17, 2023 23:02Ulyanov AlekseyUlyanov AlekseyScore: 5,900Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 17, 2023 23:035,84844,799,62117,673,0001,039,0002,273,280
2Jun 17, 2023 23:025,87739,557,66816,828,0001,979,0002,277,376
3Jun 17, 2023 23:035,88945,494,95316,863,0001,983,0002,277,376
4Jun 17, 2023 23:025,89136,500,34217,859,000992,0002,265,088
5Jun 17, 2023 23:035,89346,656,21316,872,0001,985,0002,277,376
6Jun 17, 2023 23:035,89444,741,88516,877,0001,985,0002,277,376
7Jun 17, 2023 23:025,89445,483,87917,868,000992,0002,273,280
8Jun 17, 2023 23:035,89448,547,32615,884,0002,978,0002,277,376
9Jun 17, 2023 23:025,89648,898,12116,881,0001,986,0002,277,376
10Jun 17, 2023 23:025,89750,243,22516,884,0001,986,0002,277,376
11Jun 17, 2023 23:035,89843,699,04414,902,0003,973,0002,277,376
12Jun 17, 2023 23:025,89847,896,51016,888,0001,986,0002,277,376
13Jun 17, 2023 23:035,90043,565,62416,892,0001,987,0002,277,376
14Jun 17, 2023 23:025,90045,006,24515,900,0002,981,0002,269,184
15Jun 17, 2023 23:025,90247,965,31816,899,0001,988,0002,269,184
16Jun 17, 2023 23:035,90647,829,12817,905,000994,0002,277,376
17Jun 17, 2023 23:035,90742,560,05316,801,0002,100,0002,269,184
18Jun 17, 2023 23:025,91741,455,35817,938,000996,0002,277,376
19Jun 17, 2023 23:026,08396,968,25919,466,09002,297,856
20Jun 17, 2023 23:026,08396,578,85419,464,04702,301,952
21Jun 17, 2023 23:036,09280,985,64519,493,67202,297,856
22Jun 17, 2023 23:036,11173,878,27519,554,61402,301,952
23Jun 17, 2023 23:026,13085,834,93619,615,74502,301,952
24Jun 17, 2023 23:036,16491,905,78619,725,21402,301,952