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:13Andrey TsvetkovAndrey TsvetkovScore: 5,705Success
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:135,66542,920,04617,062,0001,066,0002,330,624
2Jun 20, 2021 19:125,67243,085,19616,015,0002,135,0002,334,720
3Jun 20, 2021 19:125,67547,170,25317,091,0001,068,0002,334,720
4Jun 20, 2021 19:125,67649,010,83517,095,0001,068,0002,519,040
5Jun 20, 2021 19:135,67641,539,04717,094,0001,068,0002,510,848
6Jun 20, 2021 19:125,67737,192,45214,960,0003,205,0002,519,040
7Jun 20, 2021 19:135,67835,682,73916,152,0002,019,0002,523,136
8Jun 20, 2021 19:135,68537,460,41817,122,0001,070,0002,334,720
9Jun 20, 2021 19:125,69335,274,76917,147,0001,071,0002,334,720
10Jun 20, 2021 19:125,69448,438,78317,151,0001,071,0002,510,848
11Jun 20, 2021 19:135,69539,163,05415,008,0003,216,0002,387,968
12Jun 20, 2021 19:125,70450,927,42416,106,0002,147,0002,519,040
13Jun 20, 2021 19:135,70546,460,98216,109,0002,147,0002,523,136
14Jun 20, 2021 19:135,71240,388,15416,248,0002,031,0002,334,720
15Jun 20, 2021 19:135,72042,556,86016,270,0002,033,0002,334,720
16Jun 20, 2021 19:125,72841,365,62017,251,0001,078,0002,334,720
17Jun 20, 2021 19:125,72942,194,80417,315,0001,018,0002,514,944
18Jun 20, 2021 19:135,73940,575,01916,326,0002,040,0002,527,232
19Jun 20, 2021 19:125,84877,022,06718,715,08302,232,320
20Jun 20, 2021 19:125,861104,144,01518,754,89302,228,224
21Jun 20, 2021 19:135,86687,453,19418,771,17602,224,128
22Jun 20, 2021 19:135,88486,070,00518,830,24402,228,224
23Jun 20, 2021 19:135,89060,629,26018,847,41202,220,032
24Jun 20, 2021 19:125,903102,706,78718,890,87202,228,224