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 11:07джулисджулисScore: 5,708Success
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 11:065,65736,084,47418,103,00002,367,488
2Jun 8, 2024 11:065,66242,815,74517,113,0001,006,0002,371,584
3Jun 8, 2024 11:075,67341,590,37416,137,0002,017,0002,363,392
4Jun 8, 2024 11:065,67446,432,23816,140,0002,017,0002,367,488
5Jun 8, 2024 11:065,68134,907,60716,160,0002,020,0002,359,296
6Jun 8, 2024 11:075,68643,194,35417,185,0001,010,0002,379,776
7Jun 8, 2024 11:075,68941,216,95017,195,0001,011,0002,375,680
8Jun 8, 2024 11:075,69139,997,16816,188,0002,023,0002,293,760
9Jun 8, 2024 11:065,69743,846,77517,218,0001,012,0002,387,968
10Jun 8, 2024 11:065,69842,698,55716,207,0002,025,0002,379,776
11Jun 8, 2024 11:065,70140,455,49316,217,0002,027,0002,375,680
12Jun 8, 2024 11:075,70344,814,72617,237,0001,013,0002,285,568
13Jun 8, 2024 11:075,70842,962,74117,251,0001,014,0002,293,760
14Jun 8, 2024 11:075,71141,049,91317,260,0001,015,0002,293,760
15Jun 8, 2024 11:075,71335,509,44516,250,0002,031,0002,371,584
16Jun 8, 2024 11:065,71344,358,21517,267,0001,015,0002,379,776
17Jun 8, 2024 11:075,73236,307,16217,324,0001,019,0002,293,760
18Jun 8, 2024 11:065,73436,424,75517,330,0001,019,0002,293,760
19Jun 8, 2024 11:075,91074,773,31618,911,40402,232,320
20Jun 8, 2024 11:075,92477,786,06418,958,31402,375,680
21Jun 8, 2024 11:065,92594,443,29518,960,88802,244,608
22Jun 8, 2024 11:065,92994,897,67618,974,11202,248,704
23Jun 8, 2024 11:075,95692,049,87819,060,36102,240,512
24Jun 8, 2024 11:065,95799,023,88519,061,01202,379,776