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 listJul 13, 2021 19:21Andrey 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
1Jul 13, 2021 19:215,70235,496,78115,205,0003,041,0002,334,720
2Jul 13, 2021 19:215,71640,849,50715,242,0003,048,0002,334,720
3Jul 13, 2021 19:215,72633,769,98715,269,0003,053,0002,334,720
4Jul 13, 2021 19:215,72644,178,41516,287,0002,035,0002,334,720
5Jul 13, 2021 19:215,72845,395,45716,294,0002,036,0002,523,136
6Jul 13, 2021 19:215,74386,083,70118,378,12602,232,320
7Jul 13, 2021 19:215,74340,925,30215,316,0003,063,0002,527,232
8Jul 13, 2021 19:215,74534,736,19215,320,0003,064,0002,523,136
9Jul 13, 2021 19:215,74839,569,35915,328,0003,065,0002,396,160
10Jul 13, 2021 19:215,75937,867,42815,359,0003,071,0002,334,720
11Jul 13, 2021 19:215,76388,853,77618,441,34702,224,128
12Jul 13, 2021 19:215,77758,995,33418,486,94602,240,512