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 listFeb 25, 2023 22:35Andranik ChakiryanAndranik ChakiryanScore: 5,628Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 25, 2023 22:355,58746,576,33416,884,000993,0002,351,104
2Feb 25, 2023 22:355,60846,149,01115,952,0001,994,0002,351,104
3Feb 25, 2023 22:355,61446,643,16916,967,000998,0002,342,912
4Feb 25, 2023 22:355,61837,565,18516,981,000998,0002,342,912
5Feb 25, 2023 22:355,62437,015,45516,998,000999,0002,338,816
6Feb 25, 2023 22:355,62741,634,79815,006,0003,001,0002,355,200
7Feb 25, 2023 22:355,62836,265,99916,008,0002,001,0002,342,912
8Feb 25, 2023 22:355,65033,898,06417,077,0001,004,0002,359,296
9Feb 25, 2023 22:355,65343,062,94116,079,0002,009,0002,355,200
10Feb 25, 2023 22:355,68187,566,12818,178,33002,187,264
11Feb 25, 2023 22:355,68581,002,45718,191,84802,191,360
12Feb 25, 2023 22:355,79898,966,75218,552,52902,306,048