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 2, 2026 00:06Karthik ReddyKarthik ReddyScore: 3,939Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 2, 2026 00:073,93022,057,05912,578,000020,480
2Oct 2, 2026 00:073,93121,585,02012,580,000020,480
3Oct 2, 2026 00:073,93421,634,33112,590,000020,480
4Oct 2, 2026 00:073,93721,641,83812,601,000020,480
5Oct 2, 2026 00:073,93921,554,37512,607,000020,480
6Oct 2, 2026 00:073,94121,527,12812,612,000020,480
7Oct 2, 2026 00:073,94221,556,49612,616,000020,480
8Oct 2, 2026 00:073,94321,906,31212,618,000020,480
9Oct 2, 2026 00:073,94721,591,47212,633,000020,480