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 8, 2024 18:31AndreyTSAndreyTSScore: 5,514Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 18:235,46334,640,21816,455,0001,028,0002,289,664
2Jun 8, 2024 18:235,46940,553,33117,501,00002,289,664
3Jun 8, 2024 18:315,47240,865,31716,481,0001,030,0002,523,136
4Jun 8, 2024 18:315,47538,701,34916,491,0001,030,0002,273,280
5Jun 8, 2024 18:235,48534,163,93016,520,0001,032,0002,289,664
6Jun 8, 2024 18:235,48641,059,94816,523,0001,032,0002,289,664
7Jun 8, 2024 18:315,49139,310,52517,571,00002,289,664
8Jun 8, 2024 18:315,49336,112,76916,544,0001,034,0002,265,088
9Jun 8, 2024 18:235,49332,365,21516,545,0001,034,0002,289,664
10Jun 8, 2024 18:235,49634,265,98517,587,00002,289,664
11Jun 8, 2024 18:315,49745,676,28417,589,00002,289,664
12Jun 8, 2024 18:315,50745,979,09016,586,0001,036,0002,269,184
13Jun 8, 2024 18:315,51443,368,72016,608,0001,038,0002,289,664
14Jun 8, 2024 18:315,51645,744,69417,650,00002,289,664
15Jun 8, 2024 18:235,52752,597,13616,646,0001,040,0002,527,232
16Jun 8, 2024 18:315,53054,786,14616,656,0001,041,0002,269,184
17Jun 8, 2024 18:235,53941,753,94616,683,0001,042,0002,289,664
18Jun 8, 2024 18:235,58547,334,49016,879,000992,0002,289,664
19Jun 8, 2024 18:235,76396,528,33018,440,65002,174,976
20Jun 8, 2024 18:315,76478,752,19618,445,33202,174,976
21Jun 8, 2024 18:235,76776,339,90118,455,16402,301,952
22Jun 8, 2024 18:315,76887,431,33218,456,52302,306,048
23Jun 8, 2024 18:315,797101,770,09218,550,25402,306,048
24Jun 8, 2024 18:235,80177,312,94518,562,17802,297,856