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:05Yuriy LyfenkoYuriy LyfenkoScore: 5,682Success
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:055,63950,159,81917,043,0001,002,0002,260,992
2May 11, 2021 21:055,64135,391,72115,044,0003,008,0002,396,160
3May 11, 2021 21:055,64640,985,87516,061,0002,007,0002,383,872
4May 11, 2021 21:055,64834,740,54917,070,0001,004,0002,523,136
5May 11, 2021 21:055,65251,500,48916,078,0002,009,0002,387,968
6May 11, 2021 21:055,65445,682,97416,083,0002,010,0002,260,992
7May 11, 2021 21:055,66950,187,82116,127,0002,015,0002,400,256
8May 11, 2021 21:055,67046,739,54515,121,0003,024,0002,396,160
9May 11, 2021 21:055,67743,743,26116,147,0002,018,0002,387,968
10May 11, 2021 21:055,68037,792,21916,156,0002,019,0002,523,136
11May 11, 2021 21:055,68044,925,51817,167,0001,009,0002,400,256
12May 11, 2021 21:055,68243,434,56016,161,0002,020,0002,269,184
13May 11, 2021 21:055,68243,429,70117,173,0001,010,0002,523,136
14May 11, 2021 21:055,68641,121,61915,162,0003,032,0002,392,064
15May 11, 2021 21:055,69547,974,49816,199,0002,024,0002,523,136
16May 11, 2021 21:055,69641,649,81816,201,0002,025,0002,523,136
17May 11, 2021 21:055,70246,314,40215,205,0003,041,0002,506,752
18May 11, 2021 21:055,71231,810,79217,262,0001,015,0002,510,848
19May 11, 2021 21:055,87193,912,36118,787,09002,277,376
20May 11, 2021 21:055,87283,500,74218,789,30702,289,664
21May 11, 2021 21:055,87678,713,14818,801,60502,285,568
22May 11, 2021 21:055,88989,592,73518,844,94602,269,184
23May 11, 2021 21:055,89863,834,53218,874,23002,289,664
24May 11, 2021 21:055,91073,538,09718,910,79102,281,472