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:25Andrey TsvetkovAndrey TsvetkovScore: 5,732Success
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:255,70541,317,24415,213,0003,042,0002,351,104
2Jun 20, 2021 19:255,70733,874,86615,219,0003,043,0002,334,720
3Jun 20, 2021 19:255,70847,972,87616,237,0002,029,0002,334,720
4Jun 20, 2021 19:255,71845,098,46615,249,0003,049,0002,527,232
5Jun 20, 2021 19:255,72035,267,47216,270,0002,033,0002,531,328
6Jun 20, 2021 19:255,72141,297,58916,273,0002,034,0002,523,136
7Jun 20, 2021 19:255,73238,349,53215,285,0003,057,0002,334,720
8Jun 20, 2021 19:255,73838,685,36516,322,0002,040,0002,334,720
9Jun 20, 2021 19:255,76240,473,43415,366,0003,073,0002,519,040
10Jun 20, 2021 19:255,80480,421,40418,572,22702,228,224
11Jun 20, 2021 19:255,84290,886,86518,694,51602,240,512
12Jun 20, 2021 19:255,901110,124,89818,883,40702,228,224