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 22, 2021 18:35Andrey TsvetkovAndrey TsvetkovScore: 5,726Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 22, 2021 18:355,68941,644,49816,183,0002,022,0002,334,720
2May 22, 2021 18:355,69335,402,62316,194,0002,024,0002,527,232
3May 22, 2021 18:355,69544,174,63616,199,0002,024,0002,334,720
4May 22, 2021 18:355,69639,858,23115,189,0003,037,0002,527,232
5May 22, 2021 18:355,69638,015,57015,189,0003,037,0002,531,328
6May 22, 2021 18:355,69933,209,41917,223,0001,013,0002,334,720
7May 22, 2021 18:355,69940,779,11415,197,0003,039,0002,531,328
8May 22, 2021 18:355,69938,952,66116,212,0002,026,0002,338,816
9May 22, 2021 18:355,70840,732,71016,235,0002,029,0002,531,328
10May 22, 2021 18:355,71443,128,05315,239,0003,047,0002,519,040
11May 22, 2021 18:355,71840,508,75315,247,0003,049,0002,334,720
12May 22, 2021 18:355,72244,368,23216,277,0002,034,0002,334,720
13May 22, 2021 18:355,72438,395,03115,264,0003,052,0002,527,232
14May 22, 2021 18:355,72543,699,62415,266,0003,053,0002,334,720
15May 22, 2021 18:355,72567,867,48018,318,76202,232,320
16May 22, 2021 18:355,72640,103,94916,287,0002,035,0002,334,720
17May 22, 2021 18:355,73186,437,00518,338,89102,232,320
18May 22, 2021 18:355,74387,064,15318,378,78502,232,320
19May 22, 2021 18:355,743100,995,09418,377,89702,236,416
20May 22, 2021 18:355,74835,123,68416,350,0002,043,0002,334,720
21May 22, 2021 18:355,75263,046,28118,405,40002,228,224
22May 22, 2021 18:355,75255,937,34518,405,00502,236,416
23May 22, 2021 18:355,75377,288,33718,411,09902,232,320
24May 22, 2021 18:355,76141,699,17416,387,0002,048,0002,531,328
25May 22, 2021 18:355,76139,733,78516,388,0002,048,0002,326,528
26May 22, 2021 18:355,76388,184,80118,440,43202,224,128
27May 22, 2021 18:355,77975,358,80318,493,79402,228,224
28May 22, 2021 18:355,78286,006,54118,501,86902,228,224
29May 22, 2021 18:355,80195,999,34818,562,53602,228,224
30May 22, 2021 18:355,87177,703,05718,787,78402,232,320