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:25Karthik ReddyKarthik ReddyScore: 3,945Success
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:273,9306,021,555,71512,579,000020,480
2Oct 8, 2026 20:273,9436,021,720,68712,618,000020,480
3Oct 8, 2026 20:273,9436,021,684,98812,620,000020,480
4Oct 8, 2026 20:273,9446,021,674,45812,621,000020,480
5Oct 8, 2026 20:273,9456,021,611,36512,625,000020,480
6Oct 8, 2026 20:273,9556,021,551,28212,657,000020,480
7Oct 8, 2026 20:273,9606,021,565,21212,674,000020,480
8Oct 8, 2026 20:273,9696,021,769,69912,702,000020,480
9Oct 8, 2026 20:273,9856,021,682,74012,755,000020,480