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 listOct 8, 2026 21:31Karthik ReddyKarthik ReddyScore: 4,326Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 8, 2026 21:364,3036,024,118,23912,731,0001,041,00077,824
2Oct 8, 2026 21:364,3166,024,162,63512,785,0001,029,00053,248
3Oct 8, 2026 21:364,3216,024,325,54012,776,0001,054,00036,864
4Oct 8, 2026 21:364,3246,024,126,20712,795,0001,044,00077,824
5Oct 8, 2026 21:364,3266,024,307,10212,797,0001,049,00077,824
6Oct 8, 2026 21:364,3346,024,724,89312,825,0001,046,00077,824
7Oct 8, 2026 21:364,3356,024,296,76711,900,0001,974,00077,824
8Oct 8, 2026 21:364,3356,024,233,57912,836,0001,039,00077,824
9Oct 8, 2026 21:364,3436,025,746,69311,935,0001,963,00077,824