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:14Huy Duc LeHuy Duc LeScore: 4,963Success
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:144,95242,395,27014,857,000990,0002,289,664
2Feb 22, 2024 13:144,95835,461,54114,873,000991,0002,277,376
3Feb 22, 2024 13:144,95933,835,29113,886,0001,983,0002,269,184
4Feb 22, 2024 13:144,96246,698,63713,893,0001,984,0002,289,664
5Feb 22, 2024 13:144,96239,008,68213,893,0001,984,0002,289,664
6Feb 22, 2024 13:144,96346,162,98313,896,0001,985,0002,273,280
7Feb 22, 2024 13:144,96349,273,58213,897,0001,985,0002,289,664
8Feb 22, 2024 13:144,96846,386,89213,909,0001,987,0002,289,664
9Feb 22, 2024 13:144,98333,564,93913,951,0001,993,0002,289,664
10Feb 22, 2024 13:145,13481,920,50316,428,44002,174,976
11Feb 22, 2024 13:145,14786,807,17816,469,43702,179,072
12Feb 22, 2024 13:145,17396,241,64916,552,26602,301,952