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 listJan 29, 2025 06:33Ilya TocarIlya TocarScore: 27,568Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 29, 2025 06:3327,383113,231,06046,331,00041,295,0002,273,280
2Jan 29, 2025 06:3327,400118,042,21156,438,00031,242,0002,523,136
3Jan 29, 2025 06:3327,510111,095,70743,016,00045,017,0002,289,664
4Jan 29, 2025 06:3327,562112,533,77252,117,00036,081,0002,269,184
5Jan 29, 2025 06:3327,568112,576,08353,132,00035,087,0002,289,664
6Jan 29, 2025 06:3327,619111,152,32550,217,00038,165,0002,289,664
7Jan 29, 2025 06:3327,754120,792,78647,899,00040,914,0002,277,376
8Jan 29, 2025 06:3327,757115,622,63848,903,00039,920,0002,277,376
9Jan 29, 2025 06:3327,908112,380,25441,141,00048,166,0002,289,664