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 9, 2024 19:43джулисджулисScore: 5,393Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 19:435,35344,745,17515,116,0002,015,0002,375,680
2Jun 9, 2024 19:385,35936,260,10015,132,0002,017,0002,293,760
3Jun 9, 2024 19:435,36143,915,52415,136,0002,018,0002,293,760
4Jun 9, 2024 19:435,36636,964,41015,150,0002,020,0002,371,584
5Jun 9, 2024 19:385,36936,195,68415,160,0002,021,0002,293,760
6Jun 9, 2024 19:435,37234,147,18316,178,0001,011,0002,371,584
7Jun 9, 2024 19:385,37537,565,23016,188,0001,011,0002,293,760
8Jun 9, 2024 19:385,37740,111,23715,183,0002,024,0002,293,760
9Jun 9, 2024 19:385,37838,185,38716,196,0001,012,0002,293,760
10Jun 9, 2024 19:435,38239,886,93216,208,0001,013,0002,371,584
11Jun 9, 2024 19:385,38833,175,68015,213,0002,028,0002,375,680
12Jun 9, 2024 19:435,38836,777,62815,214,0002,028,0002,379,776
13Jun 9, 2024 19:385,39341,372,19116,241,0001,015,0002,293,760
14Jun 9, 2024 19:435,39645,940,68815,236,0002,031,0002,293,760
15Jun 9, 2024 19:435,39637,625,03815,237,0002,031,0002,293,760
16Jun 9, 2024 19:385,40441,336,36415,258,0002,034,0002,379,776
17Jun 9, 2024 19:435,40939,212,18016,291,0001,018,0002,371,584
18Jun 9, 2024 19:385,42143,755,78415,306,0002,040,0002,375,680
19Jun 9, 2024 19:435,61669,885,23817,970,35402,248,704
20Jun 9, 2024 19:385,63272,695,41318,023,58402,379,776
21Jun 9, 2024 19:385,63277,293,42118,023,29402,244,608
22Jun 9, 2024 19:385,65585,872,56018,097,55202,248,704
23Jun 9, 2024 19:435,65771,151,52218,101,33302,240,512
24Jun 9, 2024 19:435,66685,790,97018,130,77502,260,992