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:49Karthik 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:503,9256,021,831,07512,563,000020,480
2Oct 8, 2026 20:503,9296,022,177,50912,574,000020,480
3Oct 8, 2026 20:503,9406,021,841,21012,610,000020,480
4Oct 8, 2026 20:503,9416,021,601,82512,613,000020,480
5Oct 8, 2026 20:503,9436,021,802,86012,618,000020,480
6Oct 8, 2026 20:503,9466,021,706,94612,630,000020,480
7Oct 8, 2026 20:503,9536,022,174,67012,652,000020,480
8Oct 8, 2026 20:503,9536,021,768,20512,650,000020,480
9Oct 8, 2026 20:503,9556,021,761,85412,656,000020,480