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 24, 2023 21:41Andranik ChakiryanAndranik ChakiryanScore: 5,686Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 24, 2023 21:415,63146,155,98617,019,0001,001,0002,498,560
2Feb 24, 2023 21:415,64443,313,05817,058,0001,003,0002,498,560
3Feb 24, 2023 21:415,64836,846,07517,071,0001,004,0002,359,296
4Feb 24, 2023 21:415,66247,128,53217,113,0001,006,0002,334,720
5Feb 24, 2023 21:415,66637,482,08316,117,0002,014,0002,334,720
6Feb 24, 2023 21:415,67840,219,71115,143,0003,028,0002,494,464
7Feb 24, 2023 21:415,68635,440,26515,162,0003,032,0002,494,464
8Feb 24, 2023 21:415,69946,212,08015,198,0003,039,0002,494,464
9Feb 24, 2023 21:415,70231,856,17316,220,0002,027,0002,314,240
10Feb 24, 2023 21:415,71393,783,39218,281,03802,199,552
11Feb 24, 2023 21:415,72789,554,14318,326,63202,187,264
12Feb 24, 2023 21:415,80590,691,24318,576,50402,207,744