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 listSep 9, 2021 15:16Andrey TsvetkovAndrey TsvetkovScore: 5,664Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 19, 2022 12:565,62144,546,61316,989,000999,0002,342,912
2Jan 19, 2022 12:565,62344,602,09316,993,000999,0002,342,912
3Jan 19, 2022 12:565,62345,453,13616,994,000999,0002,342,912
4Sep 9, 2021 15:165,62347,776,74015,994,0001,999,0002,342,912
5Sep 9, 2021 15:165,62445,764,04616,997,000999,0002,486,272
6Sep 9, 2021 15:165,62548,043,17516,000,0002,000,0002,486,272
7Jan 19, 2022 12:565,62643,489,73617,002,0001,000,0002,490,368
8Jan 19, 2022 12:565,64349,067,73017,055,0001,003,0002,338,816
9Sep 9, 2021 15:165,64346,619,02317,055,0001,003,0002,338,816
10Jan 19, 2022 12:565,64940,141,64817,073,0001,004,0002,347,008
11Sep 9, 2021 15:165,65337,017,55117,084,0001,004,0002,338,816
12Sep 9, 2021 15:165,66134,335,03417,110,0001,006,0002,338,816
13Sep 9, 2021 15:165,66443,565,15115,105,0003,021,0002,334,720
14Sep 9, 2021 15:165,66643,480,70416,118,0002,014,0002,338,816
15Sep 9, 2021 15:165,67436,224,63816,139,0002,017,0002,338,816
16Jan 19, 2022 12:565,67942,664,91517,165,0001,009,0002,338,816
17Jan 19, 2022 12:565,69041,048,77715,173,0003,034,0002,297,856
18Sep 9, 2021 15:165,69292,916,22318,213,43302,301,952
19Jan 19, 2022 12:565,69846,710,03417,220,0001,012,0002,334,720
20Jan 19, 2022 12:565,74983,033,79218,397,55402,301,952
21Jan 19, 2022 12:565,77685,108,50718,483,11802,297,856
22Sep 9, 2021 15:165,80984,450,26218,588,53702,301,952
23Jan 19, 2022 12:565,823107,302,35618,632,76002,301,952
24Sep 9, 2021 15:165,82484,474,83118,637,53802,293,760