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 13, 2024 15:56джулисджулисScore: 5,582Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2024 15:565,50446,960,57116,576,0001,036,0002,375,680
2Jun 13, 2024 15:565,51046,109,59117,631,00002,367,488
3Jun 13, 2024 15:575,51044,527,01717,631,00002,367,488
4Jun 13, 2024 15:575,51246,523,56016,600,0001,037,0002,293,760
5Jun 13, 2024 15:575,51542,275,06717,648,00002,375,680
6Jun 13, 2024 15:565,51635,330,42517,652,00002,367,488
7Jun 13, 2024 15:575,51849,042,38516,618,0001,038,0002,293,760
8Jun 13, 2024 15:575,52645,917,01517,684,00002,371,584
9Jun 13, 2024 15:565,53448,432,90517,708,00002,293,760
10Jun 13, 2024 15:575,53645,042,06916,673,0001,042,0002,293,760
11Jun 13, 2024 15:565,53843,744,90716,681,0001,042,0002,371,584
12Jun 13, 2024 15:565,53846,927,31016,681,0001,042,0002,293,760
13Jun 13, 2024 15:575,58246,234,52115,877,0001,984,0002,367,488
14Jun 13, 2024 15:565,58247,755,75615,879,0001,984,0002,371,584
15Jun 13, 2024 15:565,58243,525,30315,879,0001,984,0002,289,664
16Jun 13, 2024 15:575,58333,600,68817,864,00002,375,680
17Jun 13, 2024 15:575,58444,526,40916,877,000992,0002,293,760
18Jun 13, 2024 15:565,58735,052,74017,877,00002,293,760
19Jun 13, 2024 15:575,76164,433,96018,433,69702,236,416
20Jun 13, 2024 15:575,76491,648,37918,444,91702,248,704
21Jun 13, 2024 15:565,77871,588,99618,490,05802,244,608
22Jun 13, 2024 15:565,79357,110,97418,538,37902,244,608
23Jun 13, 2024 15:565,798106,756,54418,554,56102,240,512
24Jun 13, 2024 15:575,81482,779,39018,604,34502,232,320