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 22, 2024 13:05Huy Duc LeHuy Duc LeScore: 4,964Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 22, 2024 13:054,90736,152,97915,701,00002,273,280
2Feb 22, 2024 13:054,95732,136,42013,879,0001,982,0002,277,376
3Feb 22, 2024 13:054,95937,594,27013,886,0001,983,0002,281,472
4Feb 22, 2024 13:054,96141,004,78714,883,000992,0002,289,664
5Feb 22, 2024 13:054,96130,895,33513,892,0001,984,0002,281,472
6Feb 22, 2024 13:054,96231,814,30413,894,0001,984,0002,289,664
7Feb 22, 2024 13:054,96435,126,17514,894,000992,0002,289,664
8Feb 22, 2024 13:054,96642,744,90414,898,000993,0002,289,664
9Feb 22, 2024 13:054,96747,706,32814,902,000993,0002,289,664
10Feb 22, 2024 13:055,19395,187,14816,616,27102,174,976
11Feb 22, 2024 13:055,19982,335,37916,636,53802,301,952
12Feb 22, 2024 13:055,21765,219,86416,694,14802,301,952