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 listDec 6, 2022 00:35apuxbtapuxbtScore: 5,433Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 6, 2022 00:355,40635,410,94316,282,0001,017,0002,392,064
2Dec 6, 2022 00:355,40744,508,53317,302,00002,400,256
3Dec 6, 2022 00:355,41148,682,86815,278,0002,037,0002,527,232
4Dec 6, 2022 00:355,41539,344,39317,329,00002,383,872
5Dec 6, 2022 00:355,42145,406,06817,346,00002,396,160
6Dec 6, 2022 00:355,42734,168,26016,345,0001,021,0002,383,872
7Dec 6, 2022 00:355,43338,838,38217,387,00002,265,088
8Dec 6, 2022 00:355,44140,462,58917,411,00002,265,088
9Dec 6, 2022 00:355,45533,524,20116,430,0001,026,0002,387,968
10Dec 6, 2022 00:355,74380,484,13818,379,19002,285,568
11Dec 6, 2022 00:355,76198,535,56118,434,24802,289,664
12Dec 6, 2022 00:355,76487,220,01818,443,56702,285,568