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,044Success
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Oct 5, 2026 17:57Andrew Epstein10.00CustomSolution Held
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 1, 2026 21:064,03521,862,61212,913,000020,480
2Oct 1, 2026 21:064,03821,909,64412,922,000020,480
3Oct 1, 2026 21:064,04021,873,15612,928,000020,480
4Oct 1, 2026 21:064,04421,938,01312,942,000020,480
5Oct 1, 2026 21:064,04421,889,00712,943,000020,480
6Oct 1, 2026 21:064,04621,947,57812,948,000020,480
7Oct 1, 2026 21:064,04921,915,24512,958,000020,480
8Oct 1, 2026 21:064,05221,935,40512,967,000020,480
9Oct 1, 2026 21:064,07721,989,63913,048,000020,480