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:45Karthik ReddyKarthik ReddyScore: 3,941Success
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:463,9256,022,231,62912,562,000020,480
2Oct 8, 2026 20:463,9256,021,751,27612,562,000020,480
3Oct 8, 2026 20:463,9276,023,320,75412,569,000020,480
4Oct 8, 2026 20:463,9366,021,829,57512,597,000020,480
5Oct 8, 2026 20:463,9416,021,768,21212,614,000020,480
6Oct 8, 2026 20:463,9466,021,830,18812,628,000020,480
7Oct 8, 2026 20:463,9506,021,840,39012,642,000020,480
8Oct 8, 2026 20:463,9526,021,840,67812,649,000020,480
9Oct 8, 2026 20:463,9556,021,874,15512,656,000020,480