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 20, 2021 18:56Andrey TsvetkovAndrey TsvetkovScore: 5,747Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 20, 2021 18:565,69938,919,87416,210,0002,026,0002,334,720
2Jun 20, 2021 18:565,70037,471,97815,201,0003,040,0002,334,720
3Jun 20, 2021 18:565,70241,065,56415,205,0003,041,0002,527,232
4Jun 20, 2021 18:585,70740,198,92115,218,0003,043,0002,531,328
5Jun 20, 2021 18:565,70837,072,03816,237,0002,029,0002,334,720
6Jun 20, 2021 18:565,70939,365,20115,225,0003,045,0002,527,232
7Jun 20, 2021 18:585,71943,099,33515,250,0003,050,0002,334,720
8Jun 20, 2021 18:565,71941,936,15216,269,0002,033,0002,392,064
9Jun 20, 2021 18:565,72041,871,54815,253,0003,050,0002,334,720
10Jun 20, 2021 18:565,72347,514,90916,279,0002,034,0002,531,328
11Jun 20, 2021 18:585,72446,210,83816,282,0002,035,0002,519,040
12Jun 20, 2021 18:585,72740,990,15016,291,0002,036,0002,527,232
13Jun 20, 2021 18:585,72838,076,35115,274,0003,054,0002,392,064
14Jun 20, 2021 18:565,73436,653,82616,310,0002,038,0002,326,528
15Jun 20, 2021 18:565,73640,448,84916,316,0002,039,0002,527,232
16Jun 20, 2021 18:585,73841,196,07015,300,0003,060,0002,334,720
17Jun 20, 2021 18:565,73845,047,61116,320,0002,040,0002,334,720
18Jun 20, 2021 18:565,74443,418,45616,338,0002,042,0002,330,624
19Jun 20, 2021 18:585,74738,458,94217,370,0001,021,0002,523,136
20Jun 20, 2021 18:565,74946,214,73615,331,0003,066,0002,334,720
21Jun 20, 2021 18:585,75646,777,20416,374,0002,046,0002,334,720
22Jun 20, 2021 18:565,75738,589,61916,376,0002,047,0002,383,872
23Jun 20, 2021 18:585,75838,980,93718,425,00002,334,720
24Jun 20, 2021 18:565,75843,814,78315,356,0003,071,0002,531,328
25Jun 20, 2021 18:585,76277,244,82618,437,16302,236,416
26Jun 20, 2021 18:565,76552,256,01516,398,0002,049,0002,322,432
27Jun 20, 2021 18:565,77461,965,70818,475,92302,228,224
28Jun 20, 2021 18:585,78379,033,55618,505,48702,236,416
29Jun 20, 2021 18:565,78440,674,98718,509,00002,334,720
30Jun 20, 2021 18:565,78632,388,86117,486,0001,028,0002,527,232
31Jun 20, 2021 18:565,81081,613,91118,590,41702,244,608
32Jun 20, 2021 18:565,81478,519,74818,604,85902,232,320
33Jun 20, 2021 18:565,82779,256,52518,647,32802,232,320
34Jun 20, 2021 18:565,89487,806,27418,859,92502,236,416
35Jun 20, 2021 18:585,90193,707,10618,884,09902,224,128
36Jun 20, 2021 18:565,946105,923,16119,027,64402,248,704