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 19:29Andrey TsvetkovAndrey TsvetkovScore: 5,743Success
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 19:295,69541,200,33315,186,0003,037,0002,527,232
2Jun 20, 2021 19:295,70144,905,59616,216,0002,027,0002,531,328
3Jun 20, 2021 19:295,70235,138,16315,205,0003,041,0002,531,328
4Jun 20, 2021 19:295,70734,548,48116,232,0002,029,0002,387,968
5Jun 20, 2021 19:295,70942,286,46115,224,0003,044,0002,527,232
6Jun 20, 2021 19:295,70939,170,97016,239,0002,029,0002,387,968
7Jun 20, 2021 19:295,71046,831,55515,226,0003,045,0002,523,136
8Jun 20, 2021 19:295,71633,178,18117,275,0001,016,0002,531,328
9Jun 20, 2021 19:295,71739,886,48917,278,0001,016,0002,326,528
10Jun 20, 2021 19:295,72136,431,00316,272,0002,034,0002,334,720
11Jun 20, 2021 19:295,73333,537,23816,309,0002,038,0002,334,720
12Jun 20, 2021 19:295,73639,552,94315,297,0003,059,0002,523,136
13Jun 20, 2021 19:295,74343,941,62515,316,0003,063,0002,531,328
14Jun 20, 2021 19:295,74741,380,24416,346,0002,043,0002,347,008
15Jun 20, 2021 19:295,76238,113,33616,391,0002,048,0002,531,328
16Jun 20, 2021 19:295,76242,414,88217,413,0001,024,0002,334,720
17Jun 20, 2021 19:295,76849,348,45815,383,0003,076,0002,334,720
18Jun 20, 2021 19:295,77082,429,46218,463,33302,232,320
19Jun 20, 2021 19:295,77243,772,87415,391,0003,078,0002,527,232
20Jun 20, 2021 19:295,77976,608,86918,493,32402,244,608
21Jun 20, 2021 19:295,78084,384,43218,494,99002,228,224
22Jun 20, 2021 19:295,79781,501,95518,551,23202,228,224
23Jun 20, 2021 19:295,87094,368,09518,784,91002,224,128
24Jun 20, 2021 19:295,89781,870,17818,871,97902,228,224