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 listJun 22, 2025 10:08T PrathamT PrathamScore: 4,693Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 22, 2025 10:084,66129,890,56913,921,000994,0002,269,184
2Jun 22, 2025 10:084,67240,480,70712,956,0001,993,0002,273,280
3Jun 22, 2025 10:084,67636,278,66812,968,0001,995,0002,289,664
4Jun 22, 2025 10:084,67848,022,63212,974,0001,996,0002,277,376
5Jun 22, 2025 10:084,69334,725,00614,017,0001,001,0002,289,664
6Jun 22, 2025 10:084,71233,874,98414,074,0001,005,0002,281,472
7Jun 22, 2025 10:084,72031,558,21513,091,0002,014,0002,527,232
8Jun 22, 2025 10:084,72631,591,51113,106,0002,016,0002,289,664
9Jun 22, 2025 10:084,74548,686,39613,159,0002,024,0002,351,104