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 4, 2021 20:59Ilya AniskovetsIlya AniskovetsScore: 5,962Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 4, 2021 20:595,92942,630,83116,977,0001,997,0002,269,184
2Sep 4, 2021 20:595,94845,891,32517,032,0002,003,0002,293,760
3Sep 4, 2021 20:595,94941,994,08917,034,0002,004,0002,293,760
4Sep 4, 2021 20:595,95041,567,36218,039,0001,002,0002,293,760
5Sep 4, 2021 20:595,95346,483,80118,046,0001,002,0002,293,760
6Sep 4, 2021 20:595,95434,655,13817,049,0002,005,0002,293,760
7Sep 4, 2021 20:595,96241,482,93617,070,0002,008,0002,531,328
8Sep 4, 2021 20:595,97442,619,48617,105,0002,012,0002,293,760
9Sep 4, 2021 20:595,99144,079,95618,162,0001,009,0002,293,760
10Sep 4, 2021 20:596,13490,768,95919,627,61102,301,952
11Sep 4, 2021 20:596,14283,660,36819,652,81302,306,048
12Sep 4, 2021 20:596,17387,623,57919,754,03002,297,856