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:51Karthik ReddyKarthik ReddyScore: 3,922Success
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:523,9106,021,377,63312,515,000020,480
2Oct 8, 2026 20:523,9166,021,848,45312,533,000020,480
3Oct 8, 2026 20:523,9206,021,519,64612,545,000020,480
4Oct 8, 2026 20:523,9226,021,362,32212,551,000020,480
5Oct 8, 2026 20:523,9226,021,602,98812,553,000020,480
6Oct 8, 2026 20:523,9296,021,415,73612,573,000020,480
7Oct 8, 2026 20:523,9366,021,520,43012,596,000020,480
8Oct 8, 2026 20:523,9366,021,455,09512,598,000020,480
9Oct 8, 2026 20:523,9726,021,603,71012,713,000020,480