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 8, 2021 01:33evgenikwtevgenikwtScore: 5,284Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 7, 2021 23:485,26949,942,44216,860,00002,265,088
2Jun 7, 2021 23:485,27044,030,47914,881,0001,984,0002,269,184
3Jun 8, 2021 01:335,27243,440,38514,887,0001,984,0002,265,088
4Jun 8, 2021 01:335,27235,908,16516,871,00002,392,064
5Jun 7, 2021 23:485,27639,851,51314,897,0001,986,0002,265,088
6Jun 8, 2021 01:335,27845,074,16814,904,0001,987,0002,265,088
7Jun 7, 2021 23:485,27847,088,50114,902,0001,986,0002,265,088
8Jun 7, 2021 23:485,28052,618,26715,841,0001,056,0002,392,064
9Jun 8, 2021 01:335,28041,740,23116,896,00002,265,088
10Jun 8, 2021 01:335,28236,372,80514,915,0001,988,0002,392,064
11Jun 8, 2021 01:335,28344,025,85814,916,0001,988,0002,392,064
12Jun 8, 2021 01:335,28342,027,05615,911,000994,0002,392,064
13Jun 8, 2021 01:335,28447,134,67815,914,000994,0002,387,968
14Jun 7, 2021 23:485,29136,404,13314,939,0001,991,0002,387,968
15Jun 7, 2021 23:485,29448,571,79815,945,000996,0002,265,088
16Jun 7, 2021 23:485,29743,743,52515,952,000997,0002,265,088
17Jun 7, 2021 23:485,30145,391,71514,968,0001,995,0002,265,088
18Jun 8, 2021 01:335,30634,446,91315,982,000998,0002,396,160
19Jun 8, 2021 01:335,45776,649,77017,463,08902,277,376
20Jun 8, 2021 01:335,46197,440,45217,476,50202,277,376
21Jun 7, 2021 23:485,46961,535,27217,500,58602,285,568
22Jun 7, 2021 23:485,47281,938,94817,509,13802,281,472
23Jun 8, 2021 01:335,49081,463,51917,567,81402,285,568
24Jun 7, 2021 23:485,49576,448,73817,584,06502,273,280