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 listJul 13, 2023 00:35gchebanovgchebanovScore: 5,359Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 13, 2023 00:355,31644,947,32515,010,0002,001,0002,527,232
2Jul 13, 2023 00:355,32933,022,76115,048,0002,006,0002,265,088
3Jul 13, 2023 00:355,33340,347,48815,058,0002,007,0002,396,160
4Jul 13, 2023 00:355,33634,200,00915,066,0002,008,0002,265,088
5Jul 13, 2023 00:355,34440,545,60915,090,0002,012,0002,469,888
6Jul 13, 2023 00:355,34744,837,67016,105,0001,006,0002,387,968
7Jul 13, 2023 00:355,35940,571,85015,131,0002,017,0002,392,064
8Jul 13, 2023 00:355,38738,686,22315,210,0002,028,0002,387,968
9Jul 13, 2023 00:355,39833,340,56316,257,0001,016,0002,265,088
10Jul 13, 2023 00:355,594101,631,27717,899,84902,281,472
11Jul 13, 2023 00:355,59495,936,09217,901,00402,289,664
12Jul 13, 2023 00:355,60476,148,84017,932,92402,265,088