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 03:26джулисджулисScore: 5,293Success
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 03:265,27143,655,57315,874,000992,0002,375,680
2Jun 13, 2024 03:265,27139,282,68615,876,000992,0002,293,760
3Jun 13, 2024 03:265,27243,061,73614,887,0001,984,0002,359,296
4Jun 13, 2024 03:265,27331,948,43714,890,0001,985,0002,367,488
5Jun 13, 2024 03:265,27442,085,82714,891,0001,985,0002,375,680
6Jun 13, 2024 03:265,27440,484,30815,884,000992,0002,371,584
7Jun 13, 2024 03:265,27742,945,21515,893,000993,0002,367,488
8Jun 13, 2024 03:265,27845,159,12014,902,0001,987,0002,293,760
9Jun 13, 2024 03:265,28045,443,05415,903,000993,0002,293,760
10Jun 13, 2024 03:265,28538,261,72215,917,000994,0002,293,760
11Jun 13, 2024 03:265,28635,003,33815,921,000995,0002,293,760
12Jun 13, 2024 03:265,29152,835,24214,940,0001,992,0002,367,488
13Jun 13, 2024 03:265,29343,213,61415,941,000996,0002,293,760
14Jun 13, 2024 03:265,30038,308,45815,963,000997,0002,293,760
15Jun 13, 2024 03:265,30334,579,57814,973,0001,996,0002,293,760
16Jun 13, 2024 03:265,30841,024,67814,988,0001,998,0002,371,584
17Jun 13, 2024 03:265,31833,016,32216,017,0001,001,0002,375,680
18Jun 13, 2024 03:265,33443,655,74415,060,0002,008,0002,293,760
19Jun 13, 2024 03:265,49679,305,13817,586,97302,260,992
20Jun 13, 2024 03:265,51089,083,30117,633,40802,379,776
21Jun 13, 2024 03:265,52681,121,06217,684,58902,244,608
22Jun 13, 2024 03:265,52885,801,74517,690,28702,248,704
23Jun 13, 2024 03:265,53190,894,26117,698,64802,383,872
24Jun 13, 2024 03:265,54277,047,44617,734,01002,252,800