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 listMar 16, 2025 18:17wainCGPwainCGPScore: 5,492Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 16, 2025 18:175,46330,420,04716,455,0001,028,0002,277,376
2Mar 16, 2025 18:175,47038,947,29216,474,0001,029,0002,289,664
3Mar 16, 2025 18:175,47335,184,88916,484,0001,030,0002,277,376
4Mar 16, 2025 18:175,48438,013,52316,517,0001,032,0002,289,664
5Mar 16, 2025 18:175,49238,102,21416,540,0001,033,0002,523,136
6Mar 16, 2025 18:175,49844,567,79516,560,0001,035,0002,289,664
7Mar 16, 2025 18:175,52747,662,29317,687,00002,289,664
8Mar 16, 2025 18:175,53745,127,67017,717,00002,273,280
9Mar 16, 2025 18:175,54043,560,20416,686,0001,042,0002,273,280