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 22:02evgenikwtevgenikwtScore: 5,311Success
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 22:025,27642,344,56414,897,0001,986,0002,510,848
2Jun 13, 2021 22:025,28642,956,28914,926,0001,990,0002,387,968
3Jun 13, 2021 22:025,29136,144,19214,940,0001,992,0002,387,968
4Jun 13, 2021 22:025,29443,195,65214,949,0001,993,0002,265,088
5Jun 13, 2021 22:025,30446,924,36615,974,000998,0002,265,088
6Jun 13, 2021 22:025,30546,105,59914,978,0001,997,0002,527,232
7Jun 13, 2021 22:025,31143,345,33314,995,0001,999,0002,392,064
8Jun 13, 2021 22:025,31246,908,35315,998,000999,0002,265,088
9Jun 13, 2021 22:025,32750,953,16915,042,0002,005,0002,265,088
10Jun 13, 2021 22:025,483101,964,00917,544,26102,273,280
11Jun 13, 2021 22:025,49396,280,76817,577,17602,281,472
12Jun 13, 2021 22:025,49763,202,80717,589,95302,281,472