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 listMay 20, 2021 05:29Sergey StreminSergey StreminScore: 5,469Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 20, 2021 05:295,41539,836,38415,289,0002,038,0002,367,488
2May 20, 2021 05:335,43543,980,46615,347,0002,046,0002,367,488
3May 20, 2021 05:295,43645,239,49017,395,00002,277,376
4May 20, 2021 05:335,43938,389,24517,404,00002,371,584
5May 20, 2021 05:335,44140,034,65916,388,0001,024,0002,371,584
6May 20, 2021 05:335,44138,953,01116,387,0001,024,0002,367,488
7May 20, 2021 05:295,44345,500,22116,395,0001,024,0002,277,376
8May 20, 2021 05:335,44642,219,32015,378,0002,050,0002,281,472
9May 20, 2021 05:335,44646,176,29417,426,00002,379,776
10May 20, 2021 05:295,44736,279,68817,429,00002,371,584
11May 20, 2021 05:295,44939,313,03814,359,0003,077,0002,383,872
12May 20, 2021 05:335,45432,637,27817,452,00002,277,376
13May 20, 2021 05:295,45634,180,62316,432,0001,027,0002,277,376
14May 20, 2021 05:335,46043,402,27516,446,0001,027,0002,281,472
15May 20, 2021 05:335,46639,303,42016,463,0001,028,0002,371,584
16May 20, 2021 05:295,46934,191,45316,473,0001,029,0002,379,776
17May 20, 2021 05:295,48540,486,76416,521,0001,032,0002,461,696
18May 20, 2021 05:295,49445,104,09316,547,0001,034,0002,449,408
19May 20, 2021 05:335,70983,499,42118,267,79102,236,416
20May 20, 2021 05:335,70971,094,26618,269,53802,236,416
21May 20, 2021 05:335,71467,285,20918,285,93102,232,320
22May 20, 2021 05:295,72289,842,64018,309,81702,236,416
23May 20, 2021 05:295,72767,683,79518,326,80402,236,416
24May 20, 2021 05:295,72972,028,31318,333,11902,244,608
25May 20, 2021 05:295,73181,367,31218,339,25502,232,320
26May 20, 2021 05:335,74670,090,08918,386,33402,240,512
27May 20, 2021 05:295,74683,832,36718,388,71302,236,416
28May 20, 2021 05:335,76660,885,61618,452,31702,228,224
29May 20, 2021 05:335,77072,593,26718,464,68502,232,320
30May 20, 2021 05:295,77487,872,59118,476,03102,236,416