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 listMay 17, 2021 23:42Yuriy LyfenkoYuriy LyfenkoScore: 5,446Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 23:425,402696,658,33816,270,0001,016,0002,519,040
2May 17, 2021 23:425,413547,989,85414,436,0002,887,0002,387,968
3May 17, 2021 23:425,4211,775,171,05316,327,0001,020,0002,523,136
4May 17, 2021 23:425,4382,094,624,91716,378,0001,023,0002,265,088
5May 17, 2021 23:425,4411,843,513,95815,478,0001,934,0002,523,136
6May 17, 2021 23:425,442748,347,65114,513,0002,902,0002,523,136
7May 17, 2021 23:425,4463,462,832,59215,492,0001,936,0002,269,184
8May 17, 2021 23:425,4542,899,445,45615,401,0002,053,0002,523,136
9May 17, 2021 23:425,4971,697,041,85615,635,0001,954,0002,383,872
10May 17, 2021 23:425,5941,632,595,48117,902,24402,285,568
11May 17, 2021 23:425,6042,232,521,93617,932,61802,281,472
12May 17, 2021 23:425,6312,123,426,91718,019,75602,281,472