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 1, 2026 21:06Karthik ReddyKarthik ReddyScore: 4,214Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 1, 2026 21:064,03421,802,87012,911,000020,480
2Oct 1, 2026 21:064,04421,917,70512,943,000020,480
3Oct 1, 2026 21:064,17522,407,99013,360,000020,480
4Oct 1, 2026 21:064,19522,927,06513,424,000020,480
5Oct 1, 2026 21:064,21422,443,32813,485,000020,480
6Oct 1, 2026 21:064,21822,951,39713,499,000020,480
7Oct 1, 2026 21:064,22222,454,70413,512,000020,480
8Oct 1, 2026 21:064,23922,528,43913,567,000020,480
9Oct 1, 2026 21:064,28132,518,27913,701,000020,480