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 22:03Andrey TsvetkovAndrey TsvetkovScore: 5,626Success
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 22:035,58942,355,20915,898,0001,987,0002,293,760
2Sep 4, 2021 22:035,59347,831,56815,909,0001,988,0002,433,024
3Sep 4, 2021 22:035,59646,307,10215,917,0001,989,0002,342,912
4Sep 4, 2021 22:035,61545,401,27916,971,000998,0002,433,024
5Sep 4, 2021 22:035,62043,010,08914,986,0002,997,0002,420,736
6Sep 4, 2021 22:035,62140,914,85516,987,000999,0002,342,912
7Sep 4, 2021 22:035,62647,894,61717,004,0001,000,0002,293,760
8Sep 4, 2021 22:035,62748,082,99016,006,0002,000,0002,342,912
9Sep 4, 2021 22:035,63975,750,25518,046,22002,277,376
10Sep 4, 2021 22:035,64334,724,39316,051,0002,006,0002,342,912
11Sep 4, 2021 22:035,66157,053,20718,115,76802,265,088
12Sep 4, 2021 22:035,68388,738,14718,186,98002,273,280