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 5, 2021 01:12evgenikwtevgenikwtScore: 5,342Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 5, 2021 01:125,29848,606,80814,961,0001,994,0002,265,088
2Jun 5, 2021 01:125,30639,297,12214,981,0001,997,0002,392,064
3Jun 5, 2021 01:125,30644,310,55714,982,0001,997,0002,396,160
4Jun 5, 2021 01:125,30845,919,08015,987,000999,0002,265,088
5Jun 5, 2021 01:125,32536,847,63216,037,0001,002,0002,265,088
6Jun 5, 2021 01:125,33043,272,62417,055,00002,527,232
7Jun 5, 2021 01:125,34248,450,98315,084,0002,011,0002,265,088
8Jun 5, 2021 01:125,34334,520,73716,094,0001,005,0002,265,088
9Jun 5, 2021 01:125,37036,208,47216,173,0001,010,0002,396,160
10Jun 5, 2021 01:125,52074,653,26217,665,06402,273,280
11Jun 5, 2021 01:125,52081,405,64017,665,11502,273,280
12Jun 5, 2021 01:125,53964,240,08517,725,47702,277,376