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 19:07джулисджулисScore: 5,727Success
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 19:055,68247,737,46117,173,0001,010,0002,371,584
2Jun 8, 2024 19:055,68638,624,47516,175,0002,021,0002,293,760
3Jun 8, 2024 19:055,69540,393,38517,212,0001,012,0002,293,760
4Jun 8, 2024 19:075,69934,036,76316,212,0002,026,0002,375,680
5Jun 8, 2024 19:055,70346,221,50316,223,0002,027,0002,367,488
6Jun 8, 2024 19:075,70744,664,71416,234,0002,029,0002,375,680
7Jun 8, 2024 19:075,71047,659,87316,243,0002,030,0002,293,760
8Jun 8, 2024 19:055,71435,940,00316,253,0002,031,0002,293,760
9Jun 8, 2024 19:075,71938,681,38316,268,0002,033,0002,293,760
10Jun 8, 2024 19:075,72138,528,95716,273,0002,034,0002,478,080
11Jun 8, 2024 19:075,72538,259,66318,320,00002,293,760
12Jun 8, 2024 19:075,72642,436,31718,324,00002,293,760
13Jun 8, 2024 19:075,72744,444,25417,308,0001,018,0002,289,664
14Jun 8, 2024 19:055,74336,480,05117,356,0001,020,0002,375,680
15Jun 8, 2024 19:055,74338,624,37517,357,0001,021,0002,293,760
16Jun 8, 2024 19:055,74843,829,21017,372,0001,021,0002,293,760
17Jun 8, 2024 19:075,75251,856,33317,385,0001,022,0002,371,584
18Jun 8, 2024 19:055,75947,581,88717,405,0001,023,0002,293,760
19Jun 8, 2024 19:055,92186,102,98618,946,85102,240,512
20Jun 8, 2024 19:055,96190,041,30419,074,55802,236,416
21Jun 8, 2024 19:075,96387,158,84919,081,92602,244,608
22Jun 8, 2024 19:075,966101,351,59019,089,74102,232,320
23Jun 8, 2024 19:075,99891,189,71919,193,20902,265,088
24Jun 8, 2024 19:056,00684,840,56319,219,10902,240,512