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 29, 2021 23:04Andrey TsvetkovAndrey TsvetkovScore: 5,703Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 29, 2021 23:015,64844,103,19015,063,0003,012,0002,531,328
2Jun 29, 2021 23:025,65447,103,80015,079,0003,015,0002,330,624
3Jun 29, 2021 23:025,65748,895,73816,091,0002,011,0002,523,136
4Jun 29, 2021 23:015,65849,068,92216,093,0002,011,0002,514,944
5Jun 29, 2021 23:045,65846,452,36416,093,0002,011,0002,334,720
6Jun 29, 2021 23:015,66346,902,34216,109,0002,013,0002,326,528
7Jun 29, 2021 23:015,66544,181,55715,107,0003,021,0002,531,328
8Jun 29, 2021 23:045,66542,222,22515,106,0003,021,0002,519,040
9Jun 29, 2021 23:015,66643,141,13315,109,0003,021,0002,334,720
10Jun 29, 2021 23:025,66843,244,01016,121,0002,015,0002,531,328
11Jun 29, 2021 23:045,67437,277,18415,131,0003,026,0002,531,328
12Jun 29, 2021 23:015,68049,807,69616,156,0002,019,0002,531,328
13Jun 29, 2021 23:025,68335,674,86315,154,0003,030,0002,330,624
14Jun 29, 2021 23:045,68350,314,21116,165,0002,020,0002,531,328
15Jun 29, 2021 23:025,68444,188,91215,158,0003,031,0002,334,720
16Jun 29, 2021 23:045,69242,360,55015,179,0003,035,0002,338,816
17Jun 29, 2021 23:045,70238,770,77716,219,0002,027,0002,334,720
18Jun 29, 2021 23:045,70240,138,82617,233,0001,013,0002,531,328
19Jun 29, 2021 23:025,70349,278,14415,209,0003,041,0002,527,232
20Jun 29, 2021 23:025,70444,133,19216,224,0002,028,0002,527,232
21Jun 29, 2021 23:015,70442,269,05514,196,0004,056,0002,363,392
22Jun 29, 2021 23:025,70934,492,93716,239,0002,029,0002,334,720
23Jun 29, 2021 23:045,71337,599,73416,252,0002,031,0002,523,136
24Jun 29, 2021 23:045,71383,576,45818,282,45602,224,128
25Jun 29, 2021 23:015,71343,697,45215,234,0003,046,0002,531,328
26Jun 29, 2021 23:025,72334,576,91715,263,0003,052,0002,334,720
27Jun 29, 2021 23:025,72595,131,39018,318,40002,228,224
28Jun 29, 2021 23:045,73583,398,45918,352,76302,248,704
29Jun 29, 2021 23:045,73843,216,35215,302,0003,060,0002,310,144
30Jun 29, 2021 23:015,74936,545,78215,331,0003,066,0002,531,328
31Jun 29, 2021 23:015,76380,730,79118,442,75302,240,512
32Jun 29, 2021 23:015,76390,286,94018,440,07102,232,320
33Jun 29, 2021 23:025,77178,630,00618,465,82802,224,128
34Jun 29, 2021 23:015,77386,437,68318,472,45202,228,224
35Jun 29, 2021 23:025,83678,664,37318,674,06102,232,320
36Jun 29, 2021 23:045,87785,199,63818,807,27602,232,320