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 28, 2021 07:05Yuriy LyfenkoYuriy LyfenkoScore: 5,296Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2021 07:055,26944,292,84316,860,00002,396,160
2May 28, 2021 07:055,27042,742,26915,872,000992,0002,527,232
3May 28, 2021 07:055,27443,521,99214,892,0001,985,0002,265,088
4May 28, 2021 07:055,27636,789,21714,896,0001,986,0002,265,088
5May 28, 2021 07:055,27941,882,65114,906,0001,987,0002,400,256
6May 28, 2021 07:055,27935,211,08014,906,0001,987,0002,392,064
7May 28, 2021 07:055,29641,966,24114,954,0001,993,0002,510,848
8May 28, 2021 07:055,30649,230,41914,981,0001,997,0002,265,088
9May 28, 2021 07:055,31134,443,51415,996,000999,0002,392,064
10May 28, 2021 07:055,44452,010,19317,421,27802,293,760
11May 28, 2021 07:055,48290,632,84317,542,90202,281,472
12May 28, 2021 07:055,51887,889,83017,657,65802,412,544