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 listJul 23, 2021 20:41Adam FolwarcznyAdam FolwarcznyScore: 5,524Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 23, 2021 20:375,47844,332,59717,530,00002,265,088
2Jul 23, 2021 20:415,48941,794,33416,531,0001,033,0002,265,088
3Jul 23, 2021 20:415,49032,182,58816,535,0001,033,0002,265,088
4Jul 23, 2021 20:415,49840,446,36217,594,00002,527,232
5Jul 23, 2021 20:375,50137,885,78216,567,0001,035,0002,265,088
6Jul 23, 2021 20:375,50945,225,22416,593,0001,037,0002,387,968
7Jul 23, 2021 20:415,51147,414,44617,634,00002,265,088
8Jul 23, 2021 20:375,51145,863,42016,597,0001,037,0002,527,232
9Jul 23, 2021 20:375,51543,259,44217,649,00002,265,088
10Jul 23, 2021 20:415,51734,252,99216,615,0001,038,0002,260,992
11Jul 23, 2021 20:375,52042,736,58517,665,00002,379,776
12Jul 23, 2021 20:375,52242,056,04716,632,0001,039,0002,265,088
13Jul 23, 2021 20:375,52450,417,89817,676,00002,379,776
14Jul 23, 2021 20:415,52748,829,10616,647,0001,040,0002,265,088
15Jul 23, 2021 20:375,53051,078,07116,655,0001,040,0002,392,064
16Jul 23, 2021 20:415,53344,113,82917,706,00002,265,088
17Jul 23, 2021 20:415,54142,829,02417,730,00002,265,088
18Jul 23, 2021 20:415,58043,026,99315,872,0001,984,0002,465,792
19Jul 23, 2021 20:375,76379,932,19818,440,96402,281,472
20Jul 23, 2021 20:415,91455,597,38818,923,33802,269,184
21Jul 23, 2021 20:375,92380,114,94318,952,90502,281,472
22Jul 23, 2021 20:415,93183,897,26018,979,87102,277,376
23Jul 23, 2021 20:415,95880,452,22619,066,28102,285,568
24Jul 23, 2021 20:375,97187,548,61419,108,33202,277,376