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 3, 2021 15:58Yuriy LyfenkoYuriy LyfenkoScore: 5,071Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 3, 2021 15:585,027538,940,93715,080,0001,005,0002,281,472
2Jun 3, 2021 15:585,046540,653,60914,129,0002,018,0002,273,280
3Jun 3, 2021 15:585,053537,766,06615,160,0001,010,0002,281,472
4Jun 3, 2021 15:585,057534,424,60914,159,0002,022,0002,281,472
5Jun 3, 2021 15:585,060539,336,41315,180,0001,012,0002,281,472
6Jun 3, 2021 15:585,069538,607,87615,207,0001,013,0002,412,544
7Jun 3, 2021 15:585,071542,713,39715,213,0001,014,0002,281,472
8Jun 3, 2021 15:585,086541,497,02216,275,00002,273,280
9Jun 3, 2021 15:585,091541,612,65915,273,0001,018,0002,273,280
10Jun 3, 2021 15:585,182571,761,14516,582,96902,285,568
11Jun 3, 2021 15:585,199584,601,98116,638,07802,277,376
12Jun 3, 2021 15:585,224581,347,67716,716,75502,256,896