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 20:28Karthik ReddyKarthik ReddyScore: 3,943Success
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 20:303,9256,021,507,41312,563,000020,480
2Oct 8, 2026 20:303,9386,023,103,08712,602,000020,480
3Oct 8, 2026 20:303,9396,021,446,39612,605,000020,480
4Oct 8, 2026 20:303,9396,021,610,39112,607,000020,480
5Oct 8, 2026 20:303,9436,021,584,99312,618,000020,480
6Oct 8, 2026 20:303,9526,021,637,58412,649,000020,480
7Oct 8, 2026 20:303,9556,021,671,37512,659,000020,480
8Oct 8, 2026 20:303,9586,021,573,87712,667,000020,480
9Oct 8, 2026 20:303,9656,021,727,28312,688,000020,480