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 6, 2021 01:34evgenikwtevgenikwtScore: 5,277Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 6, 2021 01:345,22838,941,50815,685,0001,045,0002,265,088
2Jun 6, 2021 01:345,22834,980,97915,684,0001,045,0002,383,872
3Jun 6, 2021 01:345,26840,383,97414,876,0001,983,0002,265,088
4Jun 6, 2021 01:345,26946,326,93016,862,00002,265,088
5Jun 6, 2021 01:345,27146,225,91516,868,00002,527,232
6Jun 6, 2021 01:345,27145,977,38215,875,000992,0002,265,088
7Jun 6, 2021 01:345,27133,281,69915,875,000992,0002,260,992
8Jun 6, 2021 01:345,27135,355,72814,883,0001,984,0002,396,160
9Jun 6, 2021 01:345,27242,013,93415,877,000992,0002,510,848
10Jun 6, 2021 01:345,27243,751,94916,870,00002,265,088
11Jun 6, 2021 01:345,27438,068,16715,885,000992,0002,265,088
12Jun 6, 2021 01:345,27633,946,04216,884,00002,269,184
13Jun 6, 2021 01:345,27741,420,15515,832,0001,055,0002,265,088
14Jun 6, 2021 01:345,27841,492,01715,897,000993,0002,265,088
15Jun 6, 2021 01:345,27932,346,64514,905,0001,987,0002,265,088
16Jun 6, 2021 01:345,29333,075,27014,945,0001,992,0002,265,088
17Jun 6, 2021 01:345,29834,364,48614,959,0001,994,0002,527,232
18Jun 6, 2021 01:345,29953,441,64314,962,0001,995,0002,387,968
19Jun 6, 2021 01:345,54283,338,83917,734,27802,281,472
20Jun 6, 2021 01:345,66473,027,94218,125,47702,289,664
21Jun 6, 2021 01:345,66683,632,36418,130,37002,273,280
22Jun 6, 2021 01:345,68272,239,89218,183,46302,281,472
23Jun 6, 2021 01:345,71374,690,13218,281,98202,277,376
24Jun 6, 2021 01:345,71482,246,71218,283,91402,240,512