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 listDec 31, 2022 17:05Hal FHal FScore: 5,486Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 30, 2022 23:105,45633,593,20016,432,0001,027,0002,273,280
2Dec 31, 2022 17:055,45739,093,25416,436,0001,027,0002,289,664
3Dec 31, 2022 17:055,45839,545,78416,440,0001,027,0002,289,664
4Dec 30, 2022 23:105,46135,360,41316,447,0001,027,0002,289,664
5Dec 31, 2022 17:055,46334,722,51716,453,0001,028,0002,289,664
6Dec 30, 2022 23:105,46640,550,57316,462,0001,028,0002,273,280
7Dec 30, 2022 23:105,46940,285,42416,473,0001,029,0002,273,280
8Dec 31, 2022 17:055,47340,548,74216,484,0001,030,0002,523,136
9Dec 30, 2022 23:105,47334,952,41816,483,0001,030,0002,523,136
10Dec 31, 2022 17:055,48337,698,52716,515,0001,032,0002,289,664
11Dec 30, 2022 23:105,48343,943,10816,512,0001,032,0002,531,328
12Dec 30, 2022 23:105,48439,797,82617,548,00002,289,664
13Dec 31, 2022 17:055,48640,764,81816,522,0001,032,0002,519,040
14Dec 31, 2022 17:055,49535,343,76616,549,0001,034,0002,289,664
15Dec 30, 2022 23:105,50945,112,14316,592,0001,037,0002,289,664
16Dec 31, 2022 17:055,51043,344,40616,594,0001,037,0002,273,280
17Dec 31, 2022 17:055,51343,600,18116,604,0001,037,0002,265,088
18Dec 31, 2022 17:055,67580,027,82218,159,41602,293,760
19Dec 30, 2022 23:105,68439,522,52217,178,0001,010,0002,359,296
20Dec 31, 2022 17:055,68797,332,67118,199,39202,297,856
21Dec 30, 2022 23:105,69684,296,35018,226,45502,297,856
22Dec 31, 2022 17:055,72088,872,27918,303,72802,306,048
23Dec 30, 2022 23:105,72364,878,37818,313,09302,285,568
24Dec 30, 2022 23:105,73471,411,84818,349,70602,289,664