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 listApr 4, 2024 18:11Christopher TarryChristopher TarryScore: 5,518Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 4, 2024 18:115,44643,615,06617,426,00002,265,088
2Apr 4, 2024 18:085,46543,395,92316,460,0001,028,0002,265,088
3Apr 4, 2024 18:085,46536,203,71116,459,0001,028,0002,392,064
4Apr 4, 2024 18:115,46837,505,78217,499,00002,392,064
5Apr 4, 2024 18:115,47140,175,40216,479,0001,029,0002,527,232
6Apr 4, 2024 18:085,48134,529,14717,539,00002,265,088
7Apr 4, 2024 18:115,48338,244,18316,515,0001,032,0002,392,064
8Apr 4, 2024 18:085,48336,901,97716,512,0001,032,0002,265,088
9Apr 4, 2024 18:085,49038,122,34916,534,0001,033,0002,265,088
10Apr 4, 2024 18:115,50043,834,47516,564,0001,035,0002,392,064
11Apr 4, 2024 18:085,50547,332,94316,580,0001,036,0002,527,232
12Apr 4, 2024 18:085,51335,158,67917,643,00002,265,088
13Apr 4, 2024 18:115,51846,562,80917,657,00002,265,088
14Apr 4, 2024 18:115,52444,611,86817,677,00002,523,136
15Apr 4, 2024 18:115,52744,661,19016,645,0001,040,0002,265,088
16Apr 4, 2024 18:115,53531,286,48216,670,0001,041,0002,379,776
17Apr 4, 2024 18:085,53547,559,22117,711,00002,383,872
18Apr 4, 2024 18:085,54342,855,15517,736,00002,265,088
19Apr 4, 2024 18:085,67371,106,15918,154,11902,285,568
20Apr 4, 2024 18:085,69477,808,78518,222,07602,240,512
21Apr 4, 2024 18:115,70977,471,93918,268,77502,285,568
22Apr 4, 2024 18:115,730101,500,04618,335,49902,289,664
23Apr 4, 2024 18:085,745107,490,27218,385,53002,289,664
24Apr 4, 2024 18:115,75581,306,93718,416,73302,285,568