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 listNov 1, 2021 11:19Ilya AniskovetsIlya AniskovetsScore: 5,630Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 1, 2021 11:195,58433,814,27215,885,0001,985,0002,289,664
2Nov 1, 2021 11:195,59134,220,84815,904,0001,988,0002,273,280
3Nov 1, 2021 11:195,59445,640,50315,912,0001,989,0002,289,664
4Nov 1, 2021 11:195,61540,595,03815,971,0001,996,0002,281,472
5Nov 1, 2021 11:195,61840,988,19015,982,0001,997,0002,379,776
6Nov 1, 2021 11:195,62740,450,88816,006,0002,000,0002,289,664
7Nov 1, 2021 11:195,63041,607,75216,015,0002,001,0002,277,376
8Nov 1, 2021 11:195,63940,358,04916,041,0002,005,0002,289,664
9Nov 1, 2021 11:195,65242,305,43716,076,0002,009,0002,289,664
10Nov 1, 2021 11:195,73080,475,48818,334,44902,179,072
11Nov 1, 2021 11:195,75590,208,06218,417,51802,297,856
12Nov 1, 2021 11:195,76388,472,12818,441,49302,306,048