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 7, 2021 23:45evgenikwtevgenikwtScore: 5,283Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 7, 2021 23:455,26346,297,07414,861,0001,981,0002,387,968
2Jun 7, 2021 23:455,26343,949,73714,862,0001,981,0002,383,872
3Jun 7, 2021 23:455,27247,705,99915,879,000992,0002,269,184
4Jun 7, 2021 23:455,27434,204,44615,885,000992,0002,383,872
5Jun 7, 2021 23:455,27543,127,08115,887,000992,0002,387,968
6Jun 7, 2021 23:455,27835,918,93715,895,000993,0002,265,088
7Jun 7, 2021 23:455,28345,469,24015,849,0001,056,0002,265,088
8Jun 7, 2021 23:455,28532,151,96116,911,00002,392,064
9Jun 7, 2021 23:455,29341,768,45315,940,000996,0002,265,088
10Jun 7, 2021 23:455,45882,456,86017,465,94902,277,376
11Jun 7, 2021 23:455,46782,877,40417,494,61102,289,664
12Jun 7, 2021 23:455,49366,524,40817,578,89202,273,280