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 22:02Karthik ReddyKarthik ReddyScore: 4,033Success
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 22:034,02023,223,44612,864,000020,480
2Oct 1, 2026 22:034,03021,861,99912,899,000020,480
3Oct 1, 2026 22:034,03021,887,44312,899,000020,480
4Oct 1, 2026 22:034,03221,942,32812,905,000020,480
5Oct 1, 2026 22:034,03321,907,04412,906,000020,480
6Oct 1, 2026 22:034,03321,915,94312,906,000020,480
7Oct 1, 2026 22:034,03521,843,60912,914,000020,480
8Oct 1, 2026 22:034,03621,962,05112,916,000020,480
9Oct 1, 2026 22:034,03721,856,90012,920,000020,480