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 13, 2021 10:58Dmitry DolgopolovDmitry DolgopolovScore: 4,974Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2021 10:584,95934,151,62613,887,0001,983,0002,445,312
2Jun 13, 2021 10:584,96231,967,42914,885,000992,0002,453,504
3Jun 13, 2021 10:584,96433,785,83213,899,0001,985,0002,269,184
4Jun 13, 2021 10:584,96442,133,26313,900,0001,985,0002,445,312
5Jun 13, 2021 10:584,96836,868,26813,911,0001,987,0002,269,184
6Jun 13, 2021 10:584,96938,909,25313,914,0001,987,0002,269,184
7Jun 13, 2021 10:584,97437,632,04013,929,0001,989,0002,445,312
8Jun 13, 2021 10:584,98938,892,69213,969,0001,995,0002,531,328
9Jun 13, 2021 10:584,99032,765,81913,973,0001,996,0002,527,232
10Jun 13, 2021 10:585,18864,118,98016,602,63402,199,552
11Jun 13, 2021 10:585,20477,510,54916,653,40002,207,744
12Jun 13, 2021 10:585,22791,138,22916,726,05602,199,552