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 22:37Andrey TsvetkovAndrey TsvetkovScore: 5,676Success
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 22:395,62543,402,34615,000,0003,000,0002,330,624
2Jun 29, 2021 22:375,63232,906,16816,020,0002,002,0002,531,328
3Jun 29, 2021 22:395,64341,038,36016,052,0002,006,0002,334,720
4Jun 29, 2021 22:375,64545,102,80115,053,0003,010,0002,330,624
5Jun 29, 2021 22:375,64544,811,59516,056,0002,007,0002,334,720
6Jun 29, 2021 22:395,65034,982,63415,067,0003,013,0002,334,720
7Jun 29, 2021 22:395,65345,729,97616,079,0002,009,0002,527,232
8Jun 29, 2021 22:395,65546,284,93216,086,0002,010,0002,334,720
9Jun 29, 2021 22:375,65939,526,86516,098,0002,012,0002,334,720
10Jun 29, 2021 22:375,66834,705,63415,114,0003,022,0002,334,720
11Jun 29, 2021 22:375,67249,494,44715,125,0003,025,0002,334,720
12Jun 29, 2021 22:375,67536,555,17516,142,0002,017,0002,334,720
13Jun 29, 2021 22:375,67640,475,13515,136,0003,027,0002,334,720
14Jun 29, 2021 22:395,68445,452,36215,157,0003,031,0002,334,720
15Jun 29, 2021 22:395,68440,356,77616,168,0002,021,0002,326,528
16Jun 29, 2021 22:375,68634,399,55816,173,0002,021,0002,334,720
17Jun 29, 2021 22:395,69338,925,35415,180,0003,036,0002,523,136
18Jun 29, 2021 22:395,69542,062,74816,199,0002,024,0002,527,232
19Jun 29, 2021 22:375,70267,648,81118,245,21102,232,320
20Jun 29, 2021 22:375,71090,166,18818,272,30302,244,608
21Jun 29, 2021 22:395,78070,672,35418,496,50702,228,224
22Jun 29, 2021 22:395,79490,731,24318,539,77402,236,416
23Jun 29, 2021 22:395,80787,986,40418,581,45202,232,320
24Jun 29, 2021 22:375,84083,713,97918,688,83802,228,224