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 14:32Ilya AniskovetsIlya AniskovetsScore: 5,386Success
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 14:325,34743,865,13515,098,0002,013,0002,392,064
2Nov 1, 2021 14:325,35848,708,26915,128,0002,017,0002,523,136
3Nov 1, 2021 14:325,36534,157,75716,158,0001,009,0002,523,136
4Nov 1, 2021 14:325,36637,579,68915,152,0002,020,0002,387,968
5Nov 1, 2021 14:325,36743,407,08416,163,0001,010,0002,527,232
6Nov 1, 2021 14:325,38139,142,33115,305,0001,913,0002,387,968
7Nov 1, 2021 14:325,38642,845,84615,208,0002,027,0002,256,896
8Nov 1, 2021 14:325,38734,391,19815,210,0002,028,0002,383,872
9Nov 1, 2021 14:325,39148,181,08816,238,0001,014,0002,269,184
10Nov 1, 2021 14:325,51797,442,12117,655,50102,277,376
11Nov 1, 2021 14:325,54767,814,73617,749,56902,281,472
12Nov 1, 2021 14:325,57782,097,31417,845,42402,285,568